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

Home -> Community -> Usenet -> c.d.o.server -> Re: sqldba startup problem

Re: sqldba startup problem

From: Noorazmi Abdul-Aziz <noorazmi_at_kuala-lumpur.geoquest.slb.com>
Date: 1997/07/31
Message-ID: <33E09753.35BB@kuala-lumpur.geoquest.slb.com>#1/1

Ian Cary wrote:
>
> Hi Noorazmi,
>
> I am afraid that what you have done could be pretty serious depending
 on
> the surrounding cicumstances. Manually deleting Oracle datafiles is
> definately NOT the thing to do.
>
> If you can be sure that the datafile you deleted only conatained data
> for the user you deleted it may be possible to get the database back
 up
> by issuing the following
>
> >startup mount;
 

> >alter database datafile 'file_name' offline drop;
 

> >alter database open;
>
> If this doesn't work you will have to resort to recovery I'm afraid
 (I
> can help you with this if you are not familiar with it)
>
> There may also be a couple of other things to do but I would need
 more
> information about your setup (e.g. Number of projects, Location of
> tablespaces, which project is using which tablespace) before making
 any
> more recommendations.
>
> Regards,
>
> Ian Cary

I've solved the problem. Thanks.

I copied another database files from another tablespace and rename them DBNAME_DATA and DBNAME_INDEX. In sqldba I ran these commands:
>connect internal
>startup mount
>alter database datafile '../DBNAME_DATA' offline drop;
>alter database datafile '../DBNAME_INDEX' offline drop;
>alter database open;
>drop tablespace DBNAME_DATA;
>drop tablespace DBNAME_INDEX;

Everything's fine now.

Cheers

Azmi Received on Thu Jul 31 1997 - 00:00:00 CDT

Original text of this message

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