ADMIN_MOVE_TABLE Procedure ? -
06-19-2011
, 03:28 PM
I am looking to reconfigure my bufferpools in an very memory limited
environment. To that end I have numerous tables that I need to move to
different tablespaces. Same schema//table_name, just a different
location for the table and indexes, ideally a seperate tablespace
location for the indexes. At the time of performing such, there would
be no users connected to the db. DB2 Express-C 9.7.4
I have looked at all the online documentation which I find very
confusing as if doesn't explain each of the parameters other than the
existing schema, table_name. Online documentation gives the following
example. I have added the coments
CALL SYSPROC.ADMIN_MOVE_TABLE(
'SVALENTI', --schema
'T1', --table_name
'ACCOUNTING',--new data tablespace ????
'ACCOUNTING',--new index tablespace ????
'ACCOUNTING',--new long tablespace ????
'', --???
'', --???
'', --???
'', --???
'', --???
'MOVE') --action
My other major concern other than the actual moving, is what about the
existing relationships to views, functions, proceduresm foreign keys
etc, Are all these unaffected, redirected, rebound I mean some of the
tables I want to move have many MANY related objects. The
documentation is very poor in mentioning the effect using this
procedure may have on such.
Can some kind soul please explain and point me to some working
examples with comments and confirm re:related objects ?
Many thanks. |