SOLVED ... Re: Getting rid of a cursor from JDBC .... Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set

2010-04-19 Thread Dave Crooke
Statement.close() appears to get the job done (in my envrionment, PG's driver never sees a Connection.close() because of DBCP). I'd consider the fact that ResultSet.close() does not release the implicit cursor to be something of a bug, but it may well have been fixed already. Cheers Dave On Mon,

Getting rid of a cursor from JDBC .... Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set

2010-04-19 Thread Dave Crooke
Scott - I tried to post a SOLVED followup to the JDBC list but it was rejected :-! I now have the opposite problem of getting rid of the cursor :-) ResultSet.close() does not work. I am trying to do a DROP TABLE from the other Connection, to whack the table I just finished the ETL on, but it just

Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set

2010-04-19 Thread Scott Carey
On Apr 15, 2010, at 1:01 PM, Dave Crooke wrote: > On Thu, Apr 15, 2010 at 2:42 PM, Dave Crooke wrote: > Hey folks > > I am trying to do a full table scan on a large table from Java, using a > straightforward "select * from foo". I've run into these problems: > > 1. By default, the PG JDBC drive

Re: [PERFORM] Planner not using column limit specified for one column for another column equal to first

2010-04-19 Thread Matthew Wakeling
On Sat, 17 Apr 2010, Віталій Тимчишин wrote: As of making planner more clever, may be it is possible to introduce division on "fast queries" and "long queries", so that if after fast planning cost is greater then some configurable threshold, advanced planning techniques (or settings) are used. As