Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Adding more partitions to a tablespace

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Adding more partitions to a tablespace
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

Moderator


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

PostPosted: Fri Jul 19, 2013 2:04 pm    Post subject:
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: 2388
Location: @my desk

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

Might help going through this.

http://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    Post subject:
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: 2388
Location: @my desk

PostPosted: Sat Jul 20, 2013 8:10 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Issue While Recovering a Tablespace satish.ms10 DB2 0 Tue Aug 07, 2018 2:54 am
This topic is locked: you cannot edit posts or make replies. Adding comments in Synsort rajiv rengasamy SYNCSORT 18 Fri Jul 13, 2018 3:21 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts Receommendations required for adding ... Alan Playford JCL & VSAM 5 Wed Feb 14, 2018 4:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us