MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Database size calculation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
satyenderd
Beginner


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Mon Sep 22, 2008 12:04 pm    Post subject: Database size calculation Reply with quote

Hi all,

As I have never done this database size calulation i would like to request you all to pls suggest me.
Thanks in advance to all.
Could anyone please let me know how to calculate the size of the database for the following ddl.
Code:

CREATE TABLE "TOYOTASH"."TSHOPER"                         
   (  "RID"                 DECIMAL(11, 0)     NOT NULL   
     ,"OPSEQ"               SMALLINT           NOT NULL   
     ,"OPCODE"              CHAR(10)           NOT NULL   
     ,"OPCOMB"              CHAR(1)            NOT NULL   
     ,"OPHOURS"             DECIMAL(5,1)       NOT NULL   
     ,"OPTECHID"            INTEGER            NOT NULL   
     , "CREATEDBY"          CHAR(8)            NOT NULL
     , DATEOFCREATION       TIMESTAMP          NOT NULL
     , LASTUPDATEDBY        CHAR(8)            NOT NULL
     ,UPDATEDTMSTMP         TIMESTAMP          NOT NULL
     ,"OPDESC"              CHAR(4000)         NOT NULL   
   )                                                       
   IN "DBLCST5"."TSHOPER"

_________________
Satya
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon Sep 22, 2008 2:44 pm    Post subject: Reply with quote

How many rows?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
pcsingh_2000
Beginner


Joined: 13 May 2003
Posts: 15
Topics: 6
Location: Kolkata

PostPosted: Fri Nov 07, 2008 7:07 am    Post subject: Reply with quote

Hi,

Are you asking size of DBLCST5 database. If, yes.. run the STOSPACE utility on the storage group, this database is using. This will update Space column in sysibm.sysindexes and sysibm.tablespace. After that you can easily run a query to sum up all tablepace/indexspaces for this database.

Cheers..
_________________
prakash c. singh
voice:00-91-93315 16675
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
satyenderd
Beginner


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Thu Nov 20, 2008 3:22 pm    Post subject: Reply with quote

Thanks all for your suggestions.
_________________
Satya
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group