Performance problems with executeUpdate
Posted by: Diogo Guerra
Date: March 06, 2013 06:21PM

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?

Options: ReplyQuote


Subject
Written By
Posted
Performance problems with executeUpdate
March 06, 2013 06:21PM


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.