在急需要出一个sql报告的时候,需要至少两个snapshot才能生成报告,而由于系统可能是定时1个小时或半个小时才生成1次,因此需要手动的生成一个snapshot来做报告。

使用以下代码在命令窗口中执行。

begin

  dbms_workload_repository.create_snapshot();

end;

/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-03-06
  • 2022-01-04
  • 2022-02-25
猜你喜欢
  • 2021-12-24
  • 2022-12-23
  • 2021-11-27
  • 2021-07-01
  • 2021-10-29
  • 2021-10-13
相关资源
相似解决方案