Re: Each Connection sends many queries to MySQL
Posted by: Mark Matthews
Date: October 05, 2004 11:46AM


The answers are:

1.) Yes

2.) Not really, those queries are all required for the JDBC driver to function correctly given the fact that it has to support multiple versions and releases of MySQL, and various aspects of the JDBC specification require certain behavior (for example the 'set autocommit=1').

3.) In most cases, no, especially since connections should be relatively long-lived. These queries only happen at connection establishment.

Options: ReplyQuote

Written By
Re: Each Connection sends many queries to MySQL
October 05, 2004 11:46AM

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.