ORA-13768: Snapshot ID Must Be Between While Runing Sqltrpt.sql (Doc ID 2210532.1)

Last updated on DECEMBER 13, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Getting below error while runing @?/rdbms/admin/sqltrpt.sql.

----------------------------------------------------------------------------
Specify the Sql id
~~~~~~~~~~~~~~~~~~
Enter value for sqlid: 7w0ju7173cp4a

Sql Id specified: 7w0ju7173cp4a

Tune the sql
~~~~~~~~~~~~
DECLARE
*
ERROR at line 1:
ORA-13768: Snapshot ID must be between 501 and 3325.
ORA-06512: at line 36


ERROR:
ORA-13608: The specified name NULL is invalid.
ORA-06512: at "SYS.PRVT_ADVISOR", line 6074
ORA-06512: at "SYS.DBMS_SQLTUNE", line 1042
ORA-06512: at line 1
----------------------------------------------------------------



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms