Think the solution is: MOVE tables,
Problem: MOVE table takes time every week, is there any way, for example, change the database parameters such as, completely can't get rid of high water level data,
CodePudding user response:
This kind of situation can only backup regularly, to build table, then import to solve itCodePudding user response:
Analysis whether can insert into the history table, then truncate table,CodePudding user response:
Don't know the specific circumstances of the building Lord, perhaps a partitioned table can solve your problem,If they are inserting data according to time, writing of data every day is also a time (the time), could be designed as follows:
1, when writing new data every day, to create a new partition, partition name can use date to distinguish,
2, delete data, two months ago, the what day directly to the partition deleted, fast,
CodePudding user response:
The move is the most convenient methodIn fact, I doubt HWM have much impact on your application can?
CodePudding user response:
The