Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: TEMP tablespace
On Wed, 09 Aug 2006 01:25:24 -0500, airmax wrote:
>
> Hello DBA’s
>
> I have a problem with my TEMP tablespace. It’s 1 GB and its full.
> Shouldn’t be empty? When the tablespace is full i have to restart the
> database in order clean up the tablespace, but this is not a
> solution!!! I don’t want to extend it becuase it will be full again. In
> my previous job the table space was 800MB and it was always empty.
>
> What I should do?
>
What these links are telling you ... if the temp space is used for sorting, it will stay allocated (show 'not free') but will automatically be used for other sort operations when the current session is finished.
Since a block in a tablespace must be formatted before it is used, leaving the blocks allocated for sorting (therefore appropriately formatted) probably saves time. Clearing them might actually introduce a performance hit. (Note to self - test this!)
So ... your problem is probably not
"how do I keep my temp tablespace from being full?",
but rather
"how much of my temp tablespace is allocated to reusable sort segments?"
By the way ... how big is the disk? Is 1 GB really a problem?
-- Hans Forbrich (mailto: Fuzzy.GreyBeard_at_gmail.com) *** Feel free to correct me when I'm wrong! *** Top posting [replies] guarantees I won't respond.Received on Wed Aug 09 2006 - 20:10:25 CDT