db2 connect to 數據庫的schema
導出數據到txt 文本
db2 ”export to table(表名).txt of del modified by nochardel select * from table(表)”;
從txt 中加載數據到db2中
db2"load from table(表名).txt of del modified by delprioritychar replace into schema.table (schema ,table 根據說在數據庫的情況來改變) nonrecoverable";
db2 刪除大數據量的表
alter table schema.table(schema ,table 根據所在數據庫的情況來改變) activate not logged initially with empty table;