Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
dba_temp_file vs v$tempfile

dba_temp_file vs v$tempfile

2005-10-13       - By zhu chao

Reply:     1     2     3  

V$tempfile just read from controlfile.
While DBA_TEMP_FILES will need to access file header, and it can't lock the
temp file, so it report error.


On 10/13/05, raja rao <raja4list@(protected)> wrote:
>
>
> Hi All,
>  A datafile (temp file of precise tool) has been deleted from os lelel
> without dropping from database.
>  When I query the dba_temp_files it is showing:
> ERROR at line 1:
> ORA-01157 (See ORA-01157.ora-code.com): cannot identify/lock data file 607 - see DBWR trace file
> ORA-01110 (See ORA-01110.ora-code.com): data file 607: '/bio/u01/precise_i3_orcl_or_tmp_01.dbf'
>
> where as when I query v$tempfile, it is showing the file names properly
> without any error.
> Can someone explain me what is this strage behaviour.
>  Thanks ,
> Raj
>
> -- ---- ---- ---- ---- ---- --
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<http://pa
.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
>


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

<div>V$tempfile just read from controlfile.</div>
<div>While DBA_TEMP_FILES will need to access file header, and it can't lock
the temp file, so it report error.</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/13/05, <b class="gmail_sendername">raja
rao</b> &lt;<a href="mailto:raja4list@(protected)">raja4list@(protected)</a>&gt;
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div><br>Hi All,</div>
<div>&nbsp;</div>
<div>A datafile (temp file of precise tool) has been deleted from os lelel
without dropping from database.</div>
<div>&nbsp;</div>
<div>When I query the dba_temp_files it is showing:</div>
<div>ERROR at line 1:<br>ORA-01157 (See ORA-01157.ora-code.com): cannot identify/lock data file 607 - see
DBWR trace file<br>ORA-01110 (See ORA-01110.ora-code.com): data file 607: '/bio/u01/precise_i3_orcl_or_tmp
_01.dbf'</div>
<div><br>where as when I query v$tempfile, it is showing the file names
properly without any error.</div>
<div>Can someone explain me what is this strage behaviour.</div>
<div>&nbsp;</div>
<div>Thanks ,<br>Raj</div><span class="ad">
<p>
<hr size="1">
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://pa.yahoo
.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/"
target="_blank">Yahoo! Music Unlimited - Access over 1 million songs. Try it
free.
</a>
<p></p></p></span></blockquote></div><br><br clear="all"><br>-- <br>Regards<br
>Zhu Chao<br><a href="http://www.cnoug.org">www.cnoug.org</a><br>