Reorg active table

This is a discussion on Reorg active table within the Oracle Server forums in Oracle Database category; Hi, I need to reorg an active table( lot of insert/update/delete) I would like to do a move tablespace to shrink the table. How can I lock all the DML and do the move ? Thanks in advance Oracle 9.2.0.6...

Go Back   Database Forum > Oracle Database > Oracle Server

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 05:25 PM
Default Reorg active table

Hi,

I need to reorg an active table( lot of insert/update/delete)
I would like to do a move tablespace to shrink the table.
How can I lock all the DML and do the move ?
Thanks in advance
Oracle 9.2.0.6


Reply With Quote
  #2  
Old 08-27-2008, 05:46 PM
Default Re: Reorg active table

On 27.08.2008 22:25, astalavista wrote:

> I need to reorg an active table( lot of insert/update/delete)


What makes you think you need a reorganization? Did you consider that
the table might not stay organized for long if there is a lot of
modifications going on? etc.

Cheers

robert

Reply With Quote
  #3  
Old 08-27-2008, 08:26 PM
Default Re: Reorg active table

astalavista wrote:
> Hi,
>
> I need to reorg an active table( lot of insert/update/delete)


Why?

Palooka
Reply With Quote
  #4  
Old 08-27-2008, 09:01 PM
Default Re: Reorg active table

On Aug 27, 4:25*pm, "astalavista" wrote:
> Hi,
>
> I need to reorg an active table( lot of insert/update/delete)
> I would like to do a move tablespace to shrink the table.
> How can I lock all the DML and do the move ?
> Thanks in advance
> Oracle 9.2.0.6


Read the doc on dbms_redefinition is one way.
Reply With Quote
  #5  
Old 08-28-2008, 04:06 PM
Default Re: Reorg active table

OK thanks


Reply With Quote
  #6  
Old 08-29-2008, 02:48 AM
Default Re: Reorg active table

Oneway to restrict DML is to seperate the application schema (which
does DML) from the table owner schema.
So during the downtimes (reorg or others like refills etc) you revoke
the privileges from the application schema.
regards
srivenu
Reply With Quote
  #7  
Old 08-30-2008, 03:13 AM
Default Re: Reorg active table

OK thanks for the trick ...

a écrit dans le message de news:
b39536d3-62df-446d-be51-4d41d2f92785...oglegroups.com...
> Oneway to restrict DML is to seperate the application schema (which
> does DML) from the table owner schema.
> So during the downtimes (reorg or others like refills etc) you revoke
> the privileges from the application schema.
> regards
> srivenu



Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 03:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.