Assume a relational database using MySQL.
For example, how do you manage databases like bulletin boards that users post more and more, but cannot erase?
Even if I put an index on it, I'm worried that if it keeps getting bloated, it might get harder somewhere.
As a countermeasure that comes to mind, posts-2016
is a way to divide the tables year by year, but is there any standard?
Both MySQL and PostgreSQL have a feature called partitioning that handles tables that are divided under the conditions specified.
Please estimate the amount of data before considering whether you really need it.
It may be different from the answer I am looking for, but I set up a separate server and operate it using SQL, Oracle, etc.There is also a limit to the server capacity, so I will consider deleting it somewhere.
© 2024 OneMinuteCode. All rights reserved.