Ubutu 安装tukodb

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubutu 安装tukodb相关的知识,希望对你有一定的参考价值。

http://www.cnblogs.com/zhoujinyi/p/4494472.html (转自)


http://imysql.cn/2014/06/24/migrate-zabbix-db-to-tokudb.shtml(转自)


Get:1 http://mirrors.163.com/ubuntu/ trusty-security/main mysql-common all 5.5.50-0ubuntu0.14.04.1 [12.9 kB]

Get:2 http://mirrors.163.com/ubuntu/ trusty-security/main libmysqlclient18 amd64 5.5.50-0ubuntu0.14.04.1 [595 kB]

Get:3 http://repo.percona.com/apt/ trusty/main percona-server-common-5.6 amd64 5.6.32-78.0-1.trusty [12.0 kB]

Get:4 http://repo.percona.com/apt/ trusty/main libperconaserverclient18.1 amd64 5.6.32-78.0-1.trusty [569 kB]

Get:5 http://repo.percona.com/apt/ trusty/main percona-server-client-5.6 amd64 5.6.32-78.0-1.trusty [1,337 kB]

Get:6 http://repo.percona.com/apt/ trusty/main percona-server-server-5.6 amd64 5.6.32-78.0-1.trusty [11.6 MB]


See http://www.percona.com/doc/percona-server/5.6/management/udf_percona_toolkit.html for more details


sudo apt-get install percona-server-server-5.6 


sudo apt-get install percona-server-client-5.6


sudo apt-get autoremove percona-server-client-5.6 --purge


sudo apt-get autoremove percona-server-server-5.6  --purge



修改my.cnf注意事项:

1.停止实例并将配置文件添加TokuDB引擎参数

  如果使用默认参数可以不停实例

 如果要修改tokudb_data_dir/tokudb_log_dir, 需要删除实例数据目录下面TokuDB加载文件,-BASH "rm -rf *tokudb*"

2.第一次加载成功TokuDB,之后启动自动加载,但是tokudb_*配置错误会导致引擎注册启动失败,TokuDB引擎表无法使用




Tokudb 参数优化

http://www.cnblogs.com/manong792/p/5016457.html


http://imysql.cn/2014/06/24/migrate-zabbix-db-to-tokudb.shtml



ubuntu常见错误--could not get lock /var/lib/dpkg/lock -open


sudo rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock


模拟建表:


CREATE TABLE `login_log_Toku` (

  `userID` varchar(255) NOT NULL

) ENGINE=TokuDB DEFAULT CHARSET=utf8;



Percond tookit 工具使用


http://www.jb51.net/article/75080.htm




160909 13:09:21 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

160909 13:09:23 mysqld_safe Transparent huge pages are already set to: never.

160909 13:09:23 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

2016-09-09 13:09:23 0 [ERROR] /usr/sbin/mysqld: ambiguous option ‘--i‘ (ignore-db-dir, interactiv

e_timeout)

2016-09-09 13:09:23 0 [ERROR] Aborting


2016-09-09 13:09:23 0 [Note] Binlog end






本文出自 “隐隐的泪” 博客,请务必保留此出处http://lijuntao.blog.51cto.com/11691147/1946469

以上是关于Ubutu 安装tukodb的主要内容,如果未能解决你的问题,请参考以下文章

maven之ubutu安装

虚拟机Ubutu安装

ubutu 安装tomcat

ubutu中无法定位安装包ntpdate

Ubutu 安装tokudb

ubutu16.04安装IDEA