Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: TEMP tablespace should be temporary or permanent ?

Re: TEMP tablespace should be temporary or permanent ?

From: <new_dba_at_my-deja.com>
Date: Mon, 18 Sep 2000 09:32:27 GMT
Message-ID: <8q4nfb$sk7$1@nnrp1.deja.com>

Thanks to all those who replied.

In article <39c1f2e1$1_at_news.iprimus.com.au>,   "Howard J. Rogers" <howardjr_at_www.com> wrote:
> It's a no-brainer. TEMP tablespace ought to be TEMPORARY. Without
> question, without thoughyt, and without argument.
>
> In permanent tablespace, PGA swaps to disk, and extents are acquired,
 and
> then dropped when the sort has finished (lots of extent
> allocation/deallocation -ie, I/O on the system tablespace, and
 potentital
> for fragmentation).
>
> In proper temporary tablespace, extents are allocated on the first
 sort and
> not deallocated until the datbase bounces. That means second and
 subsequent
> sorts don't have to allocate extents (they re-use previously-allocated
> ones) -which means they run faster, and since no extents are
 relinquished,
> there is absolutely no possibility of fragmentation.
>
> Regards
> HJR
>
> --
>


--

> Opinions expressed are my own, and not those of Oracle Corporation
> Oracle DBA Resources:
http://www.geocities.com/howardjr2000
>
------------------------------------------------------------------------ --
>
> <new_dba_at_my-deja.com> wrote in message news:8ppr45
$p0j$1_at_nnrp1.deja.com...
> > Hi,
> >
> > I am wondering whether TEMP tablespace should be temporary or
> > permanent. What is the main difference ?
> >
> > The TEMP tablespace in our production database is permanent. How
do I
> > decide whether I will benefit by making it temporary.
> > Thanks.
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>
Sent via Deja.com http://www.deja.com/ Before you buy.
Received on Mon Sep 18 2000 - 04:32:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US