Quote:
|
Originally Posted by ARWinner
If you use the IMPORT command to create the tables, you need to be aware that any indexes or foreign keys will NOT get created.
|
What kind of information is stored in IXF depents on db2 version depending on operating system. On db2 for Linux/Unix/Windows there are the following info in ixf format: column definitions, data and primary keys all other info (foreign key, indexes, triggers, etc) needs to be pulled from database catalog. On db2 for VSE/VM there is no info about primary key in ixf format.
But first of all if there is not a huge database and I assume it is not because it is running on Windows, I suggest creating automatic maintenance tablespace types (new feature in db2 v8.2). The only problem is you need to recreate database and export/import all the tables.
Syntax:
create database
database_name automatic storage yes on c:, d:, e:
This command means database will automatically maintain disk storage on all volumes specified. There is no need of managing of disk space.
Hope this helps,
Grofaty