Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> How to empty contents of temp tablespace

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: How to empty contents of temp tablespace
 Azaz  Posted: Apr 30, 2008 05:23:06 AM

 Total Post: 44
 Joined: Mar, 2008






 Can someone help me, on how to empty contents of temp tablespace

 Azaz
Posted: Apr 30, 2008 05:32:21 AM  

 Total Post: 44
 Joined: Mar, 2008






 
I want to flush the contents of temp tablespace in Oracle 9i.
Can someone tell or help me on this


 Murtuja
Posted: Apr 30, 2008 05:50:48 AM  

 Total Post: 814
 Joined: Jan, 2006






 
You don't have any control over Temporary Tablespace.You can just recreat Temporary Tablespace.

See this link.
http://www.idevelopment.info/data/Oracle/DBA_tips/Tablespaces/TBS_3.shtml

 GOPU
Posted: Apr 30, 2008 06:13:57 AM  

 Total Post: 242
 Joined: Apr, 2008






 
I dont think any command is there to flush the temporary tablespace.
but you can do one thing to flush the temp tablespace...
Create a new temporary tablespace may be of smal size (with the different
name ) in the database and alter all users to use that temporary tablespace.Then drop and recreate the earlier temporary tablesapace and again alter allthe users back to use temporary tablespace. It will flush all the data .




 Gitesh
Posted: Apr 30, 2008 07:49:55 AM  

 Total Post: 322
 Joined: May, 2005






 
Just shut down your database and restart it. Temporary segment always drop when database shutdown.There is another way to drop temporary segment from temporary tablespace but it is risky.

 Mohammed Taj
Posted: May 01, 2008 02:04:05 AM  

 Total Post: 694
 Joined: Jul, 2007






 
>>>Just shut down your database and restart it.
But why ?
Who care about temporary tablespace...is it not efficient to just recreate new TEMP tablespace with TEMPFILE.


 Gitesh
Posted: May 01, 2008 11:13:42 PM  

 Total Post: 322
 Joined: May, 2005






 
Temporary tablespace is for sorting operation. Do you think it is useless?

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software