Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> ORA-01410: invalid ROWID

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: ORA-01410: invalid ROWID
 Srimayee  Posted: Apr 21, 2008 05:53:40 AM

 Total Post: 7
 Joined: Dec, 2005






 Hi All,

I have a procedure which is executed on a daily basis by means of scheduled Unix jobs.
The procedure is pretty simple and has only a few update statements on a single table. However, it was only yesterday that I received an error ORA-01410: invalid ROWID when executing it.

Can anybody please explain the cause of this error?

Thanks in advance,
Srimayee.

 Murtuja
Posted: Apr 21, 2008 06:29:28 AM  

 Total Post: 857
 Joined: Jan, 2006






 
Does any index got corrupted ?

You can verify it by this query.

select * from dba_indexes where status<>'VALID'

You need to rebuild those indexes.

 Srimayee
Posted: Apr 21, 2008 07:06:57 AM  

 Total Post: 7
 Joined: Dec, 2005






 
Thanks for your feedback. I do not find any index that is not valid. I just tried executing the procedure again and this time it went off successfully.
However, I'm clueless as to what could have happenned then.
Can anybody please suggest.

Thanks,
Srimayee.

 GOPU
Posted: Apr 21, 2008 07:36:38 AM  

 Total Post: 333
 Joined: Apr, 2008






 
HI,

ROWIDS are
physical addresses -- the data got put in in different places after the truncate then it
did after an insert.

In fact, the DELETE/INSERT could equally easily throw the invalid rowid error as well.

ROWIDS are physical addresses and only exist for the life of a row. They can be reused
by some new row later.

and there may be some chances...it may occur...
chances of index getting corrupted.

Regards
Gopu

 Gitesh
Posted: Apr 22, 2008 01:41:55 AM  

 Total Post: 322
 Joined: May, 2005






 
Hi,

It can happen due to another session is truncating table or deleting rows.

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software