Oracle特殊查询-查询表历史操作记录

sys_operation_log:所查询的表名

select round(sum(bytes)/1024/1024/1024,4) GB
from user_segments
where segment_type = 'TABLE' and lower(segment_name) = 'sys_operation_log'

查询表的历史操作记录

select * from v$sql where sql_text like '%table_name%'

查询某个时间节点的数据

select * from table_name as of timestamp to_timestamp('2023-06-27 10:00:00','yyyy-mm-dd hh24:mi:ss')

你可能感兴趣的:(elasticsearch,大数据,搜索引擎,后端)