ORA-01502 Oracle Index in Unusable StateメールORA - 01502 Oracleのインデックスを使用不能な状態に
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error:クエリを実行しようとしたときにOracleをテーブルにSQLステートメントを選択し、 Oracleの戻り値は、次のエラーが発生:
ORA-01502: index ’string.string’ or partition of such index is in unusable stateメールORA - 01502 :インデックス' string.string 'またはパーティションにこのようなインデックスが使用不能な状態に
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.のエラーが発生する試みを示しされたり、インデックスを作成パーティションにアクセスするにインデックスされてきたスパムを使用不可能にされたりされたのDDLの負荷を直接操作します。
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations.ときに発生する問題は、通常のパスを使用して、直接は、 SQL *ローダは、直接負荷またはのDDL操作します。 This requires enough temporary space to build all indexes of the table.この一時的な空間を構築する必要が十分にして、表のすべてのインデックスです。 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’.十分なスペースがない場合は、テーブルスペースの気温は、すべての行が読み込まれ、インポートがありますが、インデックスは左のステータス= '無効' 。
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = ‘INVALID’; SQL statement.無効なインデックスを選択*を調べるにはどこからuser_indexes状態= '無効' ; SQLステートメントです。
Solution to this error is simple.このエラーの解決策は単純です。 You can:することができます:
- Drop the specified index and/or recreate the indexドロップで指定されたインデックスおよび/またはインデックスを再作成
- Rebuild the specified index指定されたインデックスを再構築する
- Rebuild the unusable index partitionパーティションを使用不可能にインデックスを再構築する
Generally, the following SQL manipulation language will be able to rebuild the unusable index:通常は、次のSQL操作言語使用できなくなることができるのインデックスを再構築するに:
ALTER INDEX index_nameインデックスインデックスを変更 REBUILD 再構築
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 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Oracle Database Import Error 3113/3114 Oracleデータベースにインポートエラーが発生3114分の3113
- Manual and Clean Uninstall Oracle for Windowsオラクル、 Windowsのマニュアルおよび清潔度をアンインストール
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error作成、追加、またはOracleデータベースのパーティション分割が失敗するのOra - 14080エラーが発生
- ORA-02449 Oracle Drop Table Errorエラーが発生OracleのドロップテーブルのOra - 02449
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace ErrorオラクルのOra - 01658の範囲の最初のセグメントを作成できない場合は、テーブルスペースのエラーが発生
- ORA-00942 Table or View Does Not Exist Oracle ErrorメールORA - 00942テーブルまたはビューが存在しない場合はOracleのエラーが発生
- How to Rename or Move Oracle Tablespace Datafile to Another Location Oracleのテーブルスペースの名前を変更する方法についてまたはDATAFILEのを別の場所に移動する
- Oracle ORA-14074 Create or Add New Partition Fails ErrorオラクルのOra - 14074新しいパーティションを作成または追加に失敗するエラーが発生
- Oracle Database Link Oracleデータベースのリンク
- Oracle PL/SQL ORA-00947 Not Enough Values Error OracleのPL / SQLのに十分な値エラーが発生しないのOra - 00947
















September 19th, 2006 22:28 2006年9月19日22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES?どのような会社でのOracle 9iのオプションを使用不可能にインデックスをスキップですか? Pls Explain. plsは説明します。
March 6th, 2007 16:51 2007年3月6日16:51
At least in oracle10 the status could also be ‘UNUSABLE’ oracle10の状態で、少なくともことも可能'を使用不可能に'
February 6th, 2008 06:31 2008年2月6日06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...]のOra - 01502 Oracleのインデックスを使用不能な状態に[...]
August 21st, 2008 14:49 2008年8月21日14:49
thanks… the alter table fix workedありがとう…テーブルの修正作業には、 ALTER