You are on page 1of 1

PL/SQL Packages DBMS_REDEFINITION

Perform an online reorganization of tables.


Subprocedures:
CAN_REDEF_TABLE Determine if a given table can be reorganized online.
START_REDEF_TABLE Initiate the reorganization process.
FINISH_REDEF_TABLE Complete the reorganization process.
SYNC_INTERIM_TABLE Keep the interim table synchronized with the original table.
ABORT_REDEF_TABLE Clean up errors that occur during the reorganization process.
For full documentation of the packaged procedures above see the Oracle Manual:
"Oracle9i Supplied PL/SQL Packages and Types Reference"
or the book Oracle Built in Packages by Steven Feuerstein et al
See "Oracle9i Database Administrator's Guide" for details of how DBMS_REDEFINITI
ON reorganizes a table by using local materialized views.

http://ss64.com/orap/DBMS_STATS.html

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_redefi.htm
http://psoug.org/reference/dbms_redefinition.html

http://www.colestock.com/blogs/2008/07/reorganizing-table-using.html

DBMS_STATS.GATHER_SCHEMA_STATS ('SCHEMA1',25,FALSE,'FOR ALL COLUMNS SIZE 1',NULL


,'DEFAULT',TRUE ) ;

http://www.freshersworld.com/content/all-it-companies-dbms-technical-interview-q
a

You might also like