How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Wie Drop Tablespace und erholen Oracle-Datenbank, wenn versehentlich löschen Datafile

Accident may happens, even though it’s costly one. Mai Unfall passiert, obwohl es teuer ein. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. Dies ist insbesondere der Fall in einem Oracle-Datenbank, die Datenbank speichert die Objekte physisch in Dateien auf der Festplatte. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. Fast Hand Administratoren, könnten versehentlich löschen Sie einige der Datendateien, oder die Dateien kann es beschädigt oder nicht lesbar auf der Festplatte Misserfolg. You may get also some missing datafiles after database recovery process. Sie können auch einige fehlende Datendateien nach Datenbank-Recovery-Prozess. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. Auf jeden Fall fehlt ein oder einige Datendateien wird dazu führen, dass Oracle-Datenbank zu scheitern bis zur Inbetriebnahme, so dass die ganze DB nicht erreichbar ist.

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. Die Lösung für die fehlenden Datendateien ist, um die betroffenen Tablespace, wo hat unvollständig Datendateien, und dann neu den Tablespace und Import der Daten in das Backup-Tablespace aus. However, the steps are not so straight forward. Allerdings sind die Schritte sind nicht so einfach.

  1. Run SQL*Plus. Ausführen von SQL * Plus.
  2. Connect to database as SYSDBA with this query: Verbindung zur Datenbank als SYSDBA mit dieser Abfrage:

    CONNECT / AS SYSDBA CONNECT / AS SYSDBA

  3. Mount the database instead of starting it up: Mount der Datenbank ab, anstatt ihn:

    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: Ausgabe den folgenden Befehl ein, um die fehlende Datei offline, so dass Oracle nicht versucht zu verbinden und Zugriff auf die Datei mehr:

    ALTER DATABASE DATAFILE ‘<datafile name with complete path>’ OFFLINE DROP; ALTER DATABASE datafile '<datafile mit vollständigem Namen path>' Offline DROP;

    Repeat the command for every datafiles that unaccounted for. Wiederholen Sie den Befehl für alle Dateien, aufzuklären.

  5. Now start the database proper: Starten Sie nun die richtige Datenbank:

    ALTER DATABASE OPEN; ALTER Datenbank geöffnet;

  6. As the tablespace has damaged, drop it to recreate from fresh backup. Da die Tablespace beschädigt hat, legen Sie ihn auf neu aus frischen Backup.

    DROP TABLESPACE <tablespace name> INCLUDING CONTENTS; DROP TABLESPACE <tablespace name> einschließlich Inhalt;

  7. Ensure the other datafiles for the tablespace has been deleted, if not, remove them manually from the operating system. Stellen Sie sicher, die anderen Datendateien für die Tablespace wurde gestrichen, wenn nicht, löschen Sie diese manuell aus dem Betriebssystem.

    Tip: Tipp: How to check datafiles that belong to tablespace Wie Sie Dateien, die in Tablespace . Werden.

  8. Continue with the recovery process. Fahren Sie mit der Recovery-Prozess.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Es handelt sich um eine Maschine der Seite übersetzt wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung ist vielleicht schwierig zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.

Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe an My Digital Life Forums Meine digitalen Lebens Foren . Werden.



3 Responses to “How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile” 3 Responses to "Wie Drop Tablespace und Wiederherstellen von Oracle-Datenbank Wenn versehentlich löschen Datafile"

  1. How to Remove and Drop Datafiles from Tablespace in Oracle Database » My Digital Life How to Remove and Drop Datafiles von Tablespace auf Oracle Database »My Digital Life
    August 4th, 2007 02:57 4. August 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. [...] Wenn ein oder mehrere Dateien fehlen nach einem Recovery-Prozess oder die versehentliche Löschung, können Sie ALTER DATABASE Datafile <datafile name> OFFLINE DROP Befehl, um die Datei, so dass Offline-Datenbank kann startet nach der der unruhigen Tablespace kann fallen zu lassen. (See instruction to recover from missing datafiles.) [...] (Die Anweisung zur Wiederherstellung von Dateien fehlen.) [...]

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

    These are only to drop the TS Dies sind nur Tropfen auf den TS

    but not to recover… aber nicht zu erholen…

    hence the worst…. damit das Schlimmste….

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

    This info helped us to a very great extent and hence we are able to proceed further smoothly. Diese Infos dazu beigetragen, uns zu einem sehr großen Umfang und damit auch wir in der Lage sind, weiter zu verfahren ist reibungslos.

