1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/use-database-partitions-to-delete-large-chunks-of-data-efficiently.md
Samuel Štancl bcc973cc4b Week 26/2022
2022-07-02 17:24:23 +02:00

627 B

title tweet_id thread_slug author_username images created_at slug
Use database partitions to delete large chunks of data efficiently 1542863735810797569 weekly-thread-2022-26 tobias_petry
https://pbs.twimg.com/media/FWacS3jWAAAHLyu.jpg
2022-07-01T13:32:34+00:00 use-database-partitions-to-delete-large-chunks-of-data-efficiently

Database Tip

Some applications want to periodically delete old historic data (or have to because of regulations). Deleting billions of rows is a very slow task that could take several minutes and may take your application down. Use partitions for efficient deleting!