473,387 Members | 3,821 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,387 software developers and data experts.

SQL0289 when Alter table space

I am trying to resize a DMS tablespace container in a database.
There is only one table in this tablespace and it is at 89% full
currently. The command executes successfully but still the size
doesn't change (trying both through the alter TS GUI screen and typing
the alter command in the Command Center).
I read in this group that I needed to perform a reorg on the table for
the change to take effect--that is when I get the 289 error. So I
tried to add an additional container but that didn't work either as I
got the SQL0289 error again. What is the problem?

I have plenty of disk space (75.7 gb). Using WSE DB2 v8.1 FP5 on Win2K.

Nov 12 '05 #1
3 4679
It would help if you mentioned the error code you get when you either try to
alter and/or add a container???
Regards, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ra***********@ins.state.il.us> a écrit dans le message de news:
11**********************@g43g2000cwa.googlegroups. com...
I am trying to resize a DMS tablespace container in a database.
There is only one table in this tablespace and it is at 89% full
currently. The command executes successfully but still the size
doesn't change (trying both through the alter TS GUI screen and typing
the alter command in the Command Center).
I read in this group that I needed to perform a reorg on the table for
the change to take effect--that is when I get the 289 error. So I
tried to add an additional container but that didn't work either as I
got the SQL0289 error again. What is the problem?

I have plenty of disk space (75.7 gb). Using WSE DB2 v8.1 FP5 on Win2K.


Nov 12 '05 #2
Don't know whether this can help or not... but you can keep this in
mind.

1) if you do "list tablespaces show detail", you should see a "status"
field. If the tablespace is in the "rebalancing" state, you need to
wait until the tablespace is in the "normal" state.

2) in UNIX, there is a 2gb file size limitation (I think this can be
controlled by ulimit command). to get around this limitation, I think
you can add container. This should not happen in windows.

3) if your index is created in a different DMS tablespace, you can
check whether the index tablespace is running out of space or not.

4) if your index is create in the same DMS tablespace, (caution) you
can consider dropping the index first, hopefully, to get around the
existing 289 problem. Then you can increase the size of the
tablespace. Then you can recreate the index.

5) all of the containers' size should be the same. If your containers
have different size, as soon as one container runs out of space, you
will see SQL0289.

6) if you can read db2 traces, you should be able to pinpoint the
origin of SQL0289.

Nov 12 '05 #3
Don't know whether this can help or not... but you can keep this in
mind.

1) if you do "list tablespaces show detail", you should see a "status"
field. If the tablespace is in the "rebalancing" state, you need to
wait until the tablespace is in the "normal" state.

2) in UNIX, there is a 2gb file size limitation (I think this can be
controlled by ulimit command). to get around this limitation, I think
you can add container. This should not happen in windows.

3) if your index is created in a different DMS tablespace, you can
check whether the index tablespace is running out of space or not.

4) if your index is create in the same DMS tablespace, (caution) you
can consider dropping the index first, hopefully, to get around the
existing 289 problem. Then you can increase the size of the
tablespace. Then you can recreate the index.

5) all of the containers' size should be the same. If your containers
have different size, as soon as one container runs out of space, you
will see SQL0289.

6) if you can read db2 traces, you should be able to pinpoint the
origin of SQL0289.

Nov 12 '05 #4

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

Similar topics

2
by: Gordowey | last post by:
I have the next question, and i would like to hear what do you think about, and if is there a better solution for "my problem" here is the question, I have a huge table with 60GB of data (image...
8
by: Sean Shanny | last post by:
To all, The facts: PostgreSQL 7.4.0 running on BSD 5.1 on Dell 2650 with 4GB RAM, 5 SCSI drives in hardware RAID 0 configuration. Database size with indexes is currently 122GB. DB size...
4
by: maricel | last post by:
Could someone confirm which tablespace is being used when running ALTER & CREATE INDEX. Is it the tempspace or the tablespace where the table resides? Many thanks, maricel
0
by: Kevin Bartz | last post by:
-----Original Message----- From: Kevin Bartz Sent: Monday, August 09, 2004 10:37 AM To: 'mike@thegodshalls.com' Subject: RE: Out of swap space & memory Thanks for your reply, Mike!...
3
by: Bopolissimus Platypus Jr | last post by:
hello all, i've got a database that takes up 4G of space. when i run a script that deletes all rows and then vacuum, the data directory gets down to around 3-3.5G. what i'd like is to get a...
5
by: Konstantin Andreev | last post by:
Recently I became interested, - Are the data, bulk loaded in the table with LOAD utility, consume the same disk space as loaded with IMPORT utility? The answer turned out to be NOT ! Here is a...
4
by: bill_nirl | last post by:
Hi all, can anyone help. i have a spreasheet (set up by a looney) they have in the surname field, the surname then forename. What sort of code would i need to use to sort this out. It looks...
1
by: vasilip | last post by:
I'm testing out db2 for a project I'm starting that requires proper xml support and I can't seem to get both xml and spatial data to work well in the same table. Once having created a table...
3
by: James | last post by:
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...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.