Differences Between the Import and Load Utility
2010-08-18 15:52
447 查看
Differences Between the Import and Load Utility
The following table summarizes the important differences between the DB2 load and import utilities.Import Utility | Load Utility |
---|---|
Slow when moving large amounts of data. | Faster than the import utility when moving large amounts of data, because the load utility writes formatted pages directly into the database. |
Limited exploitation of intra-partition parallelism. | Exploitation of intra-partition parallelism. Typically, this requires symmetric multiprocessor (SMP) machines. |
No FASTPARSE support. | FASTPARSE support, providing reduced data checking of user-supplied data. |
Supports hierarchical data. | Does not support hierarchical data. |
Creation of tables, hierarchies, and indexes supported with PC/IXF format. | Tables and indexes must exist. |
No support for importing into materialized query tables. | Support for loading into materialized query tables. |
WSF format is supported. | WSF format is not supported. |
No BINARYNUMERICS support. | BINARYNUMERICS support. |
No PACKEDDECIMAL support. | PACKEDDECIMAL support. |
No ZONEDDECIMAL support. | ZONEDDECIMAL support. |
7 Cannot override columns defined as GENERATED ALWAYS. | 7 Can override GENERATED ALWAYS columns, 7 by using the GENERATEDOVERRIDE and IDENTITYOVERRIDE file type modifiers. |
Supports import into tables and views. | Supports loading into tables only. |
All rows are logged. | Minimal logging is performed. |
Trigger support. | No trigger support. |
If an import operation is interrupted, and a commitcount was specified, the table is usable and will contain the rows that were loaded up to the last COMMIT. The user can restart the import operation, or accept the table as is. | If a load operation is interrupted, and a savecount was specified, the table remains in load pending state and cannot be used until the load operation is restarted, a load terminate operation is invoked, or until the table space is restored from a backup image created some time before the attempted load operation. |
Space required is approximately equivalent to the size of the largest index plus 10%. This space is obtained from the temporary table spaces within the database. | Space required is approximately equivalent to the sum of the size of all indexes defined on the table, and can be as much as twice this size. This space is obtained from temporary space within the database. |
All constraints are validated during an import operation. | The load utility checks for uniqueness and computes generated column values, but all other constraints must be checked using SET INTEGRITY. |
The key values are inserted into the index one at a time during an import operation. | The key values are sorted and the index is built after the data has been loaded. |
If updated statistics are required, the runstats utility must be run after an import operation. | Statistics can be gathered during the load operation if all the data in the table is being replaced. |
You can import into a host database through DB2 Connect. | You cannot load into a host database. |
Import files must reside on the node from which the import utility is invoked. | In a partitioned database environment, load files or pipes must reside on the node that contains the database. In a non-partitioned database environment, load files or pipes can reside on the node that contains the database, or on the remotely connected client from which the load utility is invoked. |
A backup image is not required. Because the import utility uses SQL inserts, DB2 logs the activity, and no backups are required to recover these operations in case of failure. | A backup image can be created during the load operation. |
相关文章推荐
- What is the difference between Full load and Incremental load
- what is the difference between definition and declaration in c
- What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop ?
- the difference between pcm and wav
- What is the difference between Facade and Gateway design patterns?
- Difference between LINQ to SQL and the Entity Framework
- What is the difference between getWidth/heigth() and getMeasuredWidth/Heigth() in Android SDK?
- what is the difference between zImage (kernel) and boot.img
- What are the Differences between Work Package and Planning Package?
- the difference between “adduser” and “useradd”
- What is the difference between a von Neumann architecture and a Harvard architecture?
- What is the difference between CollectionView and CollectionViewSource?
- The difference between EXISTS and IN upon Oracle
- The difference between web container and web server
- Difference Between Performance Testing, Load Testing and Stress Testing
- What is the difference between syntax and semantic
- The Difference Between @Helpers and @Functions In WebMatrix
- The difference between text mode and binary mode with file streams
- What is the Difference Between Type and Class in
- What is the difference between NoClassDefFoundError and ClassNotFoundException?