Leave a Reply Leave a Reply

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> Sie können diese Tags: <a href= title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Abonnieren ohne zu kommentieren


Custom Search

New Articles Neue Artikel

Incoming Search Terms for the Article Eingehender Suchbegriffe für den Artikel

drop tablespace in oracle Drop Tablespace auf Oracle - -- drop tablespace Drop Tablespace - -- oracle drop tablespace Oracle Drop Tablespace - -- recover tablespace erholen Tablespace - -- drop tablespace offline Drop Tablespace offline - -- drop tablespace ORACLE Drop Tablespace ORACLE - -- alter database drop tablespace ALTER DATABASE Drop Tablespace - -- oracle recover datafile Oracle recover datafile - -- recover oracle datafile erholen Oracle datafile - -- oracle recover database Oracle-Datenbank wiederherstellen - -- oracle recover tablespace Oracle erholen Tablespace - -- DROP TABLESPACE MOUNT DROP TABLESPACE MOUNT - -- offline drop Offline-Drop - -- recover datafile oracle recover datafile Oracle - -- oracle drop table space Oracle drop table space - -- recover database Oracle Oracle-Datenbank wiederherstellen - -- oracle drop tablespace offline Oracle Drop Tablespace offline - -- oracle drop database Oracle-Datenbank Drop - -- drop oracle tablespace Drop Oracle Tabellenplatz - -- oracle offline drop Oracle Offline-Drop - -- Recover Oracle database Recover Oracle-Datenbank - -- all alle - -- alter datafile offline drop ändern datafile Offline-Drop - -- drop datafile Drop datafile - -- offline drop tablespace Offline-Drop Tablespace - -- oracle delete datafile Oracle datafile löschen - -- recover oracle database missing data file Oracle Database erholen fehlenden Daten-Datei - -- drop datafile offline Drop datafile offline - -- restore oracle database Wiederherstellung der Oracle-Datenbank - -- recover database in oracle Erholung in einem Oracle-Datenbank - -- alter tablespace offline ALTER TABLESPACE offline - -- oracle drop tablespace mount Oracle Drop Tablespace Mount - -- oracle recover Oracle wiederherstellen - -- alter database oracle ALTER DATABASE Oracle - -- drop a tablespace Drop ein Tablespace - -- recover drop tablespace erholen Drop Tablespace - -- accidental+deletion+file+oracle versehentliche Löschen + + + Datei oracle - -- damaged missing datafiles oracle beschädigte Dateien fehlen Oracle - -- drop oracle database Drop Oracle-Datenbank - -- oracle drop tablespace with missing datafile Orakel Drop Tablespace mit fehlenden datafile - -- drop data file Drop-Datendatei - -- tablespace offline drop Tablespace offline Drop - -- drop tablespace command in oracle Drop Tablespace Befehl in Oracle - -- recover dropped tablespace wieder fallen gelassen Tablespace - -- oracle offline drop tablespace Oracle Offline-Drop Tablespace - -- drop tablespace missing datafile Drop Tablespace fehlt datafile - -- how to offline the tablespace without opening the database wie man die Offline-Tablespace ohne Öffnen der Datenbank - -- Oracle tablespace offline drop Oracle Tablespace offline Drop - -- recover tablespace oracle erholen Tablespace Oracle - -- oracle drop datafiles from the database which are already is deleted Orakel Drop Dateien aus der Datenbank, die bereits gelöscht - --