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 database total size estimation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-12, 10:49
sunil_pec1987 sunil_pec1987 is offline
Registered User
 
Join Date: Jul 2012
Posts: 9
Post db2 database total size estimation

Hi All,

Kindly please guide me how i can can estimate of total size needed for an application to perform well.

My Logic:
1) To take all the database object details from test environment.
and
a)calculate there row size
select sum(length) from syscat.columns where tabname=?;

then depending upon the row size estimate the tablespace paze size

b)Next step is to to estimate the amount of rows in one page

<PAGESIZE eq 4055 for 4096 > / row size = no. of rows per page

c) Third step is to estimate the no of rows that will come in future years

eq 200000

200000/ < no. of rows per page> = Total page required

d) adding 10 percent for future estimation for that table

Total page required *1.1=total pages needed

---------------------------------------------------------

By repeating this i can estimate space requirements for all tablespaces for tables

-------------------------------------------------------------

Now how can i estimate the index tablespace sizes for each main tables

---------------------------------------------------------------

I should also consider the space requirement for use temporary tablespaces, temporary tablespace , and bufferpools for each type of page size.

---------------------------------------------------------------------

Kindly guide me better estimate for designing a database for my application.
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