All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

Dbms_stats giving OA-06512 error

William Wagman



I have been running dbms_stats.gather_schema_stats against
test/development database for some time and recently added

estimate_percent => dbms_stats.auto_sample_size

Since which time ORA-06152 errora are generated...

BEGIN dbms_stats.gather_schema_stats( ownname => 'EDRS',
estimate_percent => dbms_stats.auto_sample_size, method_opt => 'for all
columns', cascade => true, options => 'GATHER', degree => 15); END;

ERROR at line 1:
ORA-00979: not a GROUP BY expression
ORA-06512: at "SYS.DBMS_STATS", line 10502
ORA-06512: at "SYS.DBMS_STATS", line 10996
ORA-06512: at "SYS.DBMS_STATS", line 11183
ORA-06512: at "SYS.DBMS_STATS", line 11237
ORA-06512: at "SYS.DBMS_STATS", line 11214
ORA-06512: at line 1

I suspect it has to do with dbms_stats not knowing how to deal with the
stats which have already been collected but that is just a guess. I am
not familiar enough with views such as DBA_TAB_MODIFICATIONS to know if
information stored there is causing the problems or if deleting and
regenerating statistics (I haven't tried that yet) will solve the
problem. I would appreciate any insight into the problem.


Bill Wagman
Univ. of California at Davis
IET Campus Data Center
(530) 754-6208