473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Question about table space rebalance

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

Jun 6 '07 #1
3 5499
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

Jun 6 '07 #2
On Jun 6, 2:41 pm, Artur <artur.wron...@gmail.comwrote:
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
After I added a new container and this table space was rebalancing, I
found that the total page increased, but free page of this table space
was still zero. When would new value of free page be shown, after
rebalance?

Thanks.

Jun 6 '07 #3
On Jun 6, 11:41 am, Artur <artur.wron...@gmail.comwrote:
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
Artur,

If we add new containers with new strip set, all the new data would go
in that stripe set and will not be spread across the other containers.
Moreover, there is no way we can distribute the data once a new stripe
set is defined as adding one more container would add on the new
stripe set. So, the entire motive of distribution data goes for a
toss. So we cannot rebalance the tablespace. Correct me if I am
wrong.!

Saurabh

Jun 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kevin Thorpe | last post by:
I think I know the answer to this, but suggestions welcomed. I have to store lots of information. An electricity reading every half hour for hundreds of meters for several years. The ways I...
0
by: Ryan R. Tharp | last post by:
------=_NextPart_000_03D1_01C3456A.1BA390A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This question came up at work today, would like to get...
1
by: Darren Jensen | last post by:
Can someone point me in the right direction to solve the following (basic) SQL problem below using SQL Server: Let's say I have a table like this that lists people's likes: CREATE TABLE likes...
0
by: Philip Meyer | last post by:
1) setting image as Background with alignment in center not working..help Explanation : i need to set a image as background and also it should be dispalyed in the center.i am using apache fop...
2
by: Adelard | last post by:
Here is my xsl and xml, I want the xml node: LABEL3 ( General Information ) to move under the ROW when viewing or printing this PDF Document. How can I do it? Thanks
25
by: Bob | last post by:
Hi Folks, I am new to CSS and have a very basic question. I am trying create a list of companies consisting of several one-liners in the form of : company name, address, phone, description,...
3
by: datapro01 | last post by:
I have a question concerning reorgs. We have a relatively new DB2 system (8.1) on Aix 5.1 and we are trying to institute regular reorgs via scripts. Does it matter if the index for a table or...
2
by: mathieu | last post by:
hi there, I would like to know if the following piece of code is garantee to work. I am afraid that the cstring address I am using in the std::map found from a request in std::set is not...
2
by: runway27 | last post by:
i am helping a friend to build a forum website which uses php and mysql database. i am working on the registeration page for the forum website and its validation. i am using php 5.2.5 i am able to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.