How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Kaip upuść Tablespace ir Atkurti duomenų bazę Oracle Kai atsitiktinai Ištrinti Datafile

Accident may happens, even though it's costly one. Nelaimingų atsitikimų gegužė atsitinka, nors tai brangu viena. This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk. Tai ypač jei į Oracle duomenų bazės, kurioje saugomi duomenų bazėje objektai fiziškai duomenų failus kietajame diske. Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure. Greitas ranka administratoriai gali atsitiktinai ištrinti kai kuriuos datafiles arba datafiles gali gauti sugadintas ar neįskaitomas dėl kietojo disko gedimo. You may get also some missing datafiles after database recovery process. Jūs galite gauti taip pat kai kurių trūkstamų datafiles po bazėje atsigavimo procesui. In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible. Bet kuriuo atveju, trūksta arba kelias datafiles bus Oracle duomenų bazės ir nepavyksta paleisti, teikti visą BP nepasiekiamas.

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. Tirpalo trūkstamas datafiles yra lašas nukentėjo tablespace kur yra neišsami datafiles, tada vėl tablespace ir importuoti duomenis į tablespace iš atsarginės kopijos. However, the steps are not so straight forward. Tačiau veiksmus, nėra taip tiesiai prieš save.

  1. Run SQL*Plus. Vykdyti SQL * Plus.
  2. Connect to database as SYSDBA with this query: Prisijungti prie duomenų bazės su SYSDBA šią užklausą:

    CONNECT / AS SYSDBA CONNECT / AS SYSDBA

  3. Mount the database instead of starting it up: Mount duomenų bazėje pradėti jį:

    STARTUP MOUNT; Paleistis 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: Numeris šią komandą, kad trūkstamų datafile atjungties kad Oracle nebus bandote prisijungti ir naudotis datafile daugiau:

    ALTER DATABASE DATAFILE '<datafile name with complete path>' OFFLINE DROP; ALTER DATABASE DATAFILE "<datafile pavadinimas visiškai path>" Offline DROP;

    Repeat the command for every datafiles that unaccounted for. Kartokite komandą kas datafiles, kad dingo be vesti.

  5. Now start the database proper: Dabar belieka tik paleisti duomenų bazės tinkamą:

    ALTER DATABASE OPEN; ALTER DATABASE ATVIRAS;

  6. As the tablespace has damaged, drop it to recreate from fresh backup. Kadangi tablespace pakenkė, išskleidžiamajame jį atkurti iš šviežios kopijos.

    DROP TABLESPACE <tablespace name> INCLUDING CONTENTS; DROP TABLESPACE <tablespace pavadinimas ĮSKAITANT TURINYS;

  7. Ensure the other datafiles for the tablespace has been deleted, if not, remove them manually from the operating system. Užtikrinti kitų datafiles už tablespace buvo pašalintas, jei ne, juos pašalinti rankiniu būdu nuo operacinės sistemos.

    Tip: Patarimas: How to check datafiles that belong to tablespace Kaip patikrinti datafiles kad priklauso tablespace . .

  8. Continue with the recovery process. Tęsti su išieškojimo proceso.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Mašininio vertimo, gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


11 Responses to “How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile” 11 Responses to "Kaip upuść Tablespace ir Atkurti duomenų bazę Oracle Kai atsitiktinai Ištrinti Datafile"

  1. Dan Dan
    May 21st, 2009 10:08 Gegužė 21, 2009 10:08
    11 11

    Exactly what I needed! Lygiai ką reikia! Thanks for saving what seemed to be a wretched issue! Dėkojame už taupymo, kas atrodė Apgailėtinus klausimą!

  2. lara Lara
    April 20th, 2009 20:47 Balandis 20, 2009 20:47
    10 10

    thanks a million. Thanks a million.
    ura life saver ura gyvenimo Saugotojai

  3. Dewan Gazzali Dewan Gazzali
    February 19th, 2009 06:49 Vasaris 19, 2009 06:49
    9 9

    This is a life saver …. Tai gyvenimo užsklandą .... this works fine in oracle 10G HP itenium (or any where else). tai veikia gerai, Oracle 10g HP itenium (ar bet kur kitur).
    great doc. didelis dok.
    thanks ačiū
    Dewan Gazzali Dewan Gazzali

  4. Nora Nora
    December 17th, 2008 13:53 Gruodis 17, 2008 13:53
    8 8

    *2nds last post* * 2nds paskutinė žinutė *

  5. Michael Michael
    November 6th, 2008 06:15 M. lapkričio 6 2008 06:15
    7 7

    You are a life saver!!!!!! Jūs esate gyvenimą taupymo !!!!!!

  6. mark ženklas
    October 28th, 2008 03:09 Spalis 28, 2008 03:09
    6 6

    I ran a script to create a user w/o checking it closely enough. I ran scenarijų sukurti vartotoją w / o tikrinant ji glaudžiai pakankamai. Next thing you know, my db won't start because it is looking for a data file that doesn't exist. Kitas dalykas, kad jūs žinote, mano db nebus, nes ji ieško duomenų bylą, kuri neegzistuoja. This tip helped me get around the error quickly. Šis patarimas padėjo man išvengti klaidos greitai. Thanks for posting it. Thanks for posting it.

  7. Steve Steve
    October 9th, 2008 02:31 Spalis 9, 2008 02:31
    5 5

    Thank you for taking the time to post this very valuable information. Ačiū, kad radote laiko rašyti tai labai vertinga informacija. :)

  8. Cesar Cesar
    September 2nd, 2008 00:31 Rugsėjis 2, 2008 00:31
    4 4

    Thank you very much, this was really helpful. Thank you very much, tai buvo labai naudingas.
    I had problems dropping the tablespace, i had to drop the user also. Aš turėjau problemų paliekant tablespace, ir turėjo palikti naudotojas.

  9. ravisha ravisha
    July 8th, 2008 19:31 8 liepa 2008 19:31
    3 3

    This info helped us to a very great extent and hence we are able to proceed further smoothly. Ši informacija padėjo mums labai didele dalimi ir tokiu būdu mes galėsime tęsti sklandžiai.

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

    These are only to drop the TS Tai yra tik lašas TS

    but not to recover… bet ne susigrąžinti ...

    hence the worst…. taigi blogiausiu ....

  11. How to Remove and Drop Datafiles from Tablespace in Oracle Database » My Digital Life Kaip pašalinti ir upuść Datafiles iš Tablespace į duomenų bazę Oracle »Mano skaitmeninis gyvenimas
    August 4th, 2007 02:57 Rugpjūčio 4 2007 02:57
    1 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. [...] Jei viena ar daugiau datafiles nėra po regeneravimo proceso ar netyčia ištrinti, galite naudoti ALTER DATABASE DATAFILE <datafile pavadinimas Offline DROP komanda padaryti datafile neprisijungus, kad duomenų bazė pradeda po kurių Trikdė tablespace gali būti nutrauktas. (See instruction to recover from missing datafiles.) [...] (Žiūrėkite instrukcijas tam, kad susigrąžintų iš trūkstamų datafiles.) [...]

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> Galite naudoti šias žymeles: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive registruotis, norint gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Pradedantys Paieška Sąlygos straipsnį

recover tablespace oracle susigrąžinti tablespace orakulas - -- alter tablespace offline drop pakeisti tablespace atjungties lašas - -- drop tablespace offline drop tablespace neprisijungę - -- drop tablespace drop tablespace - -- drop tablespace oracle drop tablespace orakulas - -- drop tablespace force drop tablespace jėga - -- alter database drop tablespace keisti duomenų bazę išskleidžiamajame tablespace - -- offline drop atjungties lašas - -- oracle restore datafile orakulas atkurti datafile - -- oracle startup database without tablespace orakulas Paleisties duomenų bazę tablespace - -- oracle database file recovery Oracle duomenų bazės failą išieškojimo - -- restore drop tablespace atkurti išskleidžiamajame tablespace - -- drop oracle datafile išskleidžiamajame orakulas datafile - -- recover oracle tablespace susigrąžinti orakulas tablespace - -- restore oracle tablespace atkurti orakulas tablespace - -- oracle 11 tablespace orakulas 11 tablespace - -- oracle drop deleted tablespace orakulas išskleidžiamajame Išbraukta tablespace - -- drop tablespace including contents drop tablespace įskaitant turinį - -- force drop tablespace oracle jėgos sumažėjimas tablespace orakulas - -- how to restore datafile in oracle kaip atkurti datafile į orakulas - -- oracle offline drop tablespace orakulas atjungties išskleidžiamajame tablespace - -- recovery data file +oracle išieškojimo duomenų rinkmeną + orakulas - -- recover dropped tablespace without catalog susigrąžinti sumažėjo tablespace be katalogas - -- how to recover a tablespace oracle kaip susigrąžinti tablespace orakulas - -- dropping tablespace in oracle lašinamojo tablespace į orakulas - -- recover tablespace after drop susigrąžinti tablespace po kritimo - -- recover oracle database susigrąžinti Oracle duomenų bazės - -- recovering data file in oracle atsigauna duomenų bylą orakulas - -- tablespace offline drop tablespace atjungties lašas - -- data file offline + dropping + oracle Duomenų failo atjungties + lašinamojo + orakulas - -- drop tablespace force oracle drop tablespace jėga orakulas - -- drop tablespace mount drop tablespace kalno - -- how to delete Oracle data files Kaip ištrinti "Oracle" duomenų rinkmenų - -- offline for drop Atsijungęs lašas - -- oracle drop tablespace orakulas išskleidžiamajame tablespace - -- recover the corrupted data files in Oracle Databases susigrąžinti sugadintų duomenų failus Oracle duomenų bazių - -- recover a tablespace which is dropped in oracle 10g atkurti tablespace kuris sumažėjo Oracle 10g - -- drop tablespace recovery drop tablespace išieškojimo - -- how to recover tablespace kaip atgauti tablespace - -- offline drop datafile ( oracle ) atjungties išskleidžiamajame datafile (orakulas) - -- oracle datafile recovery orakulas datafile išieškojimo - -- recovery tablespace oracle išieškojimo tablespace orakulas - -- recover tablespace in oracle susigrąžinti tablespace į orakulas - -- restore database file oracle atkurti duomenų bazės orakulas - -- sap how to add missing oracle datafile Nuobodu kaip pridėti trūkstami orakulas datafile - -- delete offline datafiles ištrinti neprisijungę datafiles - -- Oracle Offline Datafile Oracle "offline Datafile - -- recover tablespace oracle 9i susigrąžinti tablespace Oracle 9i - -- database mount offline tablespace Duomenų bazės kalno atjungties tablespace - -- drop tablespace in oracle 10g drop tablespace į Oracle 10g - --