ORA-00830: cannot set statistics_level to BASIC with auto-tune SGA enabled

ORA-00830: cannot set statistics_level to BASIC with auto-tune SGA enabled

Error

SQL> alter system set statistics_level=basic scope=spfile;
alter system set statistics_level=basic scope=spfile
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-00830: cannot set statistics_level to BASIC with auto-tune SGA enabled

Cause
Due to SGA_TARGET value is not having zero, it tuned for automatic tuning with Memory target parameter or it is any PDB database.

Solution
Fixed the issue with doing SGA_target parameter to Zero value.


SQL> alter system set sga_target=0 scope=both;
System altered.

SQL> alter system set statistics_level=basic;
System altered.

This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply