ORA-01502 Oracle Index in Unusable State ORA-01502 Oracle Indeks di Negara Tidak Dapat Digunakan
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Ketika mencoba untuk melakukan query pada tabel Oracle dengan memilih pernyataan SQL, Oracle mengembalikan error berikut:
ORA-01502: index 'string.string' or partition of such index is in unusable state ORA-01502: index 'string.string' atau partisi tersebut tidak dapat digunakan indeks di negara
The error indicates an attempt has been made to access an index or index partition that has been marked unusable by a direct load or by a DDL operation. Kesalahan menunjukkan usaha telah dibuat untuk mengakses indeks atau indeks partisi yang sudah ditandai tidak dapat digunakan oleh beban langsung atau melalui operasi DDL.
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Masalah biasanya terjadi bila menggunakan Direct Path untuk SQL * Loader, beban atau DDL langsung operasi. This requires enough temporary space to build all indexes of the table. Sementara ini cukup membutuhkan ruang untuk membangun semua indeks dari tabel. If there is no enough space in TEMP tablespace, all rows will still be loaded and imported, but the indices are left with STATUS = 'INVALID'. Jika tidak ada cukup ruang dalam tablespace TEMP, semua baris akan tetap dimuat dan impor, tetapi indeks dibiarkan dengan STATUS = 'INVALID'.
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = 'INVALID'; SQL statement. Indeks tidak valid dapat diperiksa dengan SELECT * dari USER_INDEXES WHERE STATUS = 'INVALID'; pernyataan SQL.
Solution to this error is simple. Solusi untuk kesalahan ini sederhana. You can: Anda dapat:
- Drop the specified index and/or recreate the index Drop indeks tertentu dan / atau membuat ulang indeks
- Rebuild the specified index Membangun kembali indeks tertentu
- Rebuild the unusable index partition Membangun kembali indeks unusable partisi
Generally, the following SQL manipulation language will be able to rebuild the unusable index: Secara umum, bahasa manipulasi SQL berikut ini akan mampu membangun kembali tidak dapat digunakan indeks:
ALTER INDEX index_name ALTER INDEX index_name REBUILD Rebuild
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.
Related Articles Artikel Terkait
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 Buat atau Tambah Partisi Baru Gagal Kesalahan
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Membuat, Tambah atau Split Pemisahan Oracle Database Gagal dengan ORA-14080 Error
- How to Escape Characters in Oracle PL/SQL Queries Bagaimana Escape Pop di Oracle PL / SQL Queries
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Drop Tabel Error
- Check Oracle Version Oracle Periksa Versi
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 Tabel atau Lihat Tiada Oracle Error
- Oracle Database Import Error 3113/3114 Kesalahan Impor Oracle Database 3113/3114
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Tidak Cukup Nilai Kesalahan
- Oracle JDeveloper Reviews Oracle JDeveloper Ulasan
- Manual and Clean Uninstall Oracle for Windows Manual dan Clean Uninstall Oracle untuk Windows










































April 16th, 2009 03:14 16 April 2009 03:14
Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. Pernyataan pertama Anda perlu memeriksa untuk 'tidak dapat digunakan' dan bukan 'INVALID' dalam USER_INDEXES.
January 31st, 2009 04:24 31 Januari 2009 04:24
I think Oracle is having only index status as Usable/Unusabe. Saya rasa Oracle adalah indeks hanya memiliki status sebagai Usable / Unusabe.
“Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. "Skip Tidak Dapat Digunakan indeks" akan memungkinkan semua DML (Inclusing Pilih) operasi di atas meja.
Thanks & Regards, Thanks & Regards,
Deepak Deepak
August 21st, 2008 14:49 21 Agustus 2008 14:49
thanks… the alter table fix worked terima kasih ... meja altar memperbaiki bekerja
February 6th, 2008 06:31 6 Februari 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle Indeks di [...] Negara Tidak Dapat Digunakan
March 6th, 2007 16:51 6 Maret 2007 16:51
At least in oracle10 the status could also be 'UNUSABLE' Setidaknya dalam status oracle10 juga bisa 'tidak dapat digunakan'
September 19th, 2006 22:28 19 September 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? Bagaimana dengan Oracle 9i SKIP pilihan tidak bisa digunakan indeks? Pls Explain. Pls Jelaskan.