this post was submitted on 03 May 2025
19 points (95.2% liked)
Sysadmin
8992 readers
5 users here now
A community dedicated to the profession of IT Systems Administration
No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
[email protected]
[email protected]
[email protected]
[email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
These are the most common approaches I'm aware of.
The only other real alternative, without changing the underlying DB or architecture, is you could break up the database or archive data.
Many times you don't need old data and can ship it off to S3 or something similar. Additionally, you may have tables/data that are disconnected and could be broken off into two databases. Both of these tend to just push off the inevitable, but could buy time for a larger architectural change.