Howdy Rangers,
I implemented pagination with
JDBC. The problem is due to the large number of records (in excess of 15000 records) returned. I use the following query:
select * from ( select a.* , ROWNUM rnum , count(*) over() as total_rows from ( /* your select statement goes here */ ) a ) b where b.rnum >= :start_row and b.rnum <= :end_row
I get a very sluggish screen and I guess the performance gets a hit because the inner most query returns all 15000 records and the outer queries filter them to 100.
Now is there any way to form a query which returns 100 rows in the first place itself?
Any help would be truly appreciated.
Ron.