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-partitions-for-deleting-mass-amounts-of-data.md
2022-01-07 18:32:23 +01:00

596 B
Raw Blame History

title tweet_id thread_slug author_username images created_at slug
Use partitions for deleting mass amounts of data 1479467943276670979 weekly-thread-2021-01 tobias_petry
https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg
2022-01-07T15:00:19+00:00 use-partitions-for-deleting-mass-amounts-of-data

Database Tip

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