PROBLEM:

While creating an user as below got error as ORA-30034:Undo tablespace cannot be specified as temporary tablespace

SQL> create user DBATEST1 identified by DBATEST default tablespace USERS TEMPORARY TABLESPACE UNDOTBS1 ;
create user DBATEST1 identified by DBATEST default tablespace USERS TEMPORARY TABLESPACE UNDOTBS1
*
ERROR at line 1:
ORA-30034: Undo tablespace cannot be specified as temporary tablespace

SOLUTION:

This is because, we cannot set an undo tablespace as temporary tablespace for the user.

In below can see UNDOTBS1 is an undo tablespace.
SQL> select distinct tablespace_name from DBA_UNDO_EXTENTS ;

TABLESPACE_NAME
--------
UNDOTBS1

SQL> show parameter undo_tablespace

NAME TYPE VALUE
------------ ---- ---------
undo_tablespace string UNDOTBS1

So always assign an temp tablespace as temporary tablespace for an user.

SQL> create user DBATEST1 identified by DBATEST default tablespace USERS TEMPORARY TABLESPACE TEMP ;

User created

 

 

 

TROUBLESHOOTING


Related Topics

ORA-32774: more than one file was specified for bigfile tablespace
TNS-12542: TNS:address already in use
ORA-32771: cannot add file to bigfile tablespace
ORA-01536: space quota exceeded for tablespace
TNS-01106: Listener using listener name has already been started
ORA-20101: TABLESPACE is not a ASSM (Automatic Segment Space Management) tablespace
ORA-02304: invalid object identifier literal while import with CREATE TYPE OID
ORA-16855: transport lag has exceeded specified threshold
ORA-30034: Undo tablespace cannot be specified as temporary tablespace
ORA-32773: operation not supported for smallfile tablespace

You May Also Like

resumable_timeout parameter in oracle database
Add database as target oracle 12c cloud control
How to add a tempfile in primary database in dataguard
FLASHBACK parameter in DATAPUMP(EXPDP)
Shell script to delete old archives using RMAN
how to send mail using utl_mail in oracle 11g
ERROR: No checkpoint table specified for ADD REPLICAT
ORA-32773: operation not supported for smallfile tablespace
How to move AUD$ table to another tablespace using DBMS_AUDIT_MGMT
Steps for changing public hostname for a standalone grid infrastructure

From This Website

Get sid from ospid
How to change flash recovery area location
ORA-16855: transport lag has exceeded specified threshold
How to move spfile from file system to ASM in RAC
Shell script to report failed login attempt in oracle
how to use DBMS_PRIVILEGE_CAPTURE to capture privs in oracle 12c
How to get tablespace quota details of an user in oracle
Ansible script to run script on remote server and fetch the output
Schema replication using oracle goldengate
Shell script to monitor lag in standby datbase using dgmgrl