摘要:
1、统计信息分类Oracle数据库优化统计描述的详细信息的数据库及其对象。 优化器成本模型依赖于收集有关查询中的对象的统计和数据库和主机在运行查询。 统计信息是优化器选择一个SQL语句的最佳执行计划的关键。 Table statistics包括: Number of rows(行数) Number 阅读全文
posted @ 2021-02-05 13:32
踏雪无痕2017
阅读(225)
评论(0)
推荐(0)
摘要:
--backup full database run{ allocate channel d1 type disk; allocate channel d2 type disk; allocate channel d3 type disk; allocate channel d4 type disk 阅读全文
posted @ 2021-02-05 10:09
踏雪无痕2017
阅读(220)
评论(0)
推荐(0)
摘要:
--查询表空间使用率 select total.tablespace_name, round(total.size_GB,2) as Total_GB, round(total.size_GB-free.size_GB,2) as Used_GB, round((1-free.size_GB/tot 阅读全文
posted @ 2021-02-05 09:11
踏雪无痕2017
阅读(273)
评论(0)
推荐(0)
摘要:
日志挖掘通过分析在线日志或者归档日志,可以恢复表误删除的数据或者对表数据变更进行审计,数据库需要为归档模式并且启用了附加日志。 --add supplemental log alter database add supplemental log data; alter database add su 阅读全文
posted @ 2021-02-05 08:40
踏雪无痕2017
阅读(302)
评论(0)
推荐(0)

浙公网安备 33010602011771号