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 > change TS (SMS) page size?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-09, 12:32
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
change TS (SMS) page size?

(DB2 v9.5.1 ESE on AIX v6.1)
I have a table which is growing and it will reach max table size of 65,536MB soon (it's in SMS with 4K page). To solve the problem we want to
- create another BP with bigger page size (e.g. 32KB);
- increaze the page size of the TS to same page size and assign new BP (ALTER TABLESPACE ... BUFFERPOOL ...);

Can we do this?
If not, how can we do it with minimal outage (create new BP, new TS, move table...)?
Thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 06-08-09, 14:20
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Just by changing BP of the TBS your TBS will still be the same size. haven't tried it myself but seams logical.

I would do it as you said. New BP, new TBS, new TB with a new name. Load from cursor, build indexes, runstats, rename. if done online and original table received changes, grab those new changes and add them to a new table. This can be done by using triggers or other methods recently discussed here.

p.s. I suspect you do have an archival process? Maybe redesign this table using new functionality that allows you to break up portion of a table into a stand alone table.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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