Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Performance problems with executeUpdate (no replies)

$
0
0
Hi All,

I'm experiencing performance issues under MySQL 5.6.10 (and also tested under 5.5.24).

Running a bunch of DDL statements for bootstrapping the application, I've found that something simple as:

Statement drop = conn.createStatement();
long time = System.currentTimeMillis();
drop.executeUpdate("DROP TABLE TEST");
System.out.println("took: "+(System.currentTimeMillis() - time));

Takes in average 300 ms.

The full bootstrap of the application takes about 15 seconds while that the same code for SQLServer, Oracle and Postgres takes about 2 ~ 4 seconds.

The (drop) executeUpdate statements in the other engines take about 1 ~ 10 ms.


Any Ideas?

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>