December 2011
Intermediate to advanced
269 pages
7h 26m
English
If you want indexing advice for one specific SQL statement, use the SQL Access Advisor's QUICK_TUNE procedure of the DBMS_ADVISOR package. Before running the QUICK_TUNE procedure, ensure the following preparatory tasks have been performed:
DBMS_STATS package to generate statistics (if required).QUICK_TUNE procedure must also have SELECT privileges on the tables referenced in the SQL query.ADVISOR role must be granted to the user executing the DBMS_ADVISOR package. For example, the following statement grants the ADVISOR role to the MV_MAINT user:
SQL> grant advisor to mv_maint;
After the initial ...
Read now
Unlock full access