Loading Data in Express Mode
Express® mode supports rapid loading of data into tables that have no indexes. In logged databases, only RAW tables can use this mode.
Before you begin
About this task
Express-mode loads use light appends, which bypass the buffer pool. Light appends eliminate the overhead associated with buffer management but do not log the data. In express mode, the database server automatically locks the table exclusively. No other users can access the table.
Whether or not you use the DELUXE keyword, the database server uses express mode unless the target table has indexes or is a STANDARD table.
You can use express mode for any newly created table with no data if you define the table as type RAW and do not define any indexes until after you load the data. Choose RAW tables if you do not want to use logging in a database that supports transaction logging.
To prepare an existing table for express-mode load, drop all indexes, and make sure the table type is RAW.
Partition recently appended to; can't open for write or logging
TABLE employee ( name CHAR(18), hiredate DATE, address CHAR(40), empno INTEGER);
To use express-mode load on an existing table
Procedure
Results
If the table type is RAW (nonlogging), omit the statements BEGIN WORK and COMMIT WORK.