How to Rename or Move Oracle Tablespace Datafile to Another Locationどのように名前を変更したり、別の場所にOracleの表領域データファイルの移動

Oracle database does not provide an easy user interface to rename a datafile of tablespace, nor database administrator can easily move or relocate the datafile to another location or directory that different from original location on creation of database. Oracleデータベースの表領域のデータファイルの名前を変更したり、データベース管理者は簡単に移動するか、または別の場所またはディレクトリは、データベースの作成時に元の場所から別のデータファイルへの移転は簡単なユーザーインターフェイスを提供していません。 The rename or move place task has to be performed via Oracle SQLPlus command line interface.タスクの名前を変更したり場所を移動OracleのSQLPlusコマンドラインインターフェイスを介して実行されていない。 However, if the operation is performed when the tablespace which owns the datefile is online, error will occur.ただし、操作を実行する場合は、表領域がオンラインであるdatefileを所有していると、エラーが発生します。

The error message may include the following:このエラーメッセージは次のものがあります:

ORA-01511: error in renaming log/data filesログの名前を変更でのORA - 01511 :エラー/データファイル
ORA-01121: cannot rename database file <string> - file is in use or recoveryのORA - 01121 :データベースファイル<string> -ファイルの名前を変更することはできません使用や回復している
ORA-01110: data file <string>: ‘datafile.dbf’のORA - 01110 :データ<string>ファイル: ' datafile.dbf '

To properly move the datafile around or rename the datafile, follow this guide:正しくは、周りデータファイルまたはデータファイルの名前を変更すると、このガイドに従って移動するには:

  1. Login to SQLPlus. SQLPlusログインしてください。
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. DBAのSYSとして接続すると接続/ SYSDBA権限コマンドです。
  3. Shutdown the database instance with SHUTDOWN command. SHUTDOWNコマンドでシャットダウンは、 データベースインスタンスを生成します。
  4. Rename or/and move the datafiles at operating system level.または名前の変更/およびオペレーティングシステムレベルでのデータファイルを移動します。
  5. Start Oracle database in mount state with STARTUP MOUNT command. Oracleデータベースでスタートスタートアップ山のコマンドで状態をマウントしてください。
  6. Modify the name or location of datafiles in Oracle data dictionary using following command syntax:の名前またはOracleデータのデータファイルの場所の辞書を使用して以下のコマンドの構文を変更:

    ALTER DATABASE RENAME FILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’;元のデータへのALTER DATABASEをファイル名の変更' <fully修飾パスファイル名'に<newまたは元の完全新規または元のデータファイルへのパスを修飾名' ;

  7. Open Oracle database instance completely with ALTER DATABASE OPEN command.オープンなALTER DATABASEコマンドでOracle データベースのインスタンスを完全にオープン。

If the datafiles that need to be changed or moved do not belong to SYSTEM tablespaces, and do not contain active rollback segments or temporary segments, there is another workaround that does not require database instance to be shutdown.変更される場合は、データファイルが必要とするか、システムテーブルスペースに属していない移動し、積極的なロールバックセグメントまたは一時的なセグメントが含まれていないが、別のデータベースインスタンスをシャットダウンする必要はありません回避策はありません。 Instead, only the particular tablespace that contains the date files is taken offline.オフラインには代わりに、特定の表領域は、日のみのファイルが含まれている。

  1. Login to SQLPlus. SQLPlusログインしてください。
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. DBAのSYSとして接続すると接続/ SYSDBA権限コマンドです。
  3. Make offline the affected tablespace with ALTER TABLESPACE <tablespace name> OFFLINE; command. <tablespaceと、 影響を受けるのALTER TABLESPACE 表領域名オフラインオフラインにする;コマンドです。
  4. Modify the name or location of datafiles in Oracle data dictionary using following command syntax:の名前またはOracleデータのデータファイルの場所の辞書を使用して以下のコマンドの構文を変更:

    ALTER TABLESPACE <tablespace name> RENAME DATAFILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’; <tablespaceのALTER TABLESPACE名RENAMEデータファイル' <fully修飾パス元のデータファイル名'に<newまたは元の完全新規または元のデータファイルへのパスを修飾名' ;

  5. Bring the tablespace online again with ALTER TABLESPACE alter tablespace <tablespace name> ONLINE; command.再度のALTER TABLESPACE名オンライン; <tablespaceコマンド表領域を変更するには、表領域オンラインにします。

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 私のデジタルライフフォーラム .



One Response to “How to Rename or Move Oracle Tablespace Datafile to Another Location” 1つの応答"の名前を変更する方法、または別の場所にOracleのテーブルスペースのデータファイルの移動"

  1. soma for sale販売用相馬
    September 17th, 2008 08:39 9月17日、 2008年08:39
    1

    sftugp jlnu rpwhl lutho sftugp jlnu rpwhl lutho

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=""> <acronym title=""> <b>ダウンロード<blockquote cite=""> <cite>の<code> <デル日時= " " >の<em> <i> <q cite=""> <strike> <strong>

