> ## Content Index
> Fetch the complete content index at: https://huizhou92.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Regularly cleaning data will cause another problem.
- URL: https://huizhou92.com/regularly-cleaning-data-will-cause-another-problem/
- Published: 2024-05-27T02:52:44.000Z
- Updated: 2024-05-27T02:52:44.000Z
- Description: If there are services in our system that depend on this data, such as a reporting system, if we clean the data and assume ID=1 or other…
- Author: huizhou92
- Tags: #Migrated-1788833207488, #Import 2026-09-08 02:07

Regularly cleaning data will cause another problem.

If there are services in our system that depend on this data, such as a reporting system, if we clean the data and assume ID=1 or other primary key indexes, other systems may not know about it.

At this time, if we create a new data with ID=1 or other primary key indexes again, then other systems will encounter problems.

In any case, setting delete\_at has its benefits, especially now when hardware is not particularly valuable,

But there are some details that we still need to carefully design.

[文章索引](/article-index/)