IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Databaseインプ- 00016必要な文字セットの変換はサポートされているエラーがOracleデータベースにインポート
When trying to import an Oracle database export, backup or dump, you may encounter the error IMP-00016 where the import terminate prematurely and not allow you to continue the import to the destination Oracle database.ときにOracleデータベースをエクスポートすると、バックアップやダンプをインポートしようとすると、エラーが発生することがありますIMP - 00016は、インポート途中で終了する場合は、目的地とOracleデータベースへのインポートを続行することができません。 The error has the following message:このエラーは、次のメッセージがあります:
IMP-00016: required character set conversion (type 1 to 871) not supported IMP - 00016 :必要な文字セットの変換(タイプ1から871まで)をサポートしていない
IMP-00000: Import terminated unsuccessfully IMP - 00000 :インポート失敗終了
Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment.は、お客様のエクスポートファイルとデータベースの文字セットは、 "タイプ178から871に応じて"それぞれの環境から変更することがあります注意してください。 Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871.他の一般的な文字変換エラーがサポートされていないセットの種類やタイプ31から178 871から871に含まれています。
The cause for the Oracle error is because import utility could not convert the character format of the export file into the native character format which is the setting of the operating system client.ため、インポートユーティリティーは、オペレーティングシステムのクライアントの設定をされているネイティブの文字形式にエクスポートするファイルの文字形式に変換することができませんでしたは、 Oracleエラーの原因です。 In other world, the issue is due to the fact that there is conversion problem between the export dump file and the destination databases which have different character set value when Oracle import utility try to import the exported database by using the Unix’s NLS_LANG local environment variable value.他の世界では、問題は、実際は、エクスポートダンプファイルとは異なる文字セット値がOracleのインポートユーティリティは、 UnixののNLS_LANGのローカル環境を使用してデータベースをインポートしようとしているエクスポート先のデータベース間の変換問題があるためだ変数の値。 If the operating system environment doesn’t show the value of NLS_LANG, the import (and also export) will be done in US7ASCII as the default value for NLS_LANG on UNIX platforms is AMERICAN_AMERICA.US7ASCII, regardless of the database characterset. NLS_LANGの場合は、オペレーティングシステム環境は、 UNIXプラットフォーム上でNLS_LANGのUS7ASCIIでのデフォルト値として行われるの輸入(輸出)の値が表示されないのはAMERICAN_AMERICA.US7ASCIIに関係なく、データベースの文字セットの一つです。
The resolution to resolve the IMP-00016 is to set the the NLS_LANG parameter in local OS env variable value to match the character set of the destination database and import the dump file.決議案はIMP - 00016を解決するために環境変数の値は、文字が、先のデータベースの設定と一致するようにと、ダンプファイルをインポートするローカルOSでは、 NLS_LANGのパラメータを設定することです。 NLS_LANG can be change by using set or export command. NLS_LANGの変更を設定したり、エクスポートコマンドを使用してすることができます。 For example:例えば:
$ export NLS_LANG=.WE8ISO8859P1 $輸出NLS_LANGの=. WE8ISO8859P1
NLS_LANG is set in the registry on Windows platforms. NLS_LANGのWindowsプラットフォーム上のレジストリに設定されている。 For example, on an English Windows client, the code page is WE8MSWIN1252.たとえば、英語版のWindowsクライアント上で、コードページWE8MSWIN1252されています。 An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. NLS_LANGのための適切な設定AMERICAN_AMERICA.WE8MSWIN1252されています。
You can check the character sets of the Oracle database in SQL*Plus by using following commands to list all NLS information:あなたは文字をチェックすることができますでは、 OracleデータベースのSQL * Plusのコマンドを以下のリストに、すべてのNLS情報を使用して設定します:
SQL> col value format a25のSQL >列値の形式a25
SQL> col parameter format a25のSQL >列パラメータのフォーマットa25
SQL> select * from v$nls_parameters;のSQL > * Vの$ nls_parametersから選択してください。
In the rows returned, NLS_CHARACTERSET will list the character set of the database.の行では、 NLS_CHARACTERSETの文字は、データベースのセットリストが返されます。 In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following:理想的な状況では、潜在的なエラーの最小化を避けるためには、推奨さ練習は、次のようになります:
At the system where database export is taken: Set NLS_LANG=.このシステムではデータベースをエクスポートしたものです: NLS_LANGの設定=. Set the operating system NLS_LANG value to match the source or destination database character set will let Oracle assumes that the data being sent or received is encoded in the same character set as the database character set, so no validation or conversion is performed. Oracleは、オペレーティングシステムのデータを受信または送信される同じ文字は、データベースの文字セットとして設定でエンコードされるので、検証または変換を実行されていないと仮定できるようになるのソースやリンク先データベースの文字セットと一致するようにNLS_LANGの値を設定します。 This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary.場合は、クライアントのコードページとデータベースの文字セットを別のデータが壊れているため、コンバージョンにつながることができる必要があります。 It’s more of an issue if source and destination databases have different character set, and source database contains special characters (for example chinese, japanese, spanish, german, special letters or other characters, which are not contained in US7ASCII), the target database will lose the original characters and show replacement characters instead.発信元と宛先のデータベースの場合、別の文字を設定しているソースのデータベース(例えば中国語、日本語、ドイツ語、 US7ASCIIに含まれていない特殊な文字やその他の文字は、スペイン語)の特殊文字が含まれてそれは問題のより多くの、ターゲットデータベースは、元の文字を失うことになるとの代わりに代替文字が表示されます。 So, it’s best if the source and destination database has the same or similar character set.場合は、発信元と宛先のデータベースを持っているだから最高の、それは、同じまたは類似した文字セット。 To check the character set that a dump export and its database is using, check the export log, the characterset information should exists at the beginning of the log:その文字は、ダンプをエクスポートし、データベース、エクスポートログのチェックを使用している設定を確認するには、文字情報をすべきは、ログの冒頭に存在する: Export done in US7ASCII character set and AL16UTF16 NCHAR character set輸出US7ASCII文字セットおよびAL16UTF16 NCHAR文字セットで行わ Similary, the import log will contain the information about what character set the import process is using and also for the target database, plus possible warning message, even if the import failed with IMP-00016 error, at the beginning of the import log:似通った、インポートのログのインポート処理を設定し、ターゲットデータベースに対しても、プラスでも、失敗した場合は、インポートするとIMP - 00016のエラーは、ログの冒頭にインポート可能な警告メッセージを使用している何文字に関する情報が含まれます: import done in US7ASCII character set and AL16UTF16 NCHAR character set輸入US7ASCII文字セットとNCHAR文字セットで行わAL16UTF16 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 私のデジタルライフフォーラム . 。
server uses WE8MSWIN1252 character set (possible charset conversion)サーバーWE8MSWIN1252文字セット(可能な文字セットの変換)を使用します
import server uses UTF8 character set (possible charset conversion)インポートサーバーがUTF - 8文字セット(可能な文字セットの変換)を使用します
export server uses UTF8 NCHAR character set (possible ncharset conversion)エクスポートサーバーがUTF8 NCHAR文字セット( ncharset変換可能)を使用します
Related Articles関連記事
































