Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Database size calculation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Mon Sep 22, 2008 10:41 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.

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"
Back to top
View user's profile Send private message

satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Tue Sep 23, 2008 1:01 am    Post subject:
Reply with quote

sorry just a small correction:
I forget to mention VARCHAR(4000) and mentioned instead CHAR(4000).


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" VARCHAR (4000) NOT NULL
)
IN "DBLCST5"."TSHOPER"
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts MSU calculation for DB2 (to decide be... SRICOBSAS DB2 4 Wed Mar 23, 2016 6:07 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us