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 > partitioned database

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Registered User
Join Date: Oct 2012
Posts: 26
partitioned database

i have partitioned database with 3 partition. one is where we do all the admin work. now i am new at db2 so can any one please explain me how can i view all tablespaces with select commend and how can i view the size also? please help
Reply With Quote
  #2 (permalink)  
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 2,361
Try the following command:

rah "db2pd -alldbp -d <db name> -tab"

alldbp = alldbpartitionnums
tab = tablespaces
Reply With Quote

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