Method for fast bulk loading data into a database while bypassing exit routines
First Claim
1. A method for the bulk loading of data into the tables of a database with exit routines defined for operations on such tables, the method comprising:
- by-passing the existence of exit routines by performing data preprocessing transforming the data in batch mode before loading; and
loading the transformed preprocessed data into the database by performing operations on the lower level of tablespace and index spaces where the DB tables reside and not on the database tables themselves, the method further comprising;
(1) switching the tablespace and all related index spaces to a stop mode;
(2) marking required space map entries as used;
(3) loading said preprocessed data into the claimed data pages;
(4) updating database index pages;
(5) resetting the consistency tokens in each updated page; and
(6) switching the tablespace and all related index spaces to a start mode.
11 Assignments
0 Petitions
Accused Products
Abstract
System, method, computer program for fast bulk loading data into database while bypassing exit routines. Method for bulk loading of data into database tables with exit routines defined for operations on such tables, method characterized by existence of exit routines is by-passed by performing data preprocessing in batch mode before loading; and loading preprocessed data into database by performing operations on lower level of tablespace and index spaces where database tables reside and not on database tables themselves. Method for bulk loading data into database tables with exit routines defined for operations on such tables comprising: batch processing data that requires processing to generate processed data; switching tablespace and related index spaces to stop mode; marking required space map entries used; loading previously processed data into claimed data pages; updating database index pages; resetting consistency tokens in updated page; and switching the tablespace and related index spaces to start mode.
102 Citations
21 Claims
-
1. A method for the bulk loading of data into the tables of a database with exit routines defined for operations on such tables, the method comprising:
-
by-passing the existence of exit routines by performing data preprocessing transforming the data in batch mode before loading; and loading the transformed preprocessed data into the database by performing operations on the lower level of tablespace and index spaces where the DB tables reside and not on the database tables themselves, the method further comprising; (1) switching the tablespace and all related index spaces to a stop mode; (2) marking required space map entries as used; (3) loading said preprocessed data into the claimed data pages; (4) updating database index pages; (5) resetting the consistency tokens in each updated page; and (6) switching the tablespace and all related index spaces to a start mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program stored on a non-transitory computer readable storage medium and including computer program code for executing in a processor and memory coupled to the processor to alter the operation of the computer for performing a method for the bulk loading of data into the tables of a database with exit routines defined for operations on such tables, the method comprising:
-
(1) batch processing of the data that requires processing to generate transformed data before loading with bypassing of the exit routines; (2) switching of the tablespace and all related index spaces to a stop mode; (3) marking required space map entries as used; (4) loading previously transformed data into the claimed data pages by performing operations on the lower level of tablespace and index spaces where the DB tables reside and not on the database tables themselves; (5) updating database index pages; (6) resetting the consistency tokens in each updated page; and (7) switching the tablespace and all related index spaces to a start mode.
-
-
19. A system for the bulk loading of data into the tables of a database with exit routines defined for operations on such tables, the system comprising a computer having a processor and including:
-
means for by-passing the existence of exit routines and for performing data preprocessing transforming the data in batch mode before loading; means for loading the transformed preprocessed data into the database by performing operations on the lower level of tablespace and index spaces where the database tables reside and not on the database tables themselves; means for switching of the tablespace and all related index spaces to a stop mode; means for marking required space map entries as used; means for updating database index pages; means for resetting the consistency tokens in each updated page; and means for switching the tablespace and all related index spaces to a start mode. - View Dependent Claims (20, 21)
-
Specification