Nonstop Database, HiRDB Version 9 Command Reference
This section presents four examples of pdreclaim.
This example releases used free pages in a table (TBL1). The example assumes that the table and indexes are defined as follows:
CREATE FIX TABLE TBL1(C1 INTEGER,C2 CHAR(10),C3 DEC(15)) IN ((USER01) C1>0,(USER02))
CREATE INDEX IDX02 ON TBL1(C3) IN USER03 |
pdreclaim -k table -t TBL1 |
This example releases used free pages in all indexes defined for a table (TBL1). The example assumes that the table and indexes are defined as follows:
CREATE FIX TABLE TBL1(C1 INTEGER,C2 CHAR(10),C3 DEC(15)) IN ((USER01) C1>0,(USER02))
CREATE INDEX IDX02 ON TBL1(C3) IN USER03 |
pdreclaim -k index -t TBL1 |
This example releases used free pages in a table (TBL1). The example assumes that the table and indexes are defined as follows:
CREATE FIX TABLE TBL1(C1 INTEGER,C2 CHAR(10),C3 DEC(15)) IN ((USER11) C1>0,(USER21))
CREATE INDEX IDX02 ON TBL1(C3) IN ((USER13),(USER23)) |
pdreclaim -k table -t TBL1 |
This example releases used free pages in an index (IDX01) defined for a table (TBL1). The example assumes that the table and indexes are defined as follows:
CREATE FIX TABLE TBL1(C1 INTEGER,C2 CHAR(10),C3 DEC(15)) IN ((USER11) C1>0,(USER21))
CREATE INDEX IDX02 ON TBL1(C3) IN ((USER13),(USER23)) |
pdreclaim -k index -t TBL1 control_file |
idxname name=IDX01 [1] |
This example releases used free pages from an index storage RDAREA (USER12) for an index (IDX01) defined for a table (TBL1). The example assumes that the table and indexes are defined as follows:
CREATE FIX TABLE TBL1(C1 INTEGER,C2 CHAR(10),C3 DEC(15)) IN ((USER11) C1>0,(USER21))
CREATE INDEX IDX02 ON TBL1(C3) IN ((USER13),(USER23)) |
pdreclaim -k index -t TBL1 control_file |
idxname name=IDX01 rdarea=USER12 [1] |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.