Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Datafile info.
I guess it depends on oracle version (and platform?):
SQL> select file_name from dba_data_files;
FILE_NAME
----D:\ORANT\ORADATA\DDM\SYS1DDM.ORA D:\ORANT\ORADATA\DDM\RBS1DDM.ORA D:\ORANT\ORADATA\DDM\SYSAUX01.ORA D:\ORANT\ORADATA\DDM\RMTL.ORA D:\ORANT\ORADATA\DDM\RMTM.ORA D:\ORANT\ORADATA\DDM\RMTS.ORA
6 rows selected.
Oracle10 on WinXP (and I know, actual file names are not all upper case).
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of David Sharples
Sent: Wednesday, November 17, 2004 9:22 AM
To: oracle-l_at_freelists.org
Subject: Re: Datafile info.
data files are not stored in up case in the data dictionaey
SQL> select file_name from dba_data_files 2 /
FILE_NAME
So your query would return nothing (something you could of checked)
On Wed, 17 Nov 2004 09:08:15 -0500, Igor Neyman <ineyman_at_perceptron.com>
wrote:
>
> select TABLESPACE_NAME, BYTES, BLOCKS from DBA_DATAFILES
> where FILE_NAME = UPPER('/oracle/dbs/BIG.dbf');
>
> Igor Neyman, OCP DBA
> ineyman_at_perceptron.com
>
>
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jaehne, Richard S
> Sent: Tuesday, November 16, 2004 3:38 PM
> To: 'Oracle-L (E-mail)
> Subject: Datafile info.
>
> All,=20
>
> I've got a large (4G.) datafile let's call him BIG.dbf on one of my =
> database servers that I'm not sure what's living in it. =20
>
> I did run the following sql statement:
>
> SQL> select TABLESPACE_NAME, BYTES, BLOCKS from DBA_DATAFILES
> 2 where FILE_NAME =3D '/oracle/dbs/BIG.dbf';
>
> no rows selected
>
> Does this mean that this is an empty file? I'm a little puzzled.
>
> Thanks,=20
>
> Richard Jaehne
> --
> http://www.freelists.org/webpage/oracle-l
>
> --
> http://www.freelists.org/webpage/oracle-l
>
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Nov 17 2004 - 08:46:21 CST
![]() |
![]() |