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 टेबल पर प्रश्न करने की कोशिश कर रहा, 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. समस्या को आम तौर पर होता है जब एसक्यूएल * लोडर, प्रत्यक्ष लोड या 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 कहां से स्थिति का चयन करें * = 'अवैध' के साथ की जाँच की जा सकता है; एसक्यूएल बयान.
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: आम तौर पर, निम्न एसक्यूएल हेरफेर भाषा को निकम्मा सूचकांक के पुनर्निर्माण में सक्षम हो जाएगा:
ALTER INDEX index_name बदल सूचकांक index_name REBUILD पुनर्निर्माण
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 बनाएँ या नई विभाजन जोड़ें विफल त्रुटि
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error बनाने के लिए, जोड़ें या भाजित Oracle डाटाबेस के विभाजन के साथ विफल रहता है ORA-14,080 त्रुटि
- How to Escape Characters in Oracle PL/SQL Queries कैसे Oracle पी एल / SQL प्रश्न में वर्ण बचने के लिए
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle ड्रॉप तालिका में त्रुटि
- Check Oracle Version जांच Oracle संस्करणः
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 तालिका देखें या मौजूद नहीं है Oracle त्रुटि क्या
- Oracle Database Import Error 3113/3114 Oracle डाटाबेस के आयात त्रुटि 3113/3114
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle पी एल / एसक्यूएल ORA-00947 नहीं बस मान त्रुटि
- Oracle JDeveloper Reviews Oracle JDeveloper समीक्षाएं
- Manual and Clean Uninstall Oracle for Windows मैनुअल और स्वच्छ स्थापना रद्द करें Oracle Windows के लिए










































April 16th, 2009 03:14 16 अप्रैल 2009 03:14
Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. अपने पहले के बयान को 'बेकार की जांच करने के लिए' और 'नहीं की जरूरत है' अवैध USER_INDEXES में.
January 31st, 2009 04:24 31 जनवरी 2009 04:24
I think Oracle is having only index status as Usable/Unusabe. मुझे लगता है कि Oracle सहायक के रूप में ही सूचकांक की स्थिति रही है / Unusabe.
“Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. अनुमति "निकम्मा सूचकांक छोड़ें" होगा सभी DML (Inclusing चुनें) ऑपरेशन टेबल पर.
Thanks & Regards, धन्यवाद और सादर,
Deepak दीपक
August 21st, 2008 14:49 21 अगस्त 2008 14:49
thanks… the alter table fix worked धन्यवाद ... सारणी तय बदल काम
February 6th, 2008 06:31 6 फ़रवरी 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] ORA [...]-01502 Oracle सूचकांक व्यर्थ राज्य में [...]
March 6th, 2007 16:51 6 मार्च 2007 16:51
At least in oracle10 the status could also be 'UNUSABLE' Oracle10 में कम से कम स्थिति भी 'हो सकता है' निकम्मा
September 19th, 2006 22:28 19 सितम्बर 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? के बारे में क्या Oracle 9i विकल्प के साथ छोड़ें व्यर्थ अनुक्रमण करता? Pls Explain. Pls समझाओ.