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: DBA_TEMP_FILES.MAXBYTES is wrong

Re: DBA_TEMP_FILES.MAXBYTES is wrong

From: zhu chao <zhuchao_at_gmail.com>
Date: Tue, 31 May 2005 08:32:49 +0800
Message-ID: <962cf44b0505301732556cb9d2@mail.gmail.com>


Tanel,
 For sparse file, ls -l will not show the actual file. as oracle tempfiles.  For example, in solaris 10/redhat 3.
 In linux redhat as3:  

SQL> create temporary tablespace tmp tempfile '/tmp/a.dbf' size 20001m autoextend on maxsize 40001m;

Tablespace created.

SQL> ! ls -l /tmp/a.dbf
-rw-r----- 1 oracle dba 20972584960 May 31 08:24 /tmp/a.dbf

SQL> ! df -k /tmp
Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda5 2055600 32996 1918184 2% /tmp
On 5/31/05, Tanel Põder <tanel.poder.003_at_mail.ee> wrote:  

> 'ls -ls' shows the real size of file in filesystem blocks on most modern
> unixes as well...
>
> Tanel.
>
> ----- Original Message -----
> From: "Greg Norris" <spikey.mcmarbles_at_gmail.com>
> To: "ORACLE-L" <oracle-l_at_freelists.org>
> Sent: Monday, May 30, 2005 8:55 PM
> Subject: Re: DBA_TEMP_FILES.MAXBYTES is wrong
>
>
> > My guess would be that the files are sparse. What are the results of
> > 'du -k'? Does it match up with the 'ls -l' output?
>
> --
> http://www.freelists.org/webpage/oracle-l
>

-- 
Regards
Zhu Chao
www.cnoug.org <http://www.cnoug.org>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon May 30 2005 - 20:37:42 CDT

Original text of this message

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