RE: Online "tablespace" reorg ?

  • To: <Brandon.Allen@xxxxxxxxxxx>, <bobmetelsky@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 28 Jun 2005 19:45:43 -0400

Another option is CTAS using unrecoverable to prevent logging then
rename when you are sure it is working.  You should use a SQL generate
SQL script or some other method to pull of all dependencies first.   

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Allen, Brandon
Sent: Tuesday, June 28, 2005 7:21 PM
To: bobmetelsky@xxxxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: RE: Online "tablespace" reorg ?

Hi Bob,

No, I don't believe there is anyway to do an online table reorg, much
less an online tablespace reorg.  There is an ONLINE option for the
ALTER TABLE . . MOVE statement, but unfortunately it is for use with
IOTs only.

I think your only options are to use the ALTER TABLE . . . MOVE like
you've already mentioned, or to use exp/imp, with a drop/create of the
tablespaces in the middle to recreate the tablespaces as LMT w/ ASSM.

Regards,
Brandon


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Bob
Sent: Tuesday, June 28, 2005 2:54 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Online "tablespace" reorg ?


All-
Is there such a thing as online tablespace reorg?

All, I've been tasked to perform an "online reorg of our tablespaces"
  From my research I come to these findings.

1 - tablespace reorg is not a popular topic and only seems to be
available using oem which  due to our diverse environment, I need to use
a sqlplus script.  From  reading ask tom he is claiming there really
isn't anything to "reorg" in a tablespace - recreate yes - reorg no Is
this correct?

2 My plans would be to create new tablespaces using LMT and ASSM, then
alter table move .. new tablespace.  The LMT would minimizes future
fragmentation and ASSM would benefit by using the alter table shrink;
statement to alter the HWM in the future.

Questions,
1 - Is there such a thing as online reorg of tablespaces and if so
documentation on its use?
2 - Are there any issues that  I'm overlooking in item 2


Thanks
Bob

side note -dbms_refefination looks like what I've been told to look for
but that is on the table level and not going to help because the
tablespaces are  DMT. I don't need to redef the tables I'm really
looking to reclaim space from the tablespaces as well as putting the
tables in LMT and ASSM mode
--
//www.freelists.org/webpage/oracle-l

Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the official business of this company shall be understood as neither
given nor endorsed by it.

--
//www.freelists.org/webpage/oracle-l


--
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------
Teach CanIt if this mail (ID 36565222) is spam:
Spam:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=s&i=36565222&m=7185686ac
956
Not spam:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=n&i=36565222&m=7185686ac
956
Forget vote:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=f&i=36565222&m=7185686ac
956
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS

--
//www.freelists.org/webpage/oracle-l

Other related posts: