摘要: 为了提高查询速度,Mysql会维护一个内存区域(官方文档指出,大小至少41984B)对查询结果进行缓存,当查询时发现缓存区里有数据则直接返回结果而不用去执行sql语句。查询命中的条件 每个缓存查询至少需要两个块(一个块用于查询文本,一个或多个块用于查询结果)。并且,每一个查询使用的每个表需要一... 阅读全文
posted @ 2015-07-28 11:43 agindage 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 缺少包:javassist-3.18.1-GA.jar 阅读全文
posted @ 2015-07-27 17:28 agindage 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 我的hibernate.cfg.xml文件如下: org.hibernate.dialect.MySQLDialect true true UTF-8 thread true true com.mysql.jdbc.Driver jdbc:mysql://localhost:33... 阅读全文
posted @ 2015-07-27 17:24 agindage 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: public void main(String[] args){ String host = "123.126.113.42"; int port = 80; Socket s = new Socket(host, port); BufferedWriter bw = new Buffere... 阅读全文
posted @ 2015-07-26 21:33 agindage 阅读(405) 评论(0) 推荐(0) 编辑