|
View previous topic :: View next topic
|
| Author |
Message |
priya
Moderator

Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Hello,
When creating the database, What are the default tablespaces available ready to use.... |
|
| Back to top |
|
 |
mdtendulkar
Active User

Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
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 |
|
 |
mdtendulkar
Active User

Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
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 |
|
 |
mcmillan
Site Admin

Joined: 18 May 2003 Posts: 1215 Location: India
|
|
|
|
| While creating a database, the system will create SYSCATSPACE, TEMPSPACE1 & USERSPACE1. |
|
| Back to top |
|
 |
deepak.venkataraman
New User

Joined: 07 Sep 2005 Posts: 8 Location: Bangalore
|
|
|
|
HI PRIYA,
SIMPLE TABLESPACE IS AVAILABLE BY DEFAULT WHILE CREATING A DATABASE |
|
| Back to top |
|
 |
mallik-ibm Currently Banned New User
.jpg)
Joined: 28 Jul 2006 Posts: 7
|
|
|
|
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 |
|
 |
vini_srcna
Active User

Joined: 26 May 2005 Posts: 178 Location: Copenhagen, Denmark
|
|
|
|
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 |
|
 |
senthilssg
New User

Joined: 09 Dec 2005 Posts: 64 Location: USA
|
|
|
|
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 |
|
 |
|
|