Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: fastest method to use DBI

by zwon (Abbot)
on Jul 07, 2009 at 19:19 UTC ( #777979=note: print w/replies, xml ) Need Help??


in reply to Re^3: fastest method to use DBI
in thread fastest method to use DBI

Let me to oppose. OFFSET is not good for performance at all (BTW there's no OFFSET in Oracle AFAIK). When you executing query like

SELECT name,phone ORDER BY name OFFSET 1000000 LIMIT 10
your database should iterate over first 1000000 records before it will start returning records, this is very slow.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://777979]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-12-05 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (75 votes). Check out past polls.