Set the default temporary tablespace in Oracle9i

Database administration tip #5 from "30 tips in 30 minutes," brought to you by the IOUG.


The following is database administration tip #5 from "30 tips in 30 minutes," brought to you by the IOUG. Return

to the main page for more tips on this topic.


Oops, I did it again. I forgot to specify the temporary tablespace for a user on an Oracle8i database. Therefore, when the user has to sort some things out, the sorts occur in the SYSTEM tablespace. Yikes. With the introduction of default temporary tablespace in Oracle9i, the SYSTEM tablespace is no longer used as the default storage location for temporary data. You can specify the default temporary tablespace for users when a temporary tablespace is not specified. Either specify the default temporary tablespace at database creation time or use the alter tablespace command.

ALTER TABLESPACE DEFAULT TEMPORARY TABLESPACE temp;


Get more tips in minutes! Return to the main page.

About the author: Kenny Smith has been working with Oracle technology on HP servers for over a decade. He specializes in Oracle database architecture, database administration and development. He has presented at numerous Oracle conferences on two continents. He has published many articles describing Oracle solutions and has co-authored "Oracle backup and recovery 101" from Oracle Press.

IOUG: Become a member of the IOUG to access the paper referenced here and a repository of technical content created for Oracle users by Oracle users.

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close