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:37:55 +01:00

13 lines
597 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 'Use partitions for deleting mass amounts of data'
tweet_id: '1479467943276670979'
thread_slug: weekly-thread-2022-01
author_username: tobias_petry
images:
- 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg'
created_at: 2022-01-07T15:00:19+00:00
slug: 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!