India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSFinancial services (NBFC, retail and MSME lending)BFSI & Fintech

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

Amazon Web Services
01

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
02

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.

Branch and DSA users → Java LOS on EC2 → RDS Proxy → Aurora PostgreSQL writer + 2 readers (ap-south-1) → Aurora Global Database secondary (ap-south-2); migration path Oracle RAC → AWS DMS CDC → Aurora
Amazon Aurora PostgreSQL-Compatible EditionAurora Global DatabaseAWS DMSDMS Schema ConversionAmazon RDS ProxyAmazon ElastiCacheAWS Secrets Manager
03

Implementation approach

Weeks 1-4 · Assessment and conversionRan schema conversion, catalogued 300 objects for manual work and rewrote them with unit tests against production-like data.
Weeks 5-9 · Target build and application changesBuilt the Aurora cluster and global secondary, updated SQL dialect in the Java layer and tuned top queries with Performance Insights.
Weeks 10-13 · DMS replication and parallel testingRan full load and CDC with validation and executed two month-end disbursal simulations on Aurora.
Week 14 · Cutover and rollback windowCut over in a 45-minute Sunday freeze and kept reverse CDC to Oracle for 14 days before decommissioning.
04

Measured results

DR failover time (measured drill)
3 h 40 min→~4 min (Global Database managed failover)
Month-end loan application p95 response
5.6 s→1.3 s
Annual database licence and support cost
~INR 1.6 crore→Nil (open-source engine)
Annual database platform run cost
~INR 2.3 crore incl. hardware AMC→~INR 85 lakh

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
05

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.

06

Return on investment

ROI indicator

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.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.