PL/sqldev工具使用system用户连接到oracle,打开命令窗口执行以下SQL,用户名请根据实际情况进行更改:

begin

  dbms_stats.gather_schema_stats(

     ownname          => 'testuser',

      estimate_percent => dbms_stats.auto_sample_size,

      method_opt       => 'for all columns size auto',

      degree           => 7

   );

end;

/

相关文章:

  • 2022-03-06
  • 2022-12-23
  • 2022-02-26
  • 2022-01-21
  • 2022-01-12
  • 2022-12-23
  • 2021-10-18
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-05-28
  • 2021-08-19
相关资源
相似解决方案