IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database Diperlukan IMP-00016 Character Set Konversi Tidak Didukung Kesalahan ketika Impor ke Oracle Database
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. Ketika mencoba untuk mengimpor database Oracle ekspor, cadangan atau dump, Anda mungkin mengalami kesalahan di mana 00.016 IMP-menghentikan impor sebelum waktunya, dan tidak dapat digunakan untuk melanjutkan ke tempat tujuan impor database Oracle. The error has the following message: Kesalahan ini pesan berikut:
IMP-00016: required character set conversion (type 1 to 871) not supported IMP-00016: set karakter diperlukan konversi (tipe 1-871) tidak didukung
IMP-00000: Import terminated unsuccessfully IMP-00000: Import diakhiri gagal
Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment. Perhatikan bahwa ekspor Anda tergantung pada file dan database character set, maka "type 178-871" dapat berubah dari masing-masing lingkungan. Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871. Lainnya konversi set karakter khas tidak didukung kesalahan termasuk dari jenis 178-871 atau dari tipe 31-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. Penyebab kesalahan Oracle adalah karena utilitas impor tidak dapat mengubah format karakter ekspor file ke format karakter asli yang merupakan pengaturan dari sistem operasi klien. 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. Di dunia lain, masalah ini disebabkan oleh fakta bahwa ada masalah konversi antara dump ekspor tujuan file dan database yang memiliki karakter yang berbeda nilai yang ditetapkan ketika impor Oracle utilitas mencoba untuk mengimpor database yang diekspor dengan menggunakan Unix's NLS_LANG nilai variabel lingkungan lokal . 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. Jika lingkungan sistem operasi tidak menunjukkan nilai NLS_LANG, impor (dan juga ekspor) akan dilakukan dalam US7ASCII sebagai nilai default untuk NLS_LANG pada platform UNIX adalah AMERICAN_AMERICA.US7ASCII, terlepas dari characterset database.
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. Resolusi untuk menyelesaikan IMP-00016 adalah untuk menetapkan parameter yang NLS_LANG OS lokal variabel env nilai yang sesuai dengan karakter set tujuan database dan mengimpor file dump. NLS_LANG can be change by using set or export command. NLS_LANG dapat berubah dengan menggunakan perintah set atau ekspor. For example: Contoh:
$ export NLS_LANG=.WE8ISO8859P1 $ Export NLS_LANG =. WE8ISO8859P1
NLS_LANG is set in the registry on Windows platforms. NLS_LANG diatur dalam registri pada Windows platform. For example, on an English Windows client, the code page is WE8MSWIN1252. Sebagai contoh, pada klien Windows inggris, halaman kode WE8MSWIN1252. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. Pengaturan yang tepat untuk NLS_LANG adalah 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: Anda dapat memeriksa rangkaian karakter dari database Oracle SQL * Plus dengan menggunakan perintah berikut untuk mendaftarkan semua informasi NLS:
SQL> col value format a25 SQL> col format nilai A25
SQL> col parameter format a25 SQL> col format parameter A25
SQL> select * from v$nls_parameters; SQL> select * from v $ nls_parameters;
In the rows returned, NLS_CHARACTERSET will list the character set of the database. Di deretan kembali, NLS_CHARACTERSET daftar akan karakter set database. In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following: Dalam situasi yang ideal untuk menghindari dan memperkecil potensi kesalahan, yang direkomendasikan berlatih akan menjadi seperti berikut:
At the system where database export is taken: Set NLS_LANG=. Pada sistem di mana ekspor database diambil: Set 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. Tetapkan nilai NLS_LANG sistem operasi yang sesuai dengan sumber atau tujuan database character set akan membiarkan Oracle mengasumsikan bahwa data yang dikirim atau diterima akan dikodekan dalam karakter yang sama ditetapkan sebagai database character set, jadi tidak ada validasi atau konversi dilakukan. This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary. Hal ini dapat menyebabkan merusak data jika klien halaman kode dan database set karakter yang berbeda dan konversi diperlukan. 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. Ini lebih dari sebuah isu jika database sumber dan tujuan memiliki set karakter yang berbeda, dan sumber database berisi karakter khusus (misalnya cina, Jepang, Spanyol, jerman, khusus huruf atau karakter lain, yang tidak terdapat dalam US7ASCII), target database akan kehilangan karakter asli dan menunjukkan karakter dan bukan pengganti. So, it's best if the source and destination database has the same or similar character set. Jadi, lebih baik jika sumber dan database tujuan yang sama atau mirip set karakter. 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: Untuk memeriksa karakter set bahwa ekspor dan dump database-nya menggunakan, periksa log ekspor, characterset informasi yang harus ada pada awal log: Export done in US7ASCII character set and AL16UTF16 NCHAR character set Ekspor dilakukan US7ASCII set karakter dan karakter set 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: Similary, log impor akan berisi informasi tentang karakter apa yang mengatur proses impor gunakan dan juga untuk target database, ditambah mungkin pesan peringatan, bahkan jika impor gagal dengan error IMP-00016, pada awal log impor: import done in US7ASCII character set and AL16UTF16 NCHAR character set impor dilakukan di US7ASCII karakter set dan karakter set AL16UTF16 NCHAR IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
server uses WE8MSWIN1252 character set (possible charset conversion) server menggunakan set karakter WE8MSWIN1252 (mungkin konversi charset)
import server uses UTF8 character set (possible charset conversion) digunakan oleh server impor UTF8 character set (charset mungkin konversi)
export server uses UTF8 NCHAR character set (possible ncharset conversion) menggunakan server ekspor UTF8 character set NCHAR (mungkin ncharset konversi) Related Articles Artikel Terkait









































