How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Come goccia tablespace e recuperare database Oracle quando accidentalmente eliminare archivio dei dati

Accident may happens, even though it’s costly one. Maggio incidente accade, anche se è costoso. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. Questo vale in particolare per database Oracle, che memorizza la banca dati oggetti fisicamente nel file di dati sul disco rigido. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. Veloce mano amministratori possono eliminare accidentalmente alcuni dei datafiles, o il datafiles possibile ottenere danneggiato o illeggibile sul disco rigido fallimento. You may get also some missing datafiles after database recovery process. Si possono ottenere anche alcuni scomparsi dopo datafiles banca dati processo di recupero. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. In ogni caso, manca uno o pochi datafiles farà database Oracle a non di avvio, rendendo l'intero PB inaccessibili.

The solution to the missing datafiles is to drop the affected tablespace where has incomplete datafiles, and then recreate the tablespace and import the data into the tablespace from backup. La soluzione del datafiles mancante è quello di far cadere il colpiti tablespace dove ha datafiles incompleta, quindi ricreare il tablespace e importare i dati in tablespace dal backup. However, the steps are not so straight forward. Tuttavia, la procedura non è così semplice.

  1. Run SQL*Plus. Eseguire SQL * Plus.
  2. Connect to database as SYSDBA with this query: Collegarsi al database come SYSDBA con questa ricerca:

    CONNECT / AS SYSDBA CONNECT / AS SYSDBA

  3. Mount the database instead of starting it up: Installare il database, invece di avviarlo:

    STARTUP MOUNT; STARTUP MOUNT;

  4. Issue the following command to bring the missing datafile offline so that Oracle won’t trying to connect and access the datafile anymore: Il seguente comando per portare il archivio dei dati mancanti in modalità non in linea in modo che Oracle non tenta di connettersi e accedere alle più archivio dei dati:

    ALTER DATABASE DATAFILE ‘<datafile name with complete path>’ OFFLINE DROP; ALTER DATABASE archivio dei dati '<datafile nome completo con path>' OFFLINE DROP;

    Repeat the command for every datafiles that unaccounted for. Ripetere il comando per ogni datafiles che inspiegato.

  5. Now start the database proper: Ora avviare la propria banca dati:

    ALTER DATABASE OPEN; ALTER banca dati aperta;

  6. As the tablespace has damaged, drop it to recreate from fresh backup. Come tablespace ha danneggiato, goccia a ricreare da fresche di backup.

    DROP TABLESPACE <tablespace name> INCLUDING CONTENTS; DROP tablespace <tablespace name> contenuto;

  7. Ensure the other datafiles for the tablespace has been deleted, if not, remove them manually from the operating system. Garantire l'altra datafiles per il tablespace è stato eliminato, se non, rimuovere manualmente dal sistema operativo.

    Tip: Suggerimento: How to check datafiles that belong to tablespace Come controllare datafiles che appartengono al tablespace .

  8. Continue with the recovery process. Continuare con il processo di recupero.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



3 Responses to “How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile” 3 risposte a "Come Drop Tablespace e il ripristino di Oracle Database Quando Accidentally Elimina archivio dei dati"

  1. How to Remove and Drop Datafiles from Tablespace in Oracle Database » My Digital Life Come rimuovere e da Drop Datafiles Tablespace in Oracle Database »Il mio Digital Life
    August 4th, 2007 02:57 Ago 4, 2007 02:57
    1

    [...] If one or more datafiles is missing after a recovery process or accidental deletion, you can use ALTER DATABASE DATAFILE <datafile name> OFFLINE DROP command to make the datafile offline so that database can starts up after which the troubled tablespace can be dropped. [...] Se uno o più datafiles è mancante dopo un processo di recupero o eliminazione accidentale, è possibile utilizzare ALTER DATABASE archivio dei dati <datafile name> OFFLINE DROP comando per rendere il archivio dei dati in modalità non in linea in modo tale che può banca dati si avvia al termine del quale l'travagliata può tablespace essere eliminato. (See instruction to recover from missing datafiles.) [...] (Vedi istruzioni per recuperare dal mancanti datafiles.) [...]

  2. LP
    April 2nd, 2008 18:27 2 aprile 2008 18:27
    2

    These are only to drop the TS Questi sono solo di abbandonare il TS

    but not to recover… ma non per recuperare…

    hence the worst…. di conseguenza, la peggiore….

  3. ravisha
    July 8th, 2008 19:31 8 luglio, 2008 19:31
    3

    This info helped us to a very great extent and hence we are able to proceed further smoothly. Queste informazioni ci ha aiutato a misura molto ampia e, di conseguenza, siamo in grado di procedere senza intoppi.

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

drop tablespace in oracle goccia nel tablespace Oracle - -- drop tablespace goccia tablespace - -- oracle drop tablespace Oracle goccia tablespace - -- recover tablespace recuperare tablespace - -- drop tablespace offline goccia tablespace offline - -- drop tablespace ORACLE goccia tablespace ORACLE - -- alter database drop tablespace modificare banca dati goccia tablespace - -- oracle recover datafile Oracle recuperare archivio dei dati - -- oracle recover database Oracle database di recuperare - -- oracle recover tablespace Oracle recuperare tablespace - -- recover oracle datafile Oracle recuperare archivio dei dati - -- DROP TABLESPACE MOUNT DROP tablespace montare - -- offline drop offline goccia - -- recover datafile oracle recuperare archivio dei dati Oracle - -- recover database Oracle recuperare database Oracle - -- oracle drop tablespace offline Oracle goccia tablespace offline - -- oracle drop database drop database Oracle - -- oracle drop table space Oracle goccia tabella spazio - -- drop oracle tablespace goccia Oracle tablespace - -- oracle offline drop Oracle non in linea goccia - -- alter datafile offline drop modificare archivio dei dati in modalità non in linea goccia - -- drop datafile goccia archivio dei dati - -- offline drop tablespace offline goccia tablespace - -- oracle delete datafile Oracle eliminare archivio dei dati - -- recover oracle database missing data file Oracle Database recuperare file di dati mancanti - -- drop datafile offline goccia archivio dei dati in modalità non in linea - -- Recover Oracle database Recupera database Oracle - -- restore oracle database ripristinare database Oracle - -- recover database in oracle recuperare banca dati Oracle - -- all tutto - -- alter tablespace offline modificare tablespace offline - -- oracle recover Oracle recuperare - -- alter database oracle modificare database Oracle - -- drop a tablespace drop un tablespace - -- recover drop tablespace recuperare goccia tablespace - -- damaged missing datafiles oracle danneggiato mancanti datafiles Oracle - -- drop oracle database drop database Oracle - -- oracle drop tablespace with missing datafile oracolo goccia tablespace con archivio dei dati mancanti - -- drop data file drop di file di dati - -- tablespace offline drop tablespace offline goccia - -- drop tablespace command in oracle goccia tablespace comando in Oracle - -- recover dropped tablespace recuperare sceso tablespace - -- oracle offline drop tablespace Oracle non in linea goccia tablespace - -- drop tablespace missing datafile goccia tablespace archivio dei dati mancanti - -- how to offline the tablespace without opening the database come non in linea tablespace senza aprire il database - -- Oracle tablespace offline drop Oracle tablespace offline goccia - -- recover tablespace oracle recuperare tablespace Oracle - -- oracle drop datafiles from the database which are already is deleted oracolo goccia datafiles dalla banca dati che sono già è soppresso - -- oracle delete tablespace Oracle eliminare tablespace - -- oracle datafile RECOVER archivio dei dati Oracle RECUPERARE - --