发明名称 Restartable fast DB2 tablespace reorganization method
摘要 An improved method to dramatically reduce the time required to reorganize DB2 tablespaces and index files by not utilizing conventional sort techniques. Viewing access is allowed during the reorganization process by setting the files to read only status. The process is basically non-destructive, allowing a prompt return to the original state, and is checkpointed, allowing restarting at selected intervals. Briefly, the original table and indices are considered as A files and read into memory. New row IDs or RIDs are developed using a non-sorting technique so that the proper order of the data is developed. After the new RIDs have been developed, both the clustering index and the row data are read out of memory and written to a new table and clustering index files in the proper order as B files. All of the table files are then stopped to allow exclusive access. Next, a series of AMS statements are built to do the renaming operations. Specifically, a series of statements are built to rename all of the A files to X files, to rename all B files to A files and then to delete all of the X files. Then any remaining non-clustering indices are reorganized using non-sorting techniques and renamed in a similar fashion.
申请公布号 US5887274(A) 申请公布日期 1999.03.23
申请号 US19970993964 申请日期 1997.12.18
申请人 CDB SOFTWARE, INC. 发明人 BARRY, RICHARD E.;AL-EISA, EISA A.
分类号 G06F7/22;G06F7/24;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F7/22
代理机构 代理人
主权项
地址