Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Can Missing Tempfiles be Simply ADDED back after eXtract of FULL Database Backup ?

Re: Can Missing Tempfiles be Simply ADDED back after eXtract of FULL Database Backup ?

From: Greg Norris <spikey.mcmarbles_at_gmail.com>
Date: Wed, 25 Oct 2006 13:45:44 -0500
Message-ID: <d4beff360610251145m3d749d79qf5d26585db209f6f@mail.gmail.com>


On 10/25/06, VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com> wrote:
>
> What did you mean by the word "sparse" in your statement "when the file
> isn't already present, in order to prevent it from being created sparse
> under *nix"
>
> What are the advantages of NOT having a sparse tempfile?
>

By sparse[1] I mean that the space for the file isn't actually allocated until it's used. This lets you create a 16 GB tempfile, for example, in a 2 GB filesystem... instead of getting an error during creation, it occurs later when the usage finally climbs too high. BTW, this can have rather nasty consequences if you have a controlfile and tempfile sharing the same filesystem (trust me on this one).

Last I checked, tempfiles are the only type that Oracle will create sparse (and only under *nix). You can check this by comparing the output of "ls -l" and "du -k" immediately after creation.

[1] http://en.wikipedia.org/wiki/Sparse_file

-- 
"I'm too sexy for my code." - Awk Sed Fred.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 25 2006 - 13:45:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US