Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recreating temp tablespace

Status
Not open for further replies.

beechill4

Technical User
May 10, 2005
207
IE
Hi,

metalink has advised to recreate a temp tablespace to get rid of some i/o errors.

what are the implications of doing this?
 
No particular implications if you recreate TEMP while no one is using the database. I recommend doing this during scheduled maintenance, after you do the following:
Code:
shutdown immediate
<do a full, cold backup>
startup restrict <-- keeps others out while doing maintenance
<do your TEMP ts drop and recreate>
alter database disable restricted session; <-- reopens to others
To avoid having to reassign users to the new temp tablespace, be sure to use the same ts name for the temp tablespace as the first temp tablespace.

Let us know how things go.


[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
dave,

took a slightly different approach:

1. created a new temp tablespace
2. changed this to be the default temp tablsepace
3. dropped the original tablespace
 
Sure...that's fine. The only downside is that you must reassign users' temp tablespace to the new name:
Code:
ALTER USER <username> TEMPORARY TABLESPACE <new temp tablespace name>;

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top