Subscribe without commentingチャンネル登録コメントなし


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article着信は、文書の検索利用規約

rename datafile データファイルの名前を変更する - - oracle move datafile Oracleの動きデータファイル - - oracle move tablespace Oracleの表領域を移動 - - move tablespace 表領域を移動 - - oracle rename datafile Oracleのデータファイルの名前を変更する - - oracle move datafiles Oracleのデータファイルを移動 - - rename datafile oracle Oracleのデータファイルの名前を変更する - - move datafile 移動データファイル - - change datafile location データファイルの場所を変更 - - oracle datafile rename Oracleのデータファイルの名前を変更する - - rename oracle datafile Oracleのデータファイルの名前を変更する - - oracle show tablespaces Oracleの番組表領域 - - move oracle datafile 移動Oracleのデータファイル - - oracle tablespace location Oracleテーブルスペースの場所 - - oracle tablespace path Oracleテーブルスペースのパス - - all すべての - - move datafile oracle 移動データファイルのOracle - - oracle show datafiles Oracleのデータファイルを表示 - - move datafiles oracle Oracleのデータファイルを移動 - - rename data file データファイルの名前を変更する - - oracle rename Oracleの名前を変更する - - oracle show tablespace Oracleの番組表領域 - - move tablespace oracle Oracleの表領域を移動 - - Move Oracle Tablespace Oracleの表領域を移動 - - sqlplus show tablespaces sqlplus番組表領域 - - Oracle change datafile location Oracleのデータファイルの場所を変更 - - oracle tablespace Oracleテーブルスペース - - mover datafile 発動データファイル - - move oracle datafiles Oracleのデータファイルを移動 - - oracle datafile name Oracleのデータファイル名 - - sqlplus show tablespace sqlplus番組表領域 - - change oracle datafile path 変更Oracleのデータファイルのパス - - change tablespace name 表領域の名前を変更 - - oracle move temp file Oracleの一時ファイルを移動する - - move datafiles データファイルを移動 - - How to Rename or Move Oracle Tablespace Datafile to Another Location どのように名前を変更したり、別の場所にOracleの表領域データファイルの移動 - - ORA-01511: error in renaming log/data filesログの名前を変更でのORA - 01511 :エラー/データファイル - - rename oracle tablespace Oracleの表領域の名前を変更する - - datafile rename データファイルの名前を変更する - - mover datafile oracle Oracleのデータファイルを動かす - - move data file データを移動させるファイル - - alter datafile rename データファイルの名前を変更する - - rename datafile in oracle Oracleデータファイルの名前を変更する - - move tablespace datafile 移動表領域データファイル - - move datafile in oracle Oracleの動きデータファイル - - alter datafile move データファイルの移動を変える - - change datafile name データファイル名を変更 - - Oracle tablespace filename Oracleの表領域のファイル名 - - Oracle move tablespace file Oracleの表領域のファイルを移動 - - how to rename a datafile データファイルの名前を変更する方法 - - rename datafiles データファイルの名前を変更する - - move datafiles in oracle Oracleのデータファイルを移動 - - oracle tablespace rename Oracleの表領域の名前を変更する - - ORACLE MOVE DATAFILE TO ANOTHER TABLESPACE Oracleのデータファイル別の表領域を移動する - - how to move oracle datafile Oracleのデータファイルを移動する方法 - - oracle move system datafile Oracleの移動システムデータファイル - - oracle tablespace name Oracleの表領域名 - - mover datafiles データファイルを動かす - - oracle alter move Oracleの動きを変える - - oracle tablespace files Oracleテーブルスペースファイル - - move datafile online 移動データファイルオンライン - - oracle move temp datafile Oracleの動き気温データファイル - - MOVE ORACLE DATA FILE Oracleデータファイルを移動 - - renaming datafiles データファイルの名前を変更 - - oracle tablespace move Oracleの表領域を移動 - - MOVE DATAFILE TO ANOTHER TABLESPACE データファイル別の表領域を移動する - - RENAME ORACLE RENAMEオラクル - - Oracle data file path Oracleのデータパスファイル - - oracle change datafile path Oracleのデータファイルのパスを変更する - - renaming an oracle database Oracleデータベースの名前を変更 - - oracle オラクル - - move oracle database 移動Oracleデータベース - - oracle move tablespace data file Oracleの表領域のデータファイルを移動 - - Moving Oracle Datafiles Oracleのデータファイルを移動する - - rename a datafile in oracle Oracleのデータファイルの名前を変更する - -