Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us