ORA-01502 Oracle Index in Unusable State庫存- 01502甲骨文指數在使用的國家

When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error:當試圖執行查詢關於Oracle表與選擇的SQL語句,甲骨文將返回以下錯誤:

ORA-01502: index ’string.string’ or partition of such index is in unusable state庫存- 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:您可以:

  1. Drop the specified index and/or recreate the index下拉指定索引和/或再現指數
  2. Rebuild the specified index重建指定索引
  3. Rebuild the unusable index partition重建使用的分區指數

Generally, the following SQL manipulation language will be able to rebuild the unusable index:一般來說,下列SQL操作語言將能夠重建使用的指數:

ALTER INDEX index_name改變指數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 我的數字生活論壇 .



4 Responses to “ORA-01502 Oracle Index in Unusable State” 4回應“庫存- 01502甲骨文指數在使用的國家”

  1. sandeep
    September 19th, 2006 22:28 2006年9月19日22時28分
    1

    What about with Oracle 9i option SKIP UNUSABLE INDEXES?如何與甲骨文公司的9 i選項跳過使用的指標呢? Pls Explain.薪酬水平調查的解釋。

  2. Kalle kalle
    March 6th, 2007 16:51 2007年3月6日16時51分
    2

    At least in oracle10 the status could also be ‘UNUSABLE’至少在oracle10的地位,也可以『使用』

  3. ORA-01502: Indexes in unusable state « PSST0101庫存- 01502 :指標在使用國家« psst0101
    February 6th, 2008 06:31 2008年2月6日6時31分
    3

    [...] ORA-01502 Oracle Index in Unusable State [...] [ … … ]庫存- 01502甲骨文指數在使用的國家[ … … ]

  4. sabry
    August 21st, 2008 14:49 2008年8月21日14時49分
    4

    thanks… the alter table fix worked感謝…該改變表修復工作

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傳入的搜索條件文章

ora-01502 庫存- 01502 - - oracle index unusable 甲骨文指數使用 - - index unusable 指數無法使用 - - ora 01502 庫存01502 - - ORA-01502: 庫存- 01502 : - - oracle unusable index 甲骨文不可指數 - - Unusable index 使用指數 - - ora-01502: index 庫存- 01502 :指數 - - ORACLE index status Oracle的索引狀態 - - index UNUSABLE oracle 指數使用甲骨文 - - ORA-01502: index 庫存- 01502 :指數 - - ORA-01502: 庫存- 01502 : - - unusable Index Oracle 使用指數甲骨文 - - ORA-01502 庫存- 01502 - - oracle disable index 甲骨文禁用指數 - - oracle ora-01502 甲骨文庫存- 01502 - - oracle index unusable state 甲骨文指數使用的國家 - - index is in unusable state 指數是在使用國家 - - unusable indexes 使用指標 - - oracle unusable indexes 甲骨文無法使用指標 - - ORA-01502 庫存- 01502 - - alter index unusable 改變指數使用 - - oracle invalid index 甲骨文無效指數 - - "ORA-01502" “ + - 01502 ” - - skip unusable index 跳過使用指數 - - index unusable state 指數使用的國家 - - rebuild unusable indexes 重建使用的指標 - - index status unusable 指數的地位,無法使用 - - oracle index status unusable Oracle的索引狀態無法使用 - - ORA-01502 ORACLE 庫存- 01502甲骨文 - - all 全部 - - oracle index is in unusable state 甲骨文指數是在使用國家 - - UNUSABLE index in oracle 使用指數在Oracle - - oracle index in unusable state 甲骨文指數在使用的國家 - - rebuild unusable index 重建使用指數 - - unusable indexes in oracle 使用指標的甲骨文 - - ORA-01502: index partition of such index is in unusable state 庫存- 01502 :指數分割等指數是在使用國家 - - SKIP UNUSABLE INDEXES 跳過使用指標 - - ORA - 01502 庫存-0 1502 - - index status oracle 索引狀態甲骨文 - - oracle rebuild unusable index 甲骨文重建使用指數 - - oracle index disable 甲骨文指數禁用 - - invalid index oracle 無效指數甲骨文 - - oracle 01502 甲骨文01502 - - invalid indexes 無效指標 - - Rebuild the unusable index partition 重建使用的分區指數 - - index unusable state oracle 指數使用國家甲骨文 - - oracle index state 甲骨文指數狀態 - - disable index oracle 禁用指數甲骨文 - - ORA:01502 庫存: 01502 - - Oracle Indexes Unusable 甲骨文指標的使用 - - Index status in oracle 指數的地位,在Oracle - - ORACLE INDEX INVALID 甲骨文指數無效 - - index partition unusable 指數分區使用 - - oracle check index status 甲骨文檢查索引狀態 - - oracle alter index unusable 甲骨文改變指數使用 - - oracle partition index unusable 甲骨文分區指數使用 - - index in unusable state oracle 指數在使用國家甲骨文 - - UNUSABLE oracle index 使用甲骨文指數 - - unusable indexes oracle 使用指標的甲骨文 - - oracle skip unusable 甲骨文跳過使用 - - index unusable in oracle 指數的使用在Oracle - - INDEX ORACLE UNUSABLE 指數甲骨文無法使用 - - oracle unusable 甲骨文無法使用 - - rebuild unusable local indexes 重建使用本地指標 - - ORA-01502 + oracle 庫存- 01502 +甲骨文 - - ORA-01502 error 庫存- 01502錯誤 - - oracle partition of such index is in unusable state 甲骨文公司分割等指數是在使用國家 - - oracle index usable 甲骨文指數可用 - - index in unusable state 指數在使用的國家 - - index status unusable oracle 索引狀態使用甲骨文 - - disable index in oracle 禁用指數在Oracle - - why Index unusable 為什麼指數使用 - - oracle ora 01502 甲骨文電腦01502 - - oracle unusable state 甲骨文使用國家 - -