GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  Concepts and Architecture
Go To First  |  Previous Question  |  Next Question 
 Concepts and Architecture  |  Question 5 of 74    Print  

Explain the relationship among Database, Tablespace and Data file.

Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace.




  
Total Answers and Comments: 4 Last Update: April 16, 2009   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: swetashashi
 

Databases, tablespaces, and datafiles are closely related, but they have important differences:

1) An Oracle database consists of at least two logical storage units called tablespaces, which collectively store all of the database's data. You must have the SYSTEM and SYSAUX tablespaces and a third tablespace, called TEMP, is optional.

2) Each tablespace in an Oracle database consists of one or more files called datafiles, which are physical structures that conform to the operating system in which Oracle Database is running.

3) A database's data is collectively stored in the datafiles that constitute each tablespace of the database. For example, the simplest Oracle database would have one tablespace and one datafile. Another database can have three tablespaces, each consisting of two datafiles (for a total of six datafiles).



Above answer was rated as good by the following members:
bhatnagar_neeraj
September 26, 2006 16:16:55   #1  
ANU        

RE: Explain the relationship among Database, Ta...

1>A DATA IN A DATABSE IS STORED PHYSICALLY IN A DATAFILE AND LOGICALLY IN A TABLESPACE.

2>A TABLESPACE CAN BELONG TO ONLY ONE DATABASE AT A TIME.

3>A DATABASE CAN CONTAIN MORE THAN ON TABLESPACE.

4>A TABLESPACE CAN CONTAIN ONE OR MORE DATAFLES.

5>A DATAFILE CAN BELONG TO ONLY ONE TABLESPACE AND ONE DATABASE .


 
Is this answer useful? Yes | No
June 06, 2007 06:35:35   #2  
Rajagopal N        

RE: Explain the relationship among Database, Ta...

Adding on to the above statements

A Tablespace can be associated with one or more DATAFILE ( One - Many )
A DATAFILE can be associated with only one TABLESPACE (One - One ).


 
Is this answer useful? Yes | No
April 16, 2009 05:29:50   #3  
swetashashi Member Since: December 2007   Contribution: 3    

RE: Explain the relationship among Database, Tablespace and Data file.
Each databases logically consists of one or more
tablespaces One or more data files are explicitly created
for each tablespace.

 
Is this answer useful? Yes | No
April 16, 2009 05:47:07   #4  
swetashashi Member Since: December 2007   Contribution: 3    

RE: Explain the relationship among Database, Tablespace and Data file.

Databases tablespaces and datafiles are closely related but they have important differences:

1) An Oracle database consists of at least two logical storage units called tablespaces which collectively store all of the database's data. You must have the SYSTEM and SYSAUX tablespaces and a third tablespace called TEMP is optional.

2) Each tablespace in an Oracle database consists of one or more files called datafiles which are physical structures that conform to the operating system in which Oracle Database is running.

3) A database's data is collectively stored in the datafiles that constitute each tablespace of the database. For example the simplest Oracle database would have one tablespace and one datafile. Another database can have three tablespaces each consisting of two datafiles (for a total of six datafiles).


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape