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 > db2 tablespace increase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-09, 04:00
manikandank_1984 manikandank_1984 is offline
Registered User
 
Join Date: Oct 2008
Posts: 65
db2 tablespace increase

Hi.


In orace using BR tools to incresing the tablespace.In DB2 i don't have any idea.
Please clarify me:-
what parameters need to be considered before increasing the tablespace?
Can you tell me what commands are used to increasing the tablespace?
How do i identify how much size has to be increased to tablespace?

Regards,
Mnaik
Reply With Quote
  #2 (permalink)  
Old 03-25-09, 12:31
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Quote:
Originally Posted by manikandank_1984
what parameters need to be considered before increasing the tablespace?
Can you tell me what commands are used to increasing the tablespace?
check the ALTER DATABASE command in the DB2 Manual


Quote:
Originally Posted by manikandank_1984
How do i identify how much size has to be increased to tablespace?
Depends upon how much more data you want to store and what you want to store.....
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #3 (permalink)  
Old 03-25-09, 12:43
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by nick.ncs
check the ALTER DATABASE command in the DB2 Manual
You probably meant ALTER TABLESPACE...
Reply With Quote
  #4 (permalink)  
Old 03-26-09, 00:33
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Quote:
Originally Posted by n_i
You probably meant ALTER TABLESPACE...
LOL..... yes... that was a big goof-up
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #5 (permalink)  
Old 03-26-09, 21:47
db2dummy1 db2dummy1 is offline
Registered User
 
Join Date: Feb 2009
Posts: 114
ALTER TABLESPACE was all the rage in the 20th century. Nowadays, we create DMS tablespaces with AUTORESIZE YES and they behave just like SMS from space management point of view.
Reply With Quote
  #6 (permalink)  
Old 03-26-09, 22:39
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You may be surprised to learn that some tablespaces were indeed created in the 20th century. I would not write off the ALTER TABLESPACE just yet (by the way, you can use it to set AUTORESIZE YES as well...)
Reply With Quote
  #7 (permalink)  
Old 03-26-09, 22:43
db2dummy1 db2dummy1 is offline
Registered User
 
Join Date: Feb 2009
Posts: 114
Yes - I know - I was there when they were created .... Correct - you can enable AUTORESIZE with ALTER TABLESPACE. Spasibo!
Reply With Quote
  #8 (permalink)  
Old 03-26-09, 23:47
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by db2dummy1
Spasibo!
Wot!? Is my balalaika showing? Or is it the vodka smell?
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