Depreciating data

In the era of scientific computing, where data analysis is so important, deleting data is something that sounds absurd. Yes, it's absurd. Similarly, a database with 1 million data rows generates increasingly slow queries.

The question is: if we cannot delete the data from the database, what should we do so that the queries are not compromised? The answer to that question is depreciating data.

The depreciation of data consists of dividing the active data and inactive data, and moving inactive data to storage that has no relevance to the real-time application layer.

Imagine the situation of an application that sells tickets for events. Every day, events are created and carried out, and purchases of tickets for events are completed. ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.