473,385 Members | 1,740 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,385 software developers and data experts.

SQL1139N The total size of the table space is too big.

Hello,

Our 4K index tablespace has grown to 64GB. It has maxed out. I want to
increase the page size from 4 to 16K. What will be the safest method?
Any suggestions? We are in DB2 UDB 8.2 Sun Solaris 8.

Thanks.
Feb 24 '08 #1
6 5421
<pr**************@gmail.comwrote in message
news:e5**********************************@72g2000h su.googlegroups.com...
Hello,

Our 4K index tablespace has grown to 64GB. It has maxed out. I want to
increase the page size from 4 to 16K. What will be the safest method?
Any suggestions? We are in DB2 UDB 8.2 Sun Solaris 8.

Thanks.
You would have to drop the tables and recreate them so that the indexes
point to a different tablespace. Obviously, you would need to unload the
data before hand, and then reload it afterwards.

For an OLTP system, you would better off dropping just some of the larger
tables (with large indexes) and specifying a new 4K tablespace for the
indexes in those tables, since a 4K tablespace (and bufferpool) are probably
advisable over a larger page size.

If you have a data warehouse, then you may want to use a larger page size.
Feb 24 '08 #2
Thanks for the reply. Since the application is Siebel, I dont think we
will have the flexibility of dropping the table...

On Feb 24, 9:20*am, "Mark A" <nob...@nowhere.comwrote:
<pravin.prabha...@gmail.comwrote in message

news:e5**********************************@72g2000h su.googlegroups.com...
Hello,
Our 4K index tablespace has grown to 64GB. It has maxed out. I want to
increase the page size from 4 to 16K. What will be the safest method?
Any suggestions? We are in DB2 UDB 8.2 Sun Solaris 8.
Thanks.

You would have to drop the tables and recreate them so that the indexes
point to a different tablespace. Obviously, you would need to unload the
data before hand, and then reload it afterwards.

For an OLTP system, you would better off dropping just some of the larger
tables (with large indexes) and specifying a new 4K tablespace for the
indexes in those tables, since a 4K tablespace (and bufferpool) are probably
advisable over a larger page size.

If you have a data warehouse, then you may want to use a larger page size.
Feb 24 '08 #3
><pr**************@gmail.comwrote in message
>news:786e340b-8218-4ac6-966f->7e**********@62g2000hsn.googlegroups.com...
Thanks for the reply. Since the application is Siebel, I dont think we
will have the flexibility of dropping the table...
Read my lips. You have no choice.

You cannot move the table or indexes to a new tablespace unless you drop and
recreate the table. So long as you do this when the application is not
running (and you have a competent DB2 DBA who will take into account the
referential integrity issues) it does not matter whether the application is
Siebel or anything else.
Feb 24 '08 #4
On Feb 24, 10:31*am, "Mark A" <nob...@nowhere.comwrote:
<pravin.prabha...@gmail.comwrote in message
news:786e340b-8218-4ac6-966f->7eea6112b__BEGIN_MASK_n#9g02mG7!__...__********** ************@62g2000hsn.googlegroups.com...
Thanks for the reply. Since the application is Siebel, I dont think we
will have the flexibility of dropping the table...

Read my lips. You have no choice.

You cannot move the table or indexes to a new tablespace unless you drop and
recreate the table. So long as you do this when the application is not
running (and you have a competent DB2 DBA who will take into account the
referential integrity issues) it does not matter whether the application is
Siebel or anything else.
Thanks for your reply. Greatly appreciated. I guess we dont have other
options.
Feb 24 '08 #5
Thanks for the reply. Your response is greatly appreciated. All tables
have multi million rows....

On Feb 24, 10:31*am, "Mark A" <nob...@nowhere.comwrote:
<pravin.prabha...@gmail.comwrote in message
news:786e340b-8218-4ac6-966f->7eea6112b__BEGIN_MASK_n#9g02mG7!__...__********** ************@62g2000hsn.googlegroups.com...
Thanks for the reply. Since the application is Siebel, I dont think we
will have the flexibility of dropping the table...

Read my lips. You have no choice.

You cannot move the table or indexes to a new tablespace unless you drop and
recreate the table. So long as you do this when the application is not
running (and you have a competent DB2 DBA who will take into account the
referential integrity issues) it does not matter whether the application is
Siebel or anything else.
Feb 24 '08 #6
Lew
A standard practice we used to use for situations like this for moving
tables to a new tablespace is to create a table with the exact same
definition and indexes in a new tablespace with a different name.
Then we would do a load from cursor into the new table from the
existing table, rename the old table to something and then rename the
new table to the proper table name.

create table tab1_new in ts_new
declare cursor mycur for select * from tab1
load from mycur of cursor insert into tab1_new
rename table tab1 to tab1_old
rename table tab1_new to tab1
drop table tab1_old

This might make it a bit less painful
Feb 27 '08 #7

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

Similar topics

1
by: Beyonder | last post by:
I'm using InnoDB with Mysql and I've used delete to delete over 10 million records, but the InnoDB database is still the same size on the disk (over 100 gigs) is there a way to get Mysql/InnoDB to...
7
by: Bart Torbert | last post by:
Hello, I am starting to examine using SQLServer instead of Oracle. I went through the SQLServer import utility to copy tables from Oracle into SQLServer. I then checked the size of the...
7
by: rick | last post by:
Can anyone help, I am try to create a simple form using a table, where a user can fill out quanty and price and have a total automatically calculated and inserted in another field. I stuck trying...
4
by: chettiar | last post by:
Hi, I am wanting to find out the size of a table for which I am using the following query: select c.card * b.columnlength from syscat.tables c, (select sum(a.avgcollen) as columnlength from...
1
by: Nils Rennebarth | last post by:
I have a table that is essentially a log where new entries are streaming in continually and from time to time I throw old entries away to keep the table from growing. I understand that in...
4
by: Rich_C | last post by:
I'm sure this is very simple, but I have very little experience with javascript -- and what I do know isn't helping me here. I have a simple form where users can enter a quantity (qty) and cost...
2
by: sammiesue | last post by:
Hi, I have form with 2 autosummed textboxes ("total" and "casinototal"). I would like to have a grand total textbox ("grandtotal") get its value from summing "total" and "casinototal", but it...
2
by: APEJMAN | last post by:
HI I am trying to find out the total number of recoreds in a Hash Table. I am trying to write a function to calculate the total number of the recored in the Hash Table here is what I figure out,...
11
by: Mike Harrison | last post by:
Hi, I have some simple HTML like this: <div id="container" style="width:100%;"> <input type="text" <input type="button" style="float:right;" value="Click here..."> </div> I want the button...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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.