India’s Leading Domain & Web Hosting Provider
NBFC moves loan-origination Oracle database to Aurora PostgreSQL and drops EE licences
Mid-size NBFC, about 2,200 employees, INR 9,000 crore AUM · Western and Central India · 14 weeks
As-is situation
The loan origination system ran on Oracle Database 19c Enterprise Edition on a two-node RAC with 4.2 TB of data, 1,380 PL/SQL packages and procedures, and a Java front end used by 900 branch and DSA staff. Credit decisioning called the database for bureau pulls, rules and document status. The Oracle support renewal had risen to about INR 1.6 crore a year, the RAC hardware was out of warranty, and a DR drill to the secondary site took 3 hours 40 minutes against an internal target of one hour.
- Oracle Enterprise Edition support cost of about INR 1.6 crore a year for features of which only partitioning and Data Guard were really used
- DR failover measured at 3 hours 40 minutes, failing the board-approved RTO
- Month-end disbursal peaks pushing CPU on the RAC to 90% and application timeouts
- RBI expectations on outsourcing and audit trails that any new platform had to meet
Selected AWS services and architecture
NTSPL ran DMS Schema Conversion against the schema: about 78% of objects converted automatically, and the rest, mostly autonomous transactions and DBMS_SCHEDULER jobs, were rewritten as PL/pgSQL with pg_cron. Target is Aurora PostgreSQL in ap-south-1 with one r7g.4xlarge writer, two readers in other Availability Zones and native PostgreSQL declarative partitioning replacing Oracle partitioning. RDS Proxy fronts the Java pools, and the bureau-rule lookups moved to ElastiCache. An Aurora Global Database secondary in ap-south-2 replaced Data Guard for DR. DMS full load and CDC ran for three weeks before cutover, with reverse replication back to Oracle held for 14 days.
Implementation approach
Measured results
Operational improvements
- DR drills now run quarterly in minutes instead of a weekend exercise once a year
- DBAs stopped manual RAC patching and spend that time on query tuning shown by Performance Insights
- Credentials rotate automatically through Secrets Manager, closing an audit point on shared passwords
Cost considerations
Licence removal drove most of the saving. The NBFC accepted 14 weeks of conversion work and Aurora Global Database replication cost in exchange. Three-year Reserved Instances were bought for the writer and one reader only, leaving the second reader On-Demand so it can be resized. Aurora Standard was retained because I/O was under 20% of database spend.
Return on investment
Indicatively, the NBFC saves INR 1.3-1.5 crore a year after Reserved Instance purchase, with payback on migration effort within about 10 months. Meeting the one-hour RTO with margin also closed an open internal audit observation that had been reported to the board's IT strategy committee.