Im in the middle of Kytes new tuning book. He states that google uses a query similiar 
to this to return web pages in their search function:

select /*+ FIRST_ROWS */ b.*
from ( select a.*, a.rownum
      from (your query here) a
      where rownum < <<pick max number of rows you want in a batch >>)
where rownum > <<will start with 1 and be max + 1 for each 'page' >>


If they are using oracle to do this, how do they get the estimated number of total 
results? Is it from 'cardinality'? Do you know which data dictionary that comes from? 
explain plan is costly so they cant be using that. 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <[EMAIL PROTECTED]
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to