ALTER TABLE tablename APPEND on| OFF
On: The newly added data will be inserted into the page with free space;
OFF: The newly added data is stored on the last page, and if the page is full, the data will be stored on the next page.
The minimum storage space for the data is page, and the page size is 4k,8k,16k,32k.
PS: in DB2, when the table data is deleted, the space is not released, but a delete flag is added to the original data, indicating that the space of the row can be reused, and when you need to insert data into the table, DB2
Scan the free space for the entire table, and then place the new row in the available space.
If you specify the Append on property, then DB2 will no longer search for free space, but instead directly insert the data into the end of the table. This can improve efficiency.
This feature is suitable for those large batch append history tables, after using the Append feature, please note that regular reorg table
ALTER TABLE tab_name append on;
db2--Table Append on property