Home > database > How can you see, the situation of data within a specified time period
How can you see, the situation of data within a specified time period
Time:10-25
Project is more than I do systems integration projects, I'm just one of them, in SIRS system in
Situations like this, our system is fixed at 12 o 'clock in the morning? Conducted at 7 o 'clock this morning, there will be a mass of data to update the database table, delete, insert, I responsible for the system, the ORCALE table is about more than two thousand, in the amount of data is huge!
One day, our system is a problem with the input data, the cause to check the day into data, So the database administrator privileges, whether can query the 12 o 'clock in the morning? At 7 o 'clock in the morning this time period, what are the table on the "gain" "delete" operation "to"?? I don't want to be in more than two thousand tables, each with a SELECT statement to query the update time (already deleted data also can not use the SELECT query)
CodePudding user response:
1, the trigger mode, if it is 2000 form a large amount of data is written to, may affect your database performance, 2, the audit, it is recommended to use this, 3, analysis the log, a bit more complicated on the operation,