Re: ResultSet fetch in Batches
Posted by: Mark Matthews
Date: October 05, 2009 10:28AM

John Doe,

MySQL doesn't work that way. The default mode of result set retrieval is "firehose", i.e. the client doesn't make a round trip for each row, they just "show up" from the server.

If the issue you're running into is a memory utilization issue, I suggest deciding whether you actually need all of the result set at the client for doing the required work, or if you can use "streaming" result sets, which process a row at a time, still without "round trips".

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
October 02, 2009 12:28PM
Re: ResultSet fetch in Batches
October 05, 2009 10:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.