Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ROWID PROBLEM

Re: ROWID PROBLEM

From: Hemant K Chitale <hkchital_at_singnet.com.sg>
Date: Mon, 26 Jan 2004 05:44:34 -0800
Message-ID: <F001.005DE262.20040126054434@fatcity.com>

Read the Oracle Documentation or http://otn.oracle.com or http://metalink.oracle.com
on what a RowID is. It is actually a composite of File_Number_in_Database + Block_Number_in_File + Row_Number_within_Block. Since a Table is like a "heap" rows may be inserted by Oracle in any of the available blocks -- your next insert may or may not be in the same Block. There are
very many reasons why the same Block would not be reused for the next insert.

You should be using some other column for your ORDERed fetch.

Hemant

At 07:19 AM 25-01-04 -0800, you wrote:
>HI ALL..
>
>I HAVE PROBLEM
>
>THE ROWID FIELD IS NOT SORTED IN MY DATABASE WITH THE INSERTION DATA..
>I INSERT THE TIME WITH EVERY RECORD
>AND WHEN SELECT FROM THE TABLE WITH ORDER BY ROWID I GET RANDOM TIMES IN
>TIME FIELD !!!
>
>THAT HAPPEND WITH ME IN ONE TABLE ONLY !!!!
>
>
>
>WALEED HAGGAGY
Hemant K Chitale
Oracle 9i Database Administrator Certified Professional http://hkchital.tripod.com {last updated 24-Jan-04}

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hemant K Chitale
  INET: hkchital_at_singnet.com.sg

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Jan 26 2004 - 07:44:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US