Home
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

Re: [Q] way to shrink temporary tablespace ??

Paul Drake

2006-01-19

Replies:
On 1/19/06, Joseph Amalraj <joseph@amalrajinc.com> wrote:
I got the following error:
 
SQL> alter user scott quota 1M on temp;
alter user scott quota 1M on temp
*
ERROR at line 1:
ORA-30041: Cannot grant quota on the tablespace
 
 
See Metalink Doc ID: 331657.1
 
Regards
 
Joseph Amalraj

Joseph,

Fascinating. What OS/version/patch is that environment?
I'm not fabricating this - its from a db on a server here at work - 10G R1 Standard Edition, 10.1.0.4 patch 9 (CPUJan2006) on w2k3 server standard edition.

Ah - from the note that you reference:

"Infact this was a bug in earlier releases of  Oracle  --  Oracle9.2 &  10gR1, which allowed the above commands to work. After this is fixed in 10.2, we correctly get the expected error message."

So your environment is 10.2.
No wonder why I haven't seen this.
I guess I would have discovered it when upgrading a 10.1 database to 10.2.
Thanks for the info - that was helpful.

Paul


SYSTEM@mydb> alter user me quota 1024M on temp;

User altered.

SYSTEM@mydb> select * From dba_tablespaces where tablespace_name='TEMP';

TABLESPACE_NAME      BLOCK_SIZE INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS
-------------------- ---------- -------------- ----------- -----------
MAX_EXTENTS PCT_INCREASE MIN_EXTLEN STATUS    CONTENTS  LOGGING   FOR EXTENT_MAN
----------- ------------ ---------- --------- --------- --------- --- ----------
ALLOCATIO PLU SEGMEN DEF_TAB_ RETENTION   BIG
--------- --- ------ -------- ----------- ---
TEMP                       8192        1048576     1048576           1
                       0    1048576 ONLINE    TEMPORARY NOLOGGING NO  LOCAL
UNIFORM   NO  MANUAL DISABLED NOT APPLY   NO

SYSTEM@mydb> select version from v$instance;

VERSION
-----------------
10.1.0.4.0

SYSTEM@mydb> select platform_name from v$database;

PLATFORM_NAME
------------------------------------------
Microsoft Windows IA (32-bit)

me@mydb> select * From user_ts_quotas;

TABLESPACE_NAME           BYTES  MAX_BYTES     BLOCKS MAX_BLOCKS
-------------------- ---------- ---------- ---------- ----------
TEMP                          0 1073741824          0     131072
TS1                           0  268435456          0      32768
TS2                    21168128  268435456       2584      32768




 

Paul Drake < bdbafh@gmail.com> wrote:
On 1/19/06, Joseph Amalraj < joseph@amalrajinc.com> wrote:
>
>
> Probably 2 temporary tablespaces can be created. Users writing poor queries could be assigned to one of them, and critical applications use the other temporary tablespace.  
>    
> Unfortunately Oracle does not allow quotas on temporary tablespace.  
>    
> Regards  
>    
> Joseph Amalraj