Sorry for the long silence... I was doing something more important...
Playing racquetball.
Thanks for the control file demo thingy as it does mimic the symptoms
but no create controlfile stuff was done here so it must have been
something else.=20
> As far as how it gets out of sync, I have seen this a couple times...
> In my case, it was when I encountered an ORA-600 (See ORA-600.ora-code.com) during a DDL=20
> operation... i.e. During a drop tablespace...
Well it 's related since it all started with a shared memory error.
Here 's another curiosity... The alert log history shows the create
tablespace but no other tablespace or datafile operations. Other curious
things in the alert log: Crash recovery completes successfully then
there 's a message saying it was switching the redo format from 8.1 to
9.2... That 's because that compatible parameter had been changed just
prior to the shutdown abort. Then there 's a lgwr error trace file saying
it can 't verify the archivelog destination even though the database is
not in archivelog mode. I fixed it anyway as it looks like there were a
lot of those over time. Then shortly after that is a Linux file read
error. Then after that I come along and startup the database
successfully. So how could the tablespace/datafile go away when an
object was still in it? Or how could the database come up if a datafile
was missing and the controlfile wasn 't changed? It 's a mystery and now,
since I apparently fixed everything I 'm going back to neglecting this
database. ;-)
One more thing... I once told QA dude that a routine shutdown abort was
OK but now I 'm thinking I 'll do a shutdown immediate IF... The
compatible parameter was changed and Oracle needs to switch its redo
format. (Something to test would be to create a 9.2 database with
compatible set to 8.1.0.0.0, change it to 9.2.0.0.0, shutdown abort, and
restart. But I 'm too lazy to do that and am not THAT curious. :-)
-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Tim Johnston
Sent: Wednesday, May 26, 2004 12:06 PM
To: oracle-l@(protected)
Subject: Re: Undocumented Instance/Media Recover Feature?
Oracle didn 't create that segment in the datafile... The segment that=20
used to exist in the old datafile is still referenced in the data=20
dictionary... However, the actually physical segment does not exist in=20
the "MISSING " file... Here 's another example...
First I create the tablespace and put a table in it...
$ sqlplus "/ as sysdba " =20
SQL*Plus: Release 9.2.0.3.0 - Production on Wed May 26 13:50:34 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
With the Partitioning option
JServer Release 9.2.0.3.0 - Production
SQL > create tablespace tim datafile '/export/home/oradata/PV429/tim.dbf '
size 10M;
As far as how it gets out of sync, I have seen this a couple times... =20
In my case, it was when I encountered an ORA-600 (See ORA-600.ora-code.com) during a DDL=20
operation... i.e. During a drop tablespace...
Tim
Orr, Steve wrote:
>The curiousity is that the file didn 't exist in the O/S, Oracle created
>it without telling me, and it created and placed a database object into
>that file, again, without telling me. I just stumbled across this but
>I 'd like to KNOW when this happens.
>
>V$DATAFILE and V$TABLESPACE get information from the control file so
how
>could they be out of sync?=3D20
>
>
> =20
>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --