Home  >  Article  >  Database  >  mysql-MySQL插入数据缓慢,建立session连接需要很长时间是怎么回事?

mysql-MySQL插入数据缓慢,建立session连接需要很长时间是怎么回事?

WBOY
WBOYOriginal
2016-06-06 09:45:221420browse

mysql

为什么在执行Mysql插入的时候会等待20-30秒,就是建立SessionFactory的这个过程。
program strt: 2013-09-22 16:22:40.413
complete build SessionFactory: 2013-09-22 16:23:10.299
open session
begin transaction time: 2013-09-22 16:23:10.322
这是我在命令行打印的运行时间,还是一个新手,希望高手指点!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn