How Drop Tablespace and Recover Oracle Database When Accidentally Delete DatafileどのようドロップOracleデータベースのテーブルスペースを回復DATAFILEのときに誤って削除

Accident may happens, even though it’s costly one.事故が起こる年5月にもかかわらず、高価なことの1つです。 This is especially the case in Oracle database, which stores the database objects physically in data files on hard disk.これは特に、 Oracleデータベースの場合は、データベースオブジェクトを格納する物理的には、ハードディスク上にデータファイルです。 Fast hand administrators may accidentally delete some of the datafiles, or the datafiles may get corrupted or unreadable on hard disk failure.高速手の管理者が誤って削除いくつかのデータファイル、または破損しているかのデータファイルがあります。読み取れない、ハードディスク上にエラーが発生します。 You may get also some missing datafiles after database recovery process.ことがあります取得した後にもいくつかのデータファイル、データベースの回復プロセス行方不明です。 In any case, missing a or a few datafiles will cause Oracle database to fail to startup, rendering the whole DB inaccessible.いずれにせよ、行方不明、またはごく少数のデータファイルは、 Oracleデータベースが失敗する原因のスタートアップに、全体にレンダリングするdBのアクセスできません。

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.行方不明のデータファイルへの解決策をテーブルスペースをドロップするだけで影響を受けるには不完全なデータファイル]をクリックしてテーブルスペースに再現すると、テーブルからデータをインポートしてバックアップを実行します。 However, the steps are not so straight forward.しかし、まっすぐ進むの手順を実行されないようです。

  1. Run SQL*Plus. SQL * Plusで実行します。
  2. Connect to database as SYSDBA with this query: SYSDBAとしてデータベースに接続して、このクエリ:

    CONNECT / AS SYSDBA接続/ SYSDBAとして

  3. Mount the database instead of starting it up:データベースの代わりにマウントして起動する:

    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:次のコマンドを発行して行方不明DATAFILEをもたらすようにオフラインのOracleはないDATAFILEをしようとしてアクセスして接続し、もう:

    ALTER DATABASE DATAFILE ‘<datafile name with complete path>’ OFFLINE DROP;データベースDATAFILEを変える' <datafile名と完全なパス'オフラインドロップ;

    Repeat the command for every datafiles that unaccounted for.すべてのデータファイルのコマンドを繰り返しますが行方不明です。

  5. Now start the database proper:今すぐ起動してデータベースに適切:

    ALTER DATABASE OPEN;変更データベースを開いて;

  6. As the tablespace has damaged, drop it to recreate from fresh backup.テーブルスペースとしては、破損した場合、それを再現するドロップより新鮮なバックアップを実行します。

    DROP TABLESPACE <tablespace name> INCLUDING CONTENTS;ドロップ<tablespace名を含むテーブルの内容;

  7. Ensure the other datafiles for the tablespace has been deleted, if not, remove them manually from the operating system.テーブルスペースを確保するための他のデータファイルが削除されて、そうでない場合は、手動で削除してから、オペレーティングシステムのです。

    Tip:ヒント: How to check datafiles that belong to tablespaceデータファイルをどのように属してテーブルをチェックする .です。

  8. Continue with the recovery process.回復プロセスを続行する。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。

Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。



3 Responses to “How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile” 3つの応答を"どのようドロップOracleデータベースのテーブルスペースを回復DATAFILEのときに誤って削除"

  1. How to Remove and Drop Datafiles from Tablespace in Oracle Database » My Digital Lifeデータファイルを削除し、ドロップする方法をOracleデータベースの表領域をより»私のデジタルライフ
    August 4th, 2007 02:57 2007年8月4日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. [...] 1つまたは複数のデータファイルが存在しない場合、回復プロセスまたは誤って削除した後、 <datafile DATAFILEを使用することができますデータベース名を変更コマンドをオフラインでドロップDATAFILEをオフラインにしてデータベースを作ることは、経営難のテーブルスペースの後に起動することに下落した。 (See instruction to recover from missing datafiles.) [...] (参照命令を回復するデータファイルから行方不明です。 ) [...]

  2. LP lp
    April 2nd, 2008 18:27 2008年4月2日18:27
    2

    These are only to drop the TSこれらは0のみをドロップする

    but not to recover…しかし、回復しないように…

    hence the worst….それゆえ、最悪の… 。

  3. ravisha
    July 8th, 2008 19:31 2008年7月8日19:31
    3 4

    This info helped us to a very great extent and hence we are able to proceed further smoothly.この情報は助け問い合わせは、非常に大きな範囲やそれゆえ我々はより詳細なスムーズに続行できるようにします。

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> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

