Professional Documents
Culture Documents
------------------------------
Using this utility used with tables having parent-child relationship, by using this utility we can get all the
relation violated records in a like table. if u give the delete option=yes , the violated records will be
deleted in the child table. The delete=no , the child table still having the
violated records.
CHECK DATA
TABLESPACE EDSDB.TRG7ETS
FOR EXCEPTION IN TRG007.EMPLOY
USE TRG007.LEXEMP
DELETE YES
--------------------------------------------------------------------------------------------------------------------------------2. COPY UTILITY
UTILITY
It merges all incremental image copies along with full copy gives merged copy.
NEWCOPY=YES : It makes one full image copy ,by taking all incremental image copies with
It recovers all the data which is u loosed to the specified image copy point.
or to a quiesce point thru TORBA.
RECOVER TABLESPACE EDSDB.TRG7ETS TOCOPY TRG007.FULL.COPY.RECOVER
TORBA(X'59940509440985')
--------------------------------------------------------------------------------------------------------------------------------10. REORG UTILITY
Gives brief repot of all full image copies and all incremental image copies till date
REPORT RECOVERY
TABLESPACE EDSDB.TR007TS
----------------------------------------------------------------------------------------------------------------------------- ---12. STOSPACE UTILITY
It updates the catalog with current occquiped tablespace and storage space
STOSPACE STOGROUP <STORAGEGROUPNAME -EDSSG>
----------------------------------------------------------------------------------------------------------------------CREATE TABLESPACE COMMANDS
----------------------------------------------------------------------------------------------------------------------CREATE TABLESPACE < TBSNAME -TRG007TS>
IN <DBNAME -EDSDB>
USING STOGROUP <STORAGEGROUPNAME -EDSSG>
PRIQTY 50
SECQTY 25