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 > Monitoring DMS tablespaces

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-08, 12:39
db2rocks db2rocks is offline
Registered User
 
Join Date: Jan 2008
Posts: 45
Monitoring DMS tablespaces

Hi friends,

I want to write a script to monitor DMS tablespaces..So just looking the used space and available space daily, how and when can we decide to extend or resize any container..Are there any thumb rules for that like 90% of usage??

And if i want to add or extend a container i think it would be better if i do that during nights as rebalance would run and which would cause performance problems.

Is a tablespace accessible during rebalance??If so what kind of performance impact does that have??

Other than monitoring used space are there any other checks that i need to do for DMS??

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-17-08, 18:18
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Did you already look at the DB2 health monitor? It pretty much already does what you want, so you wouldn't have to reinvent the wheel.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 03-18-08, 18:32
dareman123 dareman123 is offline
Registered User
 
Join Date: Dec 2007
Posts: 30
if you resize/extend the containers there will not be any rebalancing.if you add any new containers then there would be rebalencing process.
Adding containers to a table space and any potential rebalance operation is an online, asynchronous operation, but it will impact the overall performance of the server.
Reply With Quote
  #4 (permalink)  
Old 04-01-08, 01:52
SuperKuper SuperKuper is offline
Registered User
 
Join Date: Apr 2008
Posts: 51
If we are talking about DMS file, why not use AUTORESIZE and forget about monitoring - let tablespaces grow almost like SMS. All you have to monitor then is free space in filesystems, which you are probably doing now anyway.
__________________
db2topgun.com
Reply With Quote
  #5 (permalink)  
Old 04-01-08, 02:33
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
go through by this link....will be helpfull...

http://www.dbatodba.com/db2/how-to-d...ablespace/view
Reply With Quote
  #6 (permalink)  
Old 04-01-08, 03:36
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by dareman123
if you resize/extend the containers there will not be any rebalancing.
This is true if you resize/extend all the containers in a tablespace in the same SQL statement. This is easy to do using the ALL keyword.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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