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 > Table Size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-08, 09:41
rameshj6 rameshj6 is offline
Registered User
 
Join Date: Oct 2008
Posts: 51
Post Table Size

how to find the table size?
any query is there to find out table size?
and without using query how to find table size?
Reply With Quote
  #2 (permalink)  
Old 10-29-08, 10:38
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What do you mean by table size? number of rows? number of bytes?

There is no way without a query to determine size.

Andy
Reply With Quote
  #3 (permalink)  
Old 10-29-08, 15:42
rameshj6 rameshj6 is offline
Registered User
 
Join Date: Oct 2008
Posts: 51
Table size

i want no of bytes
without using query we can get by using runstats am i right...?


Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 10-29-08, 15:52
rameshj6 rameshj6 is offline
Registered User
 
Join Date: Oct 2008
Posts: 51
Cool TAble size

Hello

sorry not runstats.... by using reorgchk we get one column about table size.....is it useful to find the table size..
Reply With Quote
  #5 (permalink)  
Old 10-29-08, 16:16
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
What does count to the table size? Do you include free space allocated in pages for the table? With simple tablespaces (DB2 z/OS), you can have rows from different tables on the same page - how do you deal with that? How about regular overhead like record headers, page headers, ...

Basically, for DB2 LUW you will find in the manual all the formulas to do space estimates for tables.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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