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
 

 

Need 2 create 3 types of tablespace, help me in parameters

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

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Sep 09, 2008 12:00 pm    Post subject: Need 2 create 3 types of tablespace, help me in parameters
Reply with quote

Hi,
I want to create 3 types of Tablespaces,
1. Simple Tablespace
2. Segmented Tablespace
3. Partitioned Tablepspace

I know the difference between each of them theoretically. But while creating them in practical, i don't know what are parameters needed to be given, What differentiates them from each other.

Can you provide me examples for each type.

That would be very Helpful.

Thank You Very Much,
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 09, 2008 12:13 pm    Post subject:
Reply with quote

Hello,

You might talk with your dba for guidance on how this would be done on your system or you mioght use the "IBM Manuals" link above, find the material for the version of db2 your system uses, and look up the specifics there.

If you have problems with the manuals, post what you found that is not clear and your question about it and someone here will be able to offer suggestions.
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Tue Sep 09, 2008 12:21 pm    Post subject:
Reply with quote

SIMPLE TABLE SPACE

CREATE TABLESPACE TBSNAME
IN DBNAME
USING STOGROUP STGNAME PRIQTY 10 SECQTY 10 TRACKMOD NO
BUFFERPOOL BPNAME
LOCKSIZE PAGE/ROW
CLOSE YES
COMPRESS NO ;

SEGMENTED table space

CREATE TABLESPACE TBSNAME
IN DBNAME
USING STOGROUP STGNAME PRIQTY 10 SECQTY 10 TRACKMOD NO
BUFFERPOOL BPNAME
SEGSIZE 4-64
LOCKSIZE PAGE/ROW
CLOSE YES
COMPRESS NO ;

Partioned table space

CREATE TABLESPACE TBSNAME
IN DBNAME
NUMPARTS 1
(PART1 USING
STOGROUP STGNAME PRIQTY 10 SECQTY 10 TRACKMOD NO
)
BUFFERPOOL BPNAME

LOCKSIZE PAGE/ROW
CLOSE YES
COMPRESS NO ;
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Sep 09, 2008 1:26 pm    Post subject:
Reply with quote

Thank You.
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 CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm


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