Re: Temp tbs with no temp file

  • From: Carel-Jan Engel <cjpengel.dbalert@xxxxxxxxx>
  • To: all_about_oracle@xxxxxxxxxx
  • Date: Fri, 01 Jul 2005 13:40:59 +0200

Sinardy,

When a datafile gets corrupted, you will have to restore/recover it. It
should be possible at some point in time not to have the datafile for
the tablespace during this operation. The concept is how it works. At
some point in time, during the construction of the operational
environment, this might not b ethe actual situation. That's why
enforcing the concept is not useful.

Think of the creation of a tablespace: The tablespace needs to be
entered in the DD, as well the datafile(s) description. The datafiles
need to be created as well. This is not really a 'transaction', there is
no redo for the work that the OS does on the filesystem.

Tempfiles will not be backed up, they are temporary. So, you can end up
with a database without temp files, e.g. after a restore or the creation
of a standby database. 

HTH

 
Best regards,

Carel-Jan Engel

===
If you think education is expensive, try ignorance. (Derek Bok)
===


So after a restore, you end up with a temporary 
On Fri, 2005-07-01 at 12:38, Sinardy wrote:

> But why it allow the tablespace without datafile.
>  
> The 10g Concept said:
> 
> Databases, tablespaces, and datafiles are closely related, but they
> have important differences:
> 
>      1. An Oracle database consists of one or more logical storage
>         units called tablespaces, which collectively store all of the
>         database's data.
>         
>      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 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).
>         
> 
>  
> My situation, seems like a bit different, don't you think so? Or 
>  
> Regards,
> Sinardy
>  
> ----- Original Message ----- 
> From: "Mladen Gogala" <gogala@xxxxxxxxxxxxx>
> To: <all_about_oracle@xxxxxxxxxx>
> Cc: "Oracle-L" <oracle-l@xxxxxxxxxxxxx>
> Sent: Friday, July 01, 2005 6:30 PM
> Subject: Re: Temp tbs with no temp file
> 
> On 07/01/2005 06:15:19 AM, Sinardy wrote:
> 
> > Why Oracle allow to have temporary tablespace without the temp file?
> 
> Because tablespace is a logical and not a physical structure.
> 
> > 
> > What should I do?
> 
> 
> Add one.
> 
> -- 
> Mladen Gogala
> Oracle DBA


Other related posts: