Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: What are effective methods for retriving many number of rows from postgreSQL tables using perl DBI?

by duff (Vicar)
on Oct 13, 2007 at 13:46 UTC ( #644628=note: print w/ replies, xml ) Need Help??


in reply to What are effective methods for retriving many number of rows from postgreSQL tables using perl DBI?

Depending on how many columns in your result set, and how complicated your query, 3,000,000 records shouldn't be that big of a deal. You really should show us your perl code, your SQL, and your database schema as you could be doing something strange that's eating your memory and we would never know it. For instance, if you load the entire result set into a perl array, that might not be the best thing for memory consumption. Another for instance, if you're doing a 5 table join on all columns but are only using a few columns from the result set, that too might not be the best thing.


Comment on Re: What are effective methods for retriving many number of rows from postgreSQL tables using perl DBI?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://644628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-10-20 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (75 votes), past polls