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

Adding more partitions to a tablespace


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: Fri Jul 19, 2013 1:39 pm
Reply with quote

Hi,

We are using v10, Suppose we have a table based partitioning with 10 parts, Is it possible to add 11th part by simple ALTER table/tablespace statement? Or the only way is drop and recreate the TS?

I went through the manuals, but did not got a clear understanding.

Thanks in advance.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1586
Location: Andromeda Galaxy

PostPosted: Fri Jul 19, 2013 2:04 pm
Reply with quote

Better to Back up the data, drop and recreate TS and load back the data
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jul 19, 2013 2:05 pm
Reply with quote

Might help going through this.

pic.dhe.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.db2z10.doc.sqlref%2Fsrc%2Ftpc%2Fdb2z_sql_altertable.htm

Look for 'ADD PARTITION'
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Jul 19, 2013 8:52 pm
Reply with quote

Thanks guys...
I verified this by running the alter table add partition command. we can add more partitions
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Sat Jul 20, 2013 8:10 am
Reply with quote

Bharat,

Thanks for letting us know icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 tablespace space limitation DB2 3
No new posts DEBUG COMMENT command not adding to log IBM Tools 1
No new posts Dynamically adding CLIST Library to e... TSO/ISPF 12
No new posts Adding FIND to ISPF Panel display of ... TSO/ISPF 3
No new posts Need help in adding Header to records SYNCSORT 1
Search our Forums:

Back to Top