Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Looking for DDL for reorganizing Indizes and Tables
Hi,
I need to reorganize (import-export) some big tables, which
* have some constraints (PK and Foreign-Key) * Indizes (of course) * Snapshot-Log or are the tables corresponding tables on the replicatedsite.
I am looking for Skripts which generate the DDL for re-creating the table in an intelligent way.
(1) Create table
(2) import data
(3) add constraints (PK, unique key - which will create the index, FK)
(4) add other indizes
(5) add triggers
(6) add grants, synonyme
(7) recompile the objects which have become invalid
and on the second server, the replication-site
(8) create the snapshot
(9) do a full-refresh
If there are skripts and products which can do this for a whole tablespace, its fine too!
Furthermore I look for a skript / stored procedure that will help me with Index-Maintainance;
Yes, I know about the "rebuild"-option, but I definitely want to drop and recreate the Index!
Thank you for your help,
Harald Received on Sat Dec 25 1999 - 12:44:18 CST
![]() |
![]() |