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: Next extent with Locally managed tablespace on 9i

Re: Next extent with Locally managed tablespace on 9i

From: Christian M. <cm_at_sdv.fr>
Date: Mon, 5 Aug 2002 09:29:09 +0200
Message-ID: <3d4e28f5$0$216$4d4eb98e@read.news.fr.uu.net>


Ok !
But I wonder if it's not better to use DMT ! It's more flexible when we use small and large objects in the same tablespace. Isn't it ?

It is really better to use LMT ????

"Norman Dunbar" <Norman.Dunbar_at_lfs.co.uk> a écrit dans le message news: E2F6A70FE45242488C865C3BC1245DA702740504_at_lnewton.leeds.lfs.co.uk...
> Christian,
>
> when creating a new tablespace I'd always do it this way :
>
> create tablespace whatever
> datafile '......' size required_size_plus_1 M
> extent management local
> uniform size xxK;
>
> For example :
>
> create tablespace ENTENTE
> datafile '......' size 2001 M
> extent management local
> uniform size 64K;
>
>
> The extra 1M on the end serves to provide a bit of space over and above
> the required data size to store the bitmap in.
> The uniform size bit makes sure that each and every extent allocated
> will be exactly 64KB in size.
> INITIAL and NEXT extents on imports or table creation scripts simply
> allocate enough 64KB extents to cover the requested size.
>
> If and index or table is allocated too much space, you can always :
>
> alter table xxxx deallocate unused keep 1k;
>
> and Oracle will reduce the table or index to the current size of the
> data in the table. But I wouldn't do that too often in a production
> system :o)
>
>
> Cheers,
> Norman.
>
> -------------------------------------
> Norman Dunbar
> Database/Unix administrator
> Lynx Financial Systems Ltd.
> mailto:Norman.Dunbar_at_LFS.co.uk
> Tel: 0113 289 6265
> Fax: 0113 289 3146
> URL: http://www.Lynx-FS.com
> -------------------------------------
>
Received on Mon Aug 05 2002 - 02:29:09 CDT

Original text of this message

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