Re: What would cause ORA-1410 (invalid rowid) on a simple select?



On Aug 30, 4:56 pm, Chuck <skilover_nos...@xxxxxxxxxxxxxx> wrote:
Anurag Varma wrote:
On Aug 30, 4:02 pm, Chuck <skilover_nos...@xxxxxxxxxxxxxx> wrote:
Oracle 10.2.0.2 64 bit, Solaris 10.

Here's the select? Occasionally we get an ORA-1410 on it but 99.9% of
the time it works fine. It's coming from a web based application that
uses a product called hibernate to access to the database.

SELECT DISTINCT flipbook2_.name AS col_0_0_
FROM flip_page_media flippageme0_,
flip_page flippage1_,
flipbook flipbook2_
INNER JOIN user_content flipbook2_1_
ON flipbook2_.content_id = flipbook2_1_.content_id
INNER JOIN content flipbook2_2_
ON flipbook2_.content_id = flipbook2_2_.content_id
WHERE flippage1_.content_id = flipbook2_.content_id
AND flippageme0_.flip_page_id = flippage1_.flip_page_id
AND flippageme0_.media_id = :1

I have checked the indexes used for corruption and found none.

Simple selects should not give a ORA-1410.

That's what I thought too. The only time I've even seen this before was
with incorrect use of a "where current of" cursor.

How did you check the indexes for corruption?

Did you issue an alter table <table> validate structure cascade; ? to
see
if there is a rowid mismatch between the table and index.

Yes. I also ran dbv on the datafiles in the index tablespaces.

I am wondering if there is a with the INNER JOIN syntax. That same
syntax has caused problems in defining materialized views before and I
had to convert it to the older style join syntax before it would work.
Unfortunately in this case it's being generated by a 3rd party product
from behind the scenes.


Are these regular tables being referred to in the query
... or are they views?
If views .. do they point to a remote database?

I don't see why INNER JOIN syntax should be suspected as
a cause of ORA-1410. We too have one application using
hibernate without any ORA-01410 issues...

If none of the above applies in your situation .. you
might be better off opening a SR...

Anurag

.



Relevant Pages

  • RE: SSRS2008 Samples
    ... The problem is this the right database to drive the SSRS2008 ... In the sql server object explorer: I have AdventureWorksLT. ... sales, Invalid Production.ProductSubcategory. ... FROM Production.ProductSubcategory PS INNER JOIN ...
    (microsoft.public.sqlserver.setup)
  • Re: Data generator help!!
    ... in c# to populate the database (sql server 2005), ... the database, then get the data type of the coulumn, if the data type ... FROM sysobjects SO JOIN syscolumns SC ON SO.id = SC.id INNER JOIN ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Subquery help?
    ... in our desire to normalize our database or make it more "elegant" ... the subquery fails. ... AS ENDDATE FROM tbl_Hours AS t1 INNER JOIN ...
    (microsoft.public.access.queries)
  • Re: Data generator help!!
    ... yea im in great fix... ... get the database information and datatypes... ... The following will retrieve table columns and datatypes. ... FROM sysobjects SO JOIN syscolumns SC ON SO.id = SC.id INNER JOIN ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: missing records in my form!
    ... I just had another look at the subsample table in my database and found ... records with the empty subdatasheets are the ones not showing in my query. ... The records with filled subdatasheets do show in my query. ... FROM A INNER JOIN B ON A.PrimaryKeyField=B.ForeignKeyField; ...
    (microsoft.public.access.externaldata)