Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the idea of dealing with ORA-08104 errors encountered after abnormal interruptions of online re-indexing in ONLINE mode

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to deal with ORA-08104 errors after the abnormal interruption of ONLINE online re-indexing. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Select i.obj#, i.flags, u.name, o.name, o.type#

From sys.obj$ o, sys.user$ u, sys.ind_online$ i

Where (bitand (i.flags, 256) = 256 or bitand (i.flags, 512) = 512)

And (not ((i.type# = 9) and bitand (i.flags, 8) = 8))

And o.obj# = i.obj#

And o.owner# = u.user#

Declare

IsClean boolean

Begin

IsClean: = FALSE

While isClean=FALSE loop

IsClean: = dbms_repair.online_index_clean (object_id found in the previous step)

Dbms_lock.sleep (2)

End loop

Exception

When others then

RAISE

End

/

On the ONLINE online re-indexing abnormal interruption encountered after the ORA-08104 error handling ideas are shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 211

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report