If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > error in adding containers in tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-04, 16:24
preetim preetim is offline
Registered User
 
Join Date: Jun 2003
Posts: 77
error in adding containers in tablespace

Hi,

I'm using DB2 v 7.2 on windows2000 server.

Its about 100GB sized DMS database.

When one tablespace was 99% full, I tried adding more containers in it.

Two containers were added successfully, and the tablespace came down to 65% full.
But on adding 3rd container, it gave error SQL 0258N which is "Containers cannot be added while a rebalance of the table space is pending or in progress". I tried doing it again after waiting for some time but the same error is repeating.

Can someone suggest what should be done in this case.

Thanks a lot for any responses,
-Preeti
Reply With Quote
  #2 (permalink)  
Old 02-27-04, 16:29
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: error in adding containers in tablespace

You should wait for the rebalancer process to finish before adding the new container.

As another idea; why not add all three containers in one go; this way rebalance will happen only once.

You can use get snapshot command to get information about the reblance process on particular tablespace.

dollar


Quote:
Originally posted by preetim
Hi,

I'm using DB2 v 7.2 on windows2000 server.

Its about 100GB sized DMS database.

When one tablespace was 99% full, I tried adding more containers in it.

Two containers were added successfully, and the tablespace came down to 65% full.
But on adding 3rd container, it gave error SQL 0258N which is "Containers cannot be added while a rebalance of the table space is pending or in progress". I tried doing it again after waiting for some time but the same error is repeating.

Can someone suggest what should be done in this case.

Thanks a lot for any responses,
-Preeti
Reply With Quote
  #3 (permalink)  
Old 02-27-04, 16:35
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: error in adding containers in tablespace

You'll have to wait, I think ..

Do list tablespaces show detail command ... When the tablespace gets to Normal, you can add one ...

Rebalance is a very I/O intensive process ... Hence you should always add all containers you wish in one go ...

Cheers
Sathyaram

Quote:
Originally posted by preetim
Hi,

I'm using DB2 v 7.2 on windows2000 server.

Its about 100GB sized DMS database.

When one tablespace was 99% full, I tried adding more containers in it.

Two containers were added successfully, and the tablespace came down to 65% full.
But on adding 3rd container, it gave error SQL 0258N which is "Containers cannot be added while a rebalance of the table space is pending or in progress". I tried doing it again after waiting for some time but the same error is repeating.

Can someone suggest what should be done in this case.

Thanks a lot for any responses,
-Preeti
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 02-27-04, 16:36
preetim preetim is offline
Registered User
 
Join Date: Jun 2003
Posts: 77
Re: error in adding containers in tablespace

Thanks for your quick reply.
Get snapshot is a good idea. This is what I wanted to know (how to check the status of this rebalance and whether its in some error state).


Quote:
Originally posted by dollar489
You should wait for the rebalancer process to finish before adding the new container.

As another idea; why not add all three containers in one go; this way rebalance will happen only once.

You can use get snapshot command to get information about the reblance process on particular tablespace.

dollar
Reply With Quote
  #5 (permalink)  
Old 02-27-04, 17:48
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: error in adding containers in tablespace

dollar,
To which snapshot does rebalance report to ?

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #6 (permalink)  
Old 02-27-04, 20:58
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: error in adding containers in tablespace

It's the snapshot of tablespaces. There are four or five counters for it - start time, how many pages to move, how many are moved and one or two more counters. As far as I think, these counters only shows up if rebalance is in progress but I could be wrong.

dollar


Quote:
Originally posted by sathyaram_s
dollar,
To which snapshot does rebalance report to ?

Cheers
Sathyaram
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On