摘要:
MySQL的autocommit(自动提交)默认是开启,其对mysql的性能有一定影响,举个例子来说,如果你插入了1000条数据,mysql会commit1000次的,如果我们把autocommit关闭掉,通过程序来控制,只要一次commit就可以了。 1、通过set来设置autocommit my 阅读全文
摘要:
一、重建本地用户:#vi /etc/my.cnf [mysqld]skip-grant-tables# service mysql restartShutting down MySQL.. doneStarting MySQL. # mysql -uroot -pEnter password: my 阅读全文
摘要:
在客户端访问subversion版本库时出现这个错误:svnserve.conf:27 Option expected为什么会出现这个错误呢,就是因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,如### This file controls the c 阅读全文
摘要:
本文记录MapReduce过程中遇到的问题及解决,持续更新。1、运行程序,提示"JobTracker is in safe mode"[huser@master bin]$ ../bin/hadoop jar AvgTemperature.jar AvgTemperature ./in/sample... 阅读全文