Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4117102
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

发布时间:2017-01-20 10:08:50

mysql> status; 或者show global status like 'uptime';单位秒。......【阅读全文】

阅读(1140) | 评论(0) | 转发(0)

发布时间:2016-11-10 16:04:14

我们一直使用h2数据库 run unit test发现CREATE TABLE PredefineTraits (  traitId int(11) not null primary key auto_increment,  appId int(11),  type int(11),  offset varchar(50),  trait varchar(50),  depth varchar(50),  createdAt DATETIME,  createdBy v.........【阅读全文】

阅读(2649) | 评论(0) | 转发(0)

发布时间:2016-09-14 10:31:33

mysql root用户密码忘记或者是权限不对。1. 先停止mysqlsudo service mysql stop2. 运行mysqld_safesudo mysqld_safe --user=mysql --skip-grant-tables --skip-networking3. 命令行下进入数据库mysql -u root mysql4. 修改user表:root用户密码update.........【阅读全文】

阅读(1566) | 评论(0) | 转发(0)

发布时间:2016-09-01 15:05:17

最近使用mysqlbench连接最新平台的数据库一直出现Authentication error, unhandled exception caught in tunnel manager, please refer to logs for details确认是mysqlbench的bugsudo apt-get remove mysql-workbench只能安装mysql-workbench-community-6.3.6-1ubu1404-amd64.deb不能安装mysql-workbench-commun.........【阅读全文】

阅读(1758) | 评论(0) | 转发(0)

发布时间:2016-08-16 11:15:55

centos默认的vm.swappiness值是60,对于数据库可以改小一些降低swap的加载,系统性能会有提升.因为linux一旦使用swap分区,只有缺页才会触发swap的换出,否则一直占用swap,导致硬盘的io极高.对于oracle ,一般设置 10,对于mysql一般设置1,尽可能不用swap分区,如果设置为0,linux还会使用swap分区,3.5以后的内核和redhat 2.6.3.........【阅读全文】

阅读(19426) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册