Re: [GENERAL] large table problem

2007-05-03 Thread Jason Nerothin
Thanks for the redirect... After profiling my client memory usage and using the built-in cursor functionality I discovered that another part of my program was causing the memory overflow and that the ResultSet iteration was doing exactly what it should have all along. On 4/21/07, Kris Jurka <[EMA

Re: [GENERAL] large table problem

2007-04-21 Thread Kris Jurka
On Fri, 20 Apr 2007, Jason Nerothin wrote: I'm trying to work my way around a large query problem. Not too unexpectedly, the app server (EJB3/JPA) is choking on the queries which are "unnamed native queries" in Java parliance. Work-around attempt 1 was to call directly to the JDBC driver, but

Re: [GENERAL] large table problem

2007-04-20 Thread Tom Lane
"Jason Nerothin" <[EMAIL PROTECTED]> writes: > Attempt number 2, now underway, is to pass > LIMIT and OFFSET values to the query which Postgres handles quite > effectively as long as the OFFSET value is less than the total number of > rows in the table. When the value is greater than , the query >

[GENERAL] large table problem

2007-04-20 Thread Jason Nerothin
I'm trying to work my way around a large query problem. In my system, I've created a number of large materialized views that are the output of some computationally expensive stored procedures on other large tables in my system. They are intended to serve as staging tables for the next phase of co