We have a serverless architecture in Azure, where one of our services stores billing records in Azure Cosmos DB. The system is read-heavy, but records older than three months are rarely accessed.
Over the past few years, the database size has significantly grown, leading to increased costs. We need an efficient way to reduce costs while maintaining data availability.
-
Record Size: Each billing record can be as large as 300 KB.
-
Total Records: The database currently holds over 2 million records.