On 6 Cze, 07:30, James <huyu...@gmail.comwrote:
I am not sure whether users can access data or insert new data into
tables who belong to a rebalanced table space after new containers are
added? (DB2 version is 8.x) What I know is user can not insert new
data into tables who belong to a rebalanced table space. Is the any
way to avoid this?
Thanks
James
James,
Rebalancing is not restricting users from modifying data in the
rebalanced tablespace, but it can excessively load your system.
Excessively in extreme cases means that nobody can work on the system
because of 100% IO wait, or poor response time (eg. rebalancing on
peak load with undersized storage).
But you can add new containers with new stripe set, which means no
reballancing will occur:
ALTER TABLESPACE space1 BEGIN NEW STRIPE SET (FILE 'file1'' 4 G)
Of course, the natural way of adding a new space is just extending
existing containers.
-- Artur Wronski