Elimination of Licensing Costs: Modernizing India’s Leading Trading Platform on AWS RDS MySQL

Overview

To keep pace with the massive growth in the Indian retail investing landscape, a leading trading platform wanted to modernize its data ecosystem. By migrating from MS SQL to open-source MySQL on AWS RDS, the engineering team aimed to eliminate expensive licensing costs and scale dynamically. Partnering with Mydbops, they re-architected and optimized their schema, indexes, and queries to ensure the new open-source environment delivered excellent performance, high throughput, and lower infrastructure overhead.
$350,000+
ARR Cost Savings
 Achieved by eliminating proprietary database licenses.
100%
License Fee Reduction
Transitioned fully to open-source MySQL 8.0.
50%
Slashed Host Footprint
DB efficiency improvements reduced cloud hardware demands.
2X
Increase in Capacity
Optimized db response times, doubling the platform's ability.
RDS MySQL
Consulting Services

About

The client is one of India’s leading retail trading and investment platforms. Supporting millions of active retail investors, handling tens of millions of daily transactions, and managing massive volumes of sensitive financial operations. Historically, the platform relied on the Microsoft SQL Server (MS SQL) technology stack to run its daily transactional workloads, analytical reporting, and critical background tasks. To keep operating costs low and build a highly modern, cloud-native infrastructure, the engineering team decided to shift away from proprietary tech stacks to open-source database solutions.
★★★★★
Deployment Type
Database Stack
Outcome
Cloud-Based Deployment
Migration from MS SQL Server to RDS MySQL using AWS DMS
100% savings on proprietary software licensing
Deployment Type
Cloud-Based Deployment
Database Stack
Migration from MS SQL Server to RDS MySQL using AWS DMS
Outcome
100% savings on proprietary software licensing

Business Challenges

Overview
As retail trading volumes spiked, the client's legacy database setup posed financial and operational challenges. While capable of managing the load, its proprietary licensing structure meant that scaling the platform to support more investors directly translated to skyrocketing software costs. Furthermore, simply moving data to an open-source database wasn't enough. Because open-source databases process information differently than proprietary ones, a direct migration without business-focused optimization could lead to system lag—a major risk that could delay trade executions and damage user confidence.
  • Skyrocketing Scaling Costs: Proprietary licensing penalized business growth. Every time the platform added database resources to support new users, software licensing fees surged.
  • Risk of Transaction Delays: Any delay in database response times directly impacts the user experience. A failure to optimize database performance threatened the reliability of daily trading workflows.
  • Inefficient Cloud Spending: To compensate for unoptimized database logic, the platform had to pay for oversized cloud servers, unnecessarily inflating monthly operational budgets.
Goals
The key objectives the client was aiming to achieve:

Transition safelyto an open-source MySQL database environment without interrupting active trading.

Eliminate high licensing costscompletely to improve the company's operating margin.

Maintain rapid trade execution speedsso the user experience remains fast and reliable.

Minimize cloud resource consumptionto avoid paying for oversized, expensive database servers.

Expand user capacityto support higher numbers of concurrent traders during high-volatility market days.

Risks if Not Addressed
If left unresolved, these challenges posed serious risks

Risks & Impact if Not Addressed

Performance Issues

Without resolving replication lag and fragmented tables, query performance would continue to degrade, leading to a frustrating customer experience during peak hours.

Business Continuity Risks

Non-standardized backup policies increased the risk of data loss and prolonged outages, potentially disrupting thousands of orders in real-time.

Revenue Loss

Poor performance and downtime during peak times directly impacted Swiggy’s ability to fulfill customer demand, resulting in lost revenue and dissatisfied users.

Escalating Costs

Continued reliance on oversized, under-optimized infrastructure would lead to unnecessary monthly spend, straining the company’s profitability.

Developer Inefficiency

Lack of a stable and scalable database foundation meant developers spent significant time firefighting performance issues instead of innovating on features.

Performance Issues: Replication lag and fragmentation slow order searches and transactions.
Business Continuity Risks: Non-standardized backups mean longer recovery times and higher data-loss risk.
Revenue Loss: Slow page loads or timeouts during peak hours lead to failed checkouts.
Escalating Costs: Over provisioned, under-optimized servers strain profitability
Developer Inefficiency: Engineers spend more time firefighting than building new features
Goals
The key objectives the client was aiming to achieve:
→   
[Goal 1]
→   
[Goal 1]
→   
[Goal 1]

Solution Provided by Mydbops

Rather than focusing on raw database mechanics, Mydbops executed a business-aligned database optimization process designed to lower costs and maximize speed:

Data Structure Optimization:

We reorganized the database layout to remove redundant data storage. This simplified the database structure, ensured consistent data mapping, and decreased overall storage costs.

Trade Execution Acceleration:

