Ao tentar executar isso:
DECLARE
task_name VARCHAR2(30);
BEGIN
task_name := 'My Task';
DBMS_ADVISOR.QUICK_TUNE(DBMS_ADVISOR.SQLACCESS_ADVISOR, task_name, 'select * from tt_grid_det');
END;
/
Deu erro: Error report - ORA-13600: error encountered in Advisor ORA-13635: The value provided for parameter _PA_LIST_BUCKET_MIN_FREQ cannot be converted to a number. ORA-06512: at "SYS.PRVT_ACCESS_ADVISOR", line 1809 ORA-06512: at "SYS.WRI$_ADV_SQLACCESS_ADV", line 180 ORA-06512: at "SYS.PRVT_ADVISOR", line 3678 ORA-06512: at "SYS.DBMS_ADVISOR", line 711 ORA-06512: at line 6
- 00000 - "error encountered in Advisor\n%s"
*Cause: An error occurred in the Advisor. This message will be followed by a second message giving more details about the nature of the error. *Action: See the Advisor documentation for an explanation of the second error message.