Bug #410 | Huge query result. | ||
---|---|---|---|
Submitted: | 9 May 2003 5:01 | Modified: | 9 May 2003 7:27 |
Reporter: | Henryk Szal | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | Connector / J | Severity: | S4 (Feature request) |
Version: | 3.0.7 | OS: | Any (All) |
Assigned to: | CPU Architecture: | Any |
[9 May 2003 5:01]
Henryk Szal
[9 May 2003 7:27]
Mark Matthews
This can't be fixed in way until MySQL has server-side cursors. In fact, many other JDBC drivers have this limitation (not being able to process huge result sets, without reading all rows into memory) unless you tell them to use cursors for _every_ query, which is actually very slow. The way it is now (by using a special fetch size _and_ setting a forward-only type result set) is the closest to the JDBC spec that can be used, without adding MySQL-specific methods to the implementation of the interfaces, which _don't_ work when you're using an application server.