India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Microsoft AzureInsurance web aggregatorBFSI & Fintech

Insurance aggregator cuts quote-engine database time 64% before motor renewal season

IRDAI-licensed web aggregator comparing motor and health plans from 24 insurers, about 1.8 lakh quotes a day · Azure Central India (Pune) · 5 weeks

Amazon Web Services
01

As-is situation

The quote engine stored vehicle, insurer rate tables and quote history in an 80-vCore Azure SQL Database business critical tier. During the March renewal peak, CPU stayed at 92-98% for hours and quote responses rose from 1.2 to 7 seconds, so users abandoned comparisons. The team had raised vCores twice in a year. Nobody on the team reviewed Query Store data. A deployment two months earlier had introduced a parameter-sensitive plan on the rate lookup that read 40 times more pages than before.

  • CPU at 92-98% during renewal peaks despite two vCore increases
  • Quote response time rising from 1.2 to 7 seconds at peak
  • A plan regression on the rate lookup undetected for two months
02

Approach, tools and architecture

NTSPL's DBA used Query Store to identify that four statements accounted for 71% of CPU. The regressed rate lookup plan was forced to its previous good plan immediately, while developers rewrote the query with an explicit index hint and parameter sniffing fix. Two covering indexes were added after clone testing, and an archive job moved quote history older than 13 months to a separate database. Automatic tuning was enabled for index recommendations in report-only mode, reviewed weekly by the DBA.

Query Store top CPU → plan forcing → clone test of indexes and rewrite → release → weekly DBA review → quote history archive
Azure SQL Database business criticalQuery StoreAutomatic tuning recommendationsAzure MonitorElastic jobs for archiving
03

Implementation approach

Week 1 · DiagnosisFound four statements driving 71% of CPU and forced the known-good plan.
Weeks 2-3 · TuningTested covering indexes and the rewrite on a clone and released them.
Weeks 4-5 · Archive and right-sizeArchived old quote history and reduced the database to 48 vCores.
04

Measured results

Peak-hour database CPU
92-98%→Around 55% on fewer vCores
Peak quote response time
7 s→1.1 s
Provisioned vCores
80→48

Operational improvements

  • Plan regressions are caught in the weekly review within days of a release
  • The renewal season ran without emergency scaling for the first time
05

Cost considerations

Reducing from 80 to 48 vCores on the business critical tier cut the largest single line in the Azure bill. The archive database runs on a general purpose tier with lower-cost storage, and is queried only for claims and audit lookups.

06

Return on investment

ROI indicator

The vCore reduction saved roughly ₹5-6 lakh a month, several times the DBA service fee. Faster quotes during renewal season also raised completed comparisons, which is the metric insurers use when paying the aggregator. Payback came in month one.

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.