DB2 v9.5.1 ESE on AIX v6.1
We have a large table (72M rows, 63.5GB size + indexes) in the same TS as other tables with 4K page size. It’s growing and going to exceed the table size limit for 4K tablespaces so we need to move it to another tablespace with larger page size. Production DB has archive logging activated (logarchmeth1=DISK:<some_path>) . As this is a production DB I need to make sure all changes are logged. We need to minimize downtime as well. I do not have experience working with DBs with archival logging so have to ask for help.
Option 1 – export/import as it is logging all changes: create new table in new TS, export/import, drop old table, rename new table, create indexes, runstats table and indexes. When I do it this way (tried on DEV server) log files are getting huge and I run out of space (file system full).
Option 2 – load from cursor not logging the changes: create new table in new TS, load from cursor with nonrecoverable option, delete old table, rename new table, create indexes, runstats table and indexes. What do we do to log DB changes in this case?
I think I am missing something here. How do you normally would perform this task on DB with archival logging?