We restructured the paths the system uses to search for and retrieve information. This change targeted the most critical user workflows, ensuring that stock prices, portfolio data, and trades load almost instantly.

Query Plan Refactoring:

We adjusted how database queries run, ensuring they take the most efficient route possible. This avoided unnecessary server strain and ensured the system handles peak trading volumes smoothly.

Database Resource Tuning:

We aligned database parameters with the platform's specific daily trading cycle, tuning the software settings to perform highly on much smaller, more cost-effective cloud servers.

Performance & Resource Optimization Metrics

Database Hosting Footprint (Compute Requirements) -50% Redundant Overhead Saved
Concurrent Query & Transaction Capacity 2X Speed & Throughput

Modernized Migration Pipeline

Microsoft SQL Server Logo
Proprietary Source

Legacy database stack with enterprise license overhead.

AWS Database Migration Service Logo
Data Migration

Secure schema and data transfer tool.

Amazon RDS Logo
AWS RDS MySQL

Optimized schema and execution paths for performance.

Results and Impact

Key Outcomes

Complete Elimination of Licensing Costs:

Shifting entirely away from proprietary software saved the client massive, recurring enterprise licensing fees, freeing up capital for product development.

Reduced Cloud Hosting Costs:

By optimizing the database logic, the workload runs with far higher efficiency. This enabled the platform to downsize its active cloud servers, leading to substantial monthly infrastructure savings.

Improved User Experience:

Retail investors now enjoy a snappier, more responsive application, as query response times were improved, leading to fast trade executions.

Uncapped Business Scalability:

The database gained the resilience to handle twice as many concurrent queries and transactions, allowing the platform to scale easily during heavy trading days.

Better Resource Utilization:

The platform now gets more performance out of fewer server resources, preventing wasted hardware spend and bringing predictability back to the cloud budget.

Proprietary Database Setup:

Running the platform's daily trading and analytical reporting databases under a proprietary enterprise license with high-availability support required a substantial financial commitment, costing approximately $381,235 annually.

Optimized Open-Source Setup:

By tuning database performance, the team safely downsized the active database footprint. Running open-source MySQL on AWS RDS for both the primary trading database and reporting replicas brought the annual database infrastructure cost down to approximately $31,886.

Annual Database Expenditure Graph

Proprietary Database Setup (MS SQL) $381,235 / yr
Optimized Open-Source Setup (RDS MySQL) $31,886 / yr
This modernization results in a 91% drop in annual recurring database expenditures, redirecting over $349,000 annually toward system growth and innovation.

Net Annual Value:

Slashed the platform's annual database run-rate byover $349,000 (roughly a 91% reduction).

Operating Environments Matrix

Legacy Setup
  • Licensing Structure Proprietary & Core-Based
  • Hardware Allocations Oversized Database Instances
  • Scale Limitations Overhead impacts trade times
  • Operating Budgets Variable, scales up with user load
Target Solution
Optimized Open-Source Setup
  • Licensing Structure Zero License Overhead (Open Source)
  • Hardware Allocations Minimized cloud sizing (-50%)
  • Scale Limitations Double the transaction throughput (2X)
  • Operating Budgets Highly predictable monthly hosting costs

A Strategic Shift to Financial and Operational Freedom

Imagine a busy digital trading floor on a highly volatile morning. Millions of retail investors are checking their portfolios and executing trades. Behind this seamless user experience is a database engine processing millions of operations every second. For years, the proprietary database engine that powered this client served them well, but it came with a heavy tax: licensing fees that penalized growth. Every time the platform scaled to welcome more users, the database software bill surged.The client's team saw a better path forward in open-source cloud databases. However, they knew that a direct migration could lead to slower database responses—a risk no financial platform can afford.

By partnering with Mydbops, they turned this database transition into a major strategic success. Instead of just migrating files, Mydbops rebuilt the database logic for efficiency, ensuring every data flow was optimized for fast-paced trading. The result was a dramatic shift in business efficiency. The client cut out licensing costs entirely, slashed their hosting footprint, and still delivered the rapid trade execution their users expect.

Ready to Scale Without the Licensing Burden?

At Mydbops, we help businesses build reliable, high-performance database environments using open-source technologies. Whether you are running on legacy systems or trying to optimize your cloud costs, our team has the practical experience to make your transition seamless. Let's discuss how we can make your databases faster, more scalable, and highly cost-efficient.

Talk to a Mydbops Expert today

Need Expert Database Solutions?

Talk to a Database Expert Today!

Database solutions are provided by mydbops expert team
Mydbops set up High Availability (HA) Solutions with InnoDB or Percona Clusters, ensuring continuous uptime and fault tolerance.
Thank You!
We’ve got your request, our expert team will be contacting you shortly.
Oops! Something went wrong while submitting the form.
Download Case Study