IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ALTER BUFFERPOOL - Error while changing Pagesize.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Oct 22, 2012 4:36 pm
Reply with quote

Hi,

I was trying to alter the bufferpool from BP0 to BP32K2. I got the below error
Code:

***INPUT STATEMENT:                                                             
   ALTER TABLESPACE DBNAME.TSNAME BUFFERPOOL BP32K2 ;                       
SQLERROR ON   ALTER     COMMAND, EXECUTE   FUNCTION                             
 RESULT OF SQL STATEMENT:                                                       
 DSNT408I SQLCODE = -671, ERROR:  THE BUFFERPOOL ATTRIBUTE OF THE TABLE SPACE CANNOT BE ALTERED AS SPECIFIED BECAUSE IT
          WOULD CHANGE THE PAGE SIZE OF THE TABLE SPACE                         
 DSNT418I SQLSTATE   = 53040 SQLSTATE RETURN CODE                               
 DSNT415I SQLERRP    = DSNXIATS SQL PROCEDURE DETECTING ERROR                   
 DSNT416I SQLERRD    = 120  0  0  -1  0  0 SQL DIAGNOSTIC INFORMATION           
 DSNT416I SQLERRD    = X'00000078'  X'00000000'  X'00000000'  X'FFFFFFFF'  X'000
          INFORMATION                                                           


Looks like we cannot change the bufferpool to a different page size. Is there any alternative way to do this apart from dropping and re-creating it.

My problem is we created Tables which had LOB columns, so LOB tablespaces have been created in default BP0 bufferpool. We want them to move to 32K bufferpool.

Please let me know how this can be done?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Oct 22, 2012 5:24 pm
Reply with quote

Not possible, i think without dropping & re-creating the tablespace. Since the data needs to put into bigger page.

regards,
sushanth
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Oct 22, 2012 5:59 pm
Reply with quote

Yes... But ideally Stop database --> ALTER --> START Database --> REORG should work.

I mean IBM should give this feature icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Mon Oct 22, 2012 6:20 pm
Reply with quote

Quote:
I mean IBM should give this feature


meditate on the relation between page size and controlinterval size
and how for the defaults the two values coincide
( and buffer pools naturally )

Quote:
The VARY DS CONTROL INTERVAL parameter on installation panel DSNTIP7 allows you to control whether DB2-managed data sets have variable VSAM control intervals:
A value of YES indicates that a DB2-managed data set is created with a VSAM control interval that corresponds to the size of the buffer pool that is used for the table space. This is the default value.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Oct 23, 2012 11:00 am
Reply with quote

Thanks for the explanation.... Really helpful
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
Search our Forums:


Back to Top