Chinaunix首页 | 论坛 | 博客
  • 博客访问: 463616
  • 博文数量: 97
  • 博客积分: 3396
  • 博客等级: 中校
  • 技术积分: 996
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-25 13:14
文章分类

全部博文(97)

文章存档

2014年(1)

2013年(2)

2012年(7)

2011年(13)

2010年(18)

2009年(7)

2007年(10)

2006年(39)

分类: DB2/Informix

2006-07-05 11:17:10

onunload,onload.
These utilities are useful in several ways:
They provide fast table level backups.
They provide fast database level backups.
When transferring tables or databases to other systems with different dbspace layouts.
When moving databases or tables from one dbspace to another.
onunload onload is faster than dbexport including existing indexes structures.
This makes it very fast to reload because indexes do not need to be rebuilt.
Also, since the output is stored in binary format, there is some security in the data being protected.
 
There are a few drawbacks to these two utilities:
Data is not portable. It can only be loaded using the same version of OnLine on the same type of machine. Since the data is stored in binary format the operations need to be performed on computers that are binary compatible.
Data is not compressed. Since the data is copied in whole pages, empty data space and empty index structures on a
page remain and are reloaded on the target system. SQL unload and load will rebuild the data on pages and rebuild all indexes compressing the data.
The utilities will require an exclusive lock on the table or database being unloaded and loaded.
If you need to unload data in ASCII or text format use the SQL unload statement of DBEXPORT.
阅读(1959) | 评论(0) | 转发(0) |
0

上一篇:ontape dbexport注意的问题

下一篇:记忆

给主人留下些什么吧!~~