DB29 for Linux,UNIX,and WINDOWS - section 12(DB2 data maintenance)
2010-03-17 23:17
417 查看
Export/Import:
export to employee.ixf of ixf SELECT * FROM ADMINISTRATOR.EMPLOYEE fetch first 10 rows only;
import from employee.ixf of ixf commitcount 10 create into ADMINISTRATOR.EMPLOYEE;
ixf include the table definition and data, but only can use import/create into load data if no table exist.
Load:
Import need to check reference and constraint and write log for ever row insert. but Load doesn't do these.
rebuild
Make the application use the optimal access path.
db2look -m
extract DDL and stastical which can smilate the product env.
Flow:
runstats->reorgchk(Y)->reorg->runstats->rebind app
runstats->reorgchk(N)->rebind app.
Backup:
incremental:All change after the previous ful backup
delta: All change after the previous backup(full,incremental,delta)
so delta is less than incremental.
export to employee.ixf of ixf SELECT * FROM ADMINISTRATOR.EMPLOYEE fetch first 10 rows only;
import from employee.ixf of ixf commitcount 10 create into ADMINISTRATOR.EMPLOYEE;
ixf include the table definition and data, but only can use import/create into load data if no table exist.
Load:
Import need to check reference and constraint and write log for ever row insert. but Load doesn't do these.
rebuild
Make the application use the optimal access path.
db2look -m
extract DDL and stastical which can smilate the product env.
Flow:
runstats->reorgchk(Y)->reorg->runstats->rebind app
runstats->reorgchk(N)->rebind app.
Backup:
incremental:All change after the previous ful backup
delta: All change after the previous backup(full,incremental,delta)
so delta is less than incremental.
相关文章推荐
- DB29 for Linux,UNIX,and WINDOWS - section 11(DB2 storage)
- DB29 for Linux,UNIX,and WINDOWS - section 13(DB2 performance)
- DB29 for Linux,UNIX,and WINDOWS - section 1(DB2 product family)
- DB29 for Linux,UNIX,and WINDOWS - section 4(DB2 Security)
- DB29 for Linux,UNIX,and WINDOWS - section 9(DB2 Concurrent)
- DB29 for Linux,UNIX,and WINDOWS - section 5(DB2 Object)
- DB29 for Linux,UNIX,and WINDOWS - section 6(DB2 SQL)
- DB2 for Linux, UNIX, and Windows 最佳实践
- DB2 9 for Linux, UNIX, and Windows: DBA Guide, Reference, and, Exam Prep (6th Edition) (Hardcover) Nov.2007.eBook-BBL
- DB2 9 for Linux, UNIX, and Windows: DBA Guide, Reference, and Exam Prep (6th Edition)
- 一种经济有效的使用值压缩 DB2 for Linux,UNIX,and Windows 数据库
- 用 db2pd 工具分析 DB2 for Linux,UNIX,and Windows 中锁的等待并发问题原因
- 在 DB2 9.7 for Linux, UNIX, and Windows 上运行 Oracle 应用程序(转)
- 利用 Oracle 10g 技能学习 DB2 9.1 for Linux, UNIX and Windows
- Section 12: Customizing the UNIX Shell
- 利用 Oracle 10g 技能学习 DB2 9.1 for Linux, UNIX and Windows
- 利用 Oracle 11g 技能学习 DB2 9.7 for Linux, UNIX and Windows
- Recommended reading list: DB2 for Linux, UNIX, and Windows database administration
- 利用 Oracle 10g 技能学习 DB2 9.1 for Linux, UNIX and Windows
- Advanced DBA certification guide and reference for DB2 universal database v8 for Linux, UNIX, and Wi