Improve Query on Dictionary and Dynamic Views
At times, I found that the query to check tablespace usage was running slowly. In the query, we retrieve some data from data dictionary
oracle configurationintermediate
by OracleDba
13 views
At times, I found that the query to check tablespace usage was running slowly. In the query, we retrieve some data from data dictionary
12345678910
In this step, we gather the statistics of base tables of views, which belong to SYS.
SQL> show user
USER is "SYS"
SQL> exec dbms_stats.gather_fixed_objects_stats;
PL/SQL procedure successfully completed.
SQL> exec dbms_stats.gather_dictionary_stats;
PL/SQL procedure successfully completed.Please to add comments
No comments yet. Be the first to comment!