Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mySQL result sets - on client or server

Status
Not open for further replies.

ponToon

Programmer
Oct 16, 2002
1
US
Does the result set reside on the client or server side? For the sake of performance, I would like to know, for example, when you perform a "fetch row" operation, if mySQL has to make a round-trip to the server every time.
 
danielsan,

Do you have a technical reference on that answer? ______________________________________________________________________
TANSTAAFL!
 
No, but since you can fetch records, delete one of them and the show the fetched records including the deleted one, that's what I assume. //Daniel
 
i'm too for the client side oppinion as you can disconnect from the mysql server and still use the result set
 
I'm wondering what the limit is. MySQL has a limit by default of 16MB per communication.

What happens if you get crazy and perform a "SELECT * ..." on a table that will provide more than 16MB in the return? ______________________________________________________________________
TANSTAAFL!
 
The server normally goes into a state of shock and hides from you until you restart it.

*note to self: don't select * on a table with 2,850,000+ records on a saturday when you are not near the server. ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top