drop tablespace in oracle Oracleの表領域をドロップ - - drop tablespace ドロップテーブルスペース - - oracle drop tablespace Oracleのテーブルスペースのドロップ - - recover tablespace テーブルスペースの回復 - - drop tablespace offline ドロップテーブルスペースのオフライン - - drop tablespace ORACLE ドロップテーブルスペースのオラクル - - alter database drop tablespace データベースのテーブルを変更ドロップ - - oracle recover datafile オラクルDATAFILEを回復する - - oracle recover database Oracleのデータベースを回復する - - oracle recover tablespace Oracleのテーブルスペースの回復 - - recover oracle datafile オラクルDATAFILEを回復する - - DROP TABLESPACE MOUNT ドロップテーブルスペースのマウント - - offline drop オフラインドロップ - - recover datafile oracle 回復DATAFILEのオラクル - - recover database Oracle 回復するデータベースのOracle - - oracle drop tablespace offline Oracleのドロップテーブルスペースのオフライン - - oracle drop database データベースのOracleドロップ - - oracle drop table space Oracleのドロップテーブルスペース - - drop oracle tablespace Oracleのテーブルスペースのドロップ - - oracle offline drop Oracleのオフラインドロップ - - alter datafile offline drop オフラインドロップDATAFILEを変える - - drop datafile ドロップDATAFILEの - - offline drop tablespace オフラインドロップ表 - - oracle delete datafile オラクルDATAFILEを削除する - - recover oracle database missing data file 行方不明Oracleデータベースのデータファイルを回復 - - drop datafile offline ドロップDATAFILEのオフライン - - Recover Oracle database Oracleデータベースの回復 - - restore oracle database Oracleデータベースを復元 - - recover database in oracle オラクルのデータベースを回復する - - all すべての - - alter tablespace offline オフラインのテーブルスペースの変更 - - oracle recover Oracleの回復 - - alter database oracle Oracleのデータベースを変更 - - drop a tablespace テーブルスペースを破棄する - - recover drop tablespace テーブルスペースの回復ドロップ - - damaged missing datafiles oracle 行方不明破損したデータファイルオラクル - - drop oracle database ドロップOracleデータベース - - oracle drop tablespace with missing datafile Oracleのテーブルスペースが行方不明DATAFILEをドロップ - - drop data file データファイルをドロップ - - drop tablespace command in oracle Oracleのテーブルスペースのコマンドをドロップ - - recover dropped tablespace テーブルスペースの回復下落 - - oracle offline drop tablespace オフラインのOracleテーブルスペースのドロップ - - drop tablespace missing datafile ドロップDATAFILEのテーブルスペースの行方不明 - - how to offline the tablespace without opening the database オフラインにする方法を、データベースのテーブルスペースを開かずに - - Oracle tablespace offline drop Oracleのテーブルスペースのオフラインドロップ - - recover tablespace oracle Oracleのテーブルスペースの回復 - - oracle drop datafiles from the database which are already is deleted オラクル、データベースからデータファイルをドロップはすでにが削除さ - - oracle delete tablespace Oracleのテーブルスペースを削除 - - oracle datafile RECOVER オラクルDATAFILEを回復 - - startup mount drop tablespace スタートアップのマウントドロップ表 - -