IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What are the default tablespaces available


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Wed Aug 13, 2003 8:11 am
Reply with quote

Hello,

When creating the database, What are the default tablespaces available ready to use....
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Wed Aug 13, 2003 10:04 am
Reply with quote

Hello Priya,

From your question, I was not able to figure out what you wanted to ask?

1) What types of Tablespaces available?
to gte the information about this, ,look at the following link.

http://vsbabu.org/oracle/sect03.html

2) How much table space is allocated available to user?
This is decided by the admin user. Depends on the site's configuration

Let me know in case any more help you require.

Regards

Mayuresh
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Thu Aug 14, 2003 12:51 pm
Reply with quote

Hello Priya,

The question may be like this:

Q) What are the different types of tablespaces available?

Ans:
-----
1) Simple Tablespace
2) Segmented Tablespace
3) Partitioned Tablespace

For the detail explanation...refer to any DB2 manual.

Hope this helps.

Regards

Mayuresh
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1210
Location: India

PostPosted: Fri Aug 15, 2003 2:37 pm
Reply with quote

While creating a database, the system will create SYSCATSPACE, TEMPSPACE1 & USERSPACE1.
Back to top
View user's profile Send private message
deepak.venkataraman

New User


Joined: 07 Sep 2005
Posts: 8
Location: Bangalore

PostPosted: Wed Sep 07, 2005 12:19 pm
Reply with quote

HI PRIYA,

SIMPLE TABLESPACE IS AVAILABLE BY DEFAULT WHILE CREATING A DATABASE
Back to top
View user's profile Send private message
mallik-ibm
Currently Banned

New User


Joined: 28 Jul 2006
Posts: 7

PostPosted: Thu Mar 08, 2007 11:03 pm
Reply with quote

hi all
default table spaces are
catalog table space
temp table space
and
user table space
these r the table spaces available by default

thanks

mallik
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Fri Mar 09, 2007 3:39 pm
Reply with quote

Yes, When you create a DB2 Database by default there would be 3 tablespaces created for you.

1. System table space, where catalog table reside
2. User table space wher user data could be stored.
3. Temporary Table space which will be used by system to resolve your query. ex. ORDER BY, etc. It sorts the data in that region and will give you the result.

If you are preparing for 700/730 exam, then i would suggest you to go thru ROGER .E . Sanders. I had this question in 700 exam. Hope this helps you.
Back to top
View user's profile Send private message
senthilssg

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Thu Apr 05, 2007 11:06 am
Reply with quote

Hi all ,


Previous answer is applicable for DB2 LUW only. But in case of DB2 for Z/OS, when you create database, no default tablespaces are created. Only entry will be put it over on catalog tables that new database has been created.

If you are not mention the table space name in create table statement, it will create one table space with name same as table name with type of Simple Table space.

Code:
CREATE TABLE SAMPLE_TAB (COL1 INT NOT NULL,
COL2 CHAR (5)) IN DATABASE SAMPLEDB;


Correct me if I am wrong

Thanks and Regards
Senthil
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts SYSSPUXB and SYSSPUXA tablespaces DB2 3
No new posts JDBC Driver -Default Values DB2 1
Search our Forums:

Back to Top