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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: decrease initial extent

RE: decrease initial extent

From: <nelson.petersen_at_homehardware.ca>
Date: Wed, 03 Dec 2003 13:44:27 -0800
Message-ID: <F001.005D8B1D.20031203134427@fatcity.com>




RE: decrease initial extent



Since I agreed with Mladen that it wouldn't work, I just had to test this.
 
On 8.1.7.3 on OpenVMS the "deallocate unused keep # " shrinks the initial extent.
It shrank a test table from  1m to 8k.  I'm not sure why it chose 8k.
(db_block_size=4k, default initial_extent for the tablespace=64k)
 
I assume it would work on SYS tables as well.
(No sacrificial database that I'm willing to try it on.)
 
Nelson
-----Original Message-----
From: Alexander.Feinstein@mitchell1.com [mailto:Alexander.Feinstein@mitchell1.com]
Sent: Wednesday, December 03, 2003 4:09 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: decrease initial extent

If you use "keep <int>" it will.

Alex.


-----Original Message-----
From: Mladen Gogala [mailto:mladen@wangtrading.com]
Sent: Wednesday, December 03, 2003 12:59 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: decrease initial extent


That will not do anything for the initial extent.
You may try with

alter table <table> pray intensely for the desired change;


On 12/03/2003 03:34:25 PM, Alexander.Feinstein@mitchell1.com wrote:
> alter table <tbl_name> deallocate unused keep 1;
>
> Alex.
>
>
> -----Original Message-----
> Sent: Wednesday, December 03, 2003 10:09 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Is there any way to decrease the initial extent allocated to a table.
> It is one of the system tables, so I do not want to drop and recreate
> it. I can not export/import as it appear in noexp$. It has long field
> so I can not do alter table move.
>
> Yechiel Adar
> Mehish
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Yechiel Adar
>   INET: adar76@inter.net.il
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L (or the
> name of mailing list you want to be removed from).  You may also send
> the HELP command for other information (like subscribing).
>

Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
  INET: mladen@wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: nelson.petersen_at_homehardware.ca

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Dec 03 2003 - 15:44:27 CST

Original text of this message

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