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

Home -> Community -> Usenet -> c.d.o.server -> Re: Skipping records from a Cursor

Re: Skipping records from a Cursor

From: \(\(\( RRCdesign \)\)\) <reru_at_xs4all.nl>
Date: Mon, 29 Jan 2001 14:14:45 +0100
Message-ID: <953q94$2eb$1@news1.xs4all.nl>

If you really want to scroll them all, I suppose you construct an array in memory and remember all those primary keys. It would indeed be interesting to know how Yahoo/altavista solved it.

<ah_mostin_at_yahoo.com> schreef in bericht news:94t8dt$s3o$1_at_nnrp1.deja.com...
> I want to be able to provide paging functionality in a Java/web
> application without keeping a database connection permanently open due
> to scalability issues.
>
> For example query returns a 100,000 records, on a page I wish to
> display only 1000 with next/back buttons. When the back next button is
> pressed I want to retrieve the rows 1001->2000. Like I said I don't
> won't to retain the database connection between pages so using a
> scrollable resultset is out of the question.
>
> How do I tell Oracle I only want n -> n+1000 records without having to
> fetch and ignore previous records.
>
> How do yahoo/altavista etc implement this type of paging functionality
> given the thousands of concurrent users ?
>
> Any help would be much appreciated.
>
> mostin
>
>
>
> Sent via Deja.com
> http://www.deja.com/
Received on Mon Jan 29 2001 - 07:14:45 CST

Original text of this message

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