Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Shrink Temporary Tablespace
Turkbear wrote:
> "Charles J. Fisher" <cfisher_at_rhadmin.org> wrote: >
> If it is a true TEMPORARY type tablespace then is is still usable ( as > you have probably found out by now ) even though it > shows as full..I believe that if you bounce the instance, it will revert > to its initial size.
The datafile (or should i say the 'tempfile') will never revert to its initial size. At shutdown, the temporary segments are cleared, sure enough. But the physical storage used to house it doesn't magically shrink.
> > You can, I have read, alter the tablespace to permanent then back to > temporary ( only do this if no active sorts are using the space)..
In the first place, you wouldn't be able to alter the tablespace if it was active. In the second, that advice is perfectly correct only for temporary tablespaces created in the 'old-fashioned' way (ie, create tablespace temp datafile X temporary). If the temporary tablespace is created in the 8i and upwards way (create temporary tablespace tempfile X), then you an't flip between temporary and permanent states.
If the guy is using LMTs for his temporary tablespace, then it rather suggests that he's using the tempfile variety (which must be LMT), and therefore he's not going to be able to alter the nature of the tablespace in that way.
Regards
HJR
-- -------------------------------------------- See my brand new website, soon to be full of new articles: www.dizwell.com. Nothing much there yet, but give it time!! --------------------------------------------Received on Wed Oct 08 2003 - 16:35:30 CDT