India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Microsoft AzureChit fundsOther Industries

Chit fund company moves auction and payout logic from Oracle 11g to Azure PostgreSQL

Registered chit fund company with 210 branches in Andhra Pradesh and Telangana, 6.5 lakh subscribers · Azure Central India (Pune), read replica in South India (Chennai) · 12 weeks

Amazon Web Services
01

As-is situation

About 38,000 chit groups ran on Oracle 11g Standard Edition with a Java desktop front end used in every branch. Auctions, dividend distribution and prized-subscriber payouts were computed by 420 PL/SQL procedures, documented only in a retired developer's notes. Oracle 11g had long been out of support, and the Windows Server 2012 R2 hosts lost security updates in October 2026. On auction days, the 5th and 20th of each month, branch staff waited up to 40 seconds for subscriber ledgers, and the statutory auditor had flagged the unsupported stack twice.

  • Oracle 11g on Windows Server 2012 R2 hosts with no security updates
  • Subscriber ledger queries of up to 40 seconds on auction days
  • Dividend and payout rules in 420 PL/SQL procedures with no tests
02

Approach, tools and architecture

NTSPL converted schema and code to Azure Database for PostgreSQL flexible server using Ora2Pg, which rated the database medium complexity; 61 procedures needed manual work, mainly CONNECT BY hierarchies for group membership and DBMS_OUTPUT-based reports. Dividend and payout rules were rewritten in PL/pgSQL with tests built from 24 months of auction results. The Java front end switched to the PostgreSQL JDBC driver, with 140 embedded SQL statements rewritten. Data moved in a full load over a Sunday between auction dates. Zone-redundant HA protects the primary, and a South India read replica serves branch reports.

Oracle 11g SE → Ora2Pg assessment and conversion → Azure Database for PostgreSQL flexible server (Central India, zone-redundant HA) → read replica (South India) for branch reports
Azure Database for PostgreSQL flexible serverOra2PgBuilt-in PgBouncerAzure MonitorMicrosoft Entra ID
03

Implementation approach

Weeks 1-2 · Ora2Pg assessmentSized 61 manual procedures and the front end's embedded SQL.
Weeks 3-9 · Code conversion and payout testsRebuilt payout logic with tests from 24 months of auctions.
Weeks 8-11 · Front end and tuningSwitched drivers, rewrote 140 statements and tuned ledger queries.
Week 12 · Sunday cutoverFull load, checksum validation and branch go-live before the next auction day.
04

Measured results

Subscriber ledger query on auction days
Up to 40 s→Under 1.5 s
Dividend computations matching history
Untested→100% of 24 months of auctions
Unsupported database and OS components
Oracle 11g on Windows Server 2012 R2→None
Annual database platform cost
INR 38 lakh (hosts, AMC, third-party Oracle support)→INR 21 lakh

Operational improvements

  • Payout rules now have automated tests that run before every change
  • Branch reports run on the South India replica, keeping auction-day load off the primary
05

Cost considerations

Services cost INR 42 lakh over 12 weeks. Run cost of about INR 1.75 lakh a month covers the zone-redundant flexible server, the cross-region read replica in South India and automated backups retained for the maximum 35 days.

06

Return on investment

ROI indicator

Annual savings of INR 17 lakh repay the services cost in about two and a half years. The deciding benefit was removing unsupported software from the system that computes subscriber payouts, closing the auditor's repeat finding.

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.