Merge lp:~tplavcic/percona-server/bld-212-5.6-tokudb into lp:percona-server/5.6
Status: | Superseded |
---|---|
Proposed branch: | lp:~tplavcic/percona-server/bld-212-5.6-tokudb |
Merge into: | lp:percona-server/5.6 |
Diff against target: |
390 lines (+283/-23) 6 files modified
build-ps/debian/percona-server-tokudb-5.6.files (+1/-0) build-ps/debian/percona-server-tokudb-5.6.postinst (+3/-9) build-ps/percona-server.spec (+9/-14) scripts/CMakeLists.txt (+1/-0) scripts/mysqld_safe.sh (+42/-0) scripts/ps_tokudb_admin.sh (+227/-0) |
To merge this branch: | bzr merge lp:~tplavcic/percona-server/bld-212-5.6-tokudb |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Roel Van de Paar (community) | Needs Information | ||
Laurynas Biveinis (community) | Needs Information | ||
Review via email: mp+246539@code.launchpad.net |
This proposal has been superseded by a proposal from 2015-01-15.
Description of the change
This change is for BLD-212 (simplify TokuDB installation).
It adds ps_tokudb_admin script which can install/uninstall TokuDB plugin and disable transparent huge pages.
Mysqld_safe was changed to read thp-setting option from my.cnf
Extensive testing was done in BLD-212 so here I only show how install/uninstall works on centos7.
Test packages are available here:
http://
INSTALL
-------
[vagrant@
Checking transparent huge pages status on the system...
>> Transparent huge pages are enabled (should be disabled).
Checking if thp-setting=never option is already set in config file...
>> Option thp-setting=never is not set in the config file.
>> (needed only if THP is not disabled permanently on the system)
Checking TokuDB plugin status...
>> TokuDB plugin is not installed.
Disabling transparent huge pages for the current session...
>> Successfuly disabled transparent huge pages for this session.
Adding thp-setting=never option into /etc/my.cnf
>> Successfuly added thp-setting=never option into /etc/my.cnf
Installing TokuDB engine...
>> Successfuly installed TokuDB plugin.
mysql> show plugins;
...
| TokuDB | ACTIVE | STORAGE ENGINE | ha_tokudb.so | GPL |
| TokuDB_file_map | ACTIVE | INFORMATION SCHEMA | ha_tokudb.so | GPL |
| TokuDB_
| TokuDB_
| TokuDB_trx | ACTIVE | INFORMATION SCHEMA | ha_tokudb.so | GPL |
| TokuDB_locks | ACTIVE | INFORMATION SCHEMA | ha_tokudb.so | GPL |
| TokuDB_lock_waits | ACTIVE | INFORMATION SCHEMA | ha_tokudb.so | GPL |
+------
UNINSTALL
---------
[vagrant@
Checking transparent huge pages status on the system...
>> Transparent huge pages are currently disabled on the system.
Checking if thp-setting=never option is already set in config file...
>> Option thp-setting=never is set in the config file.
Checking TokuDB plugin status...
>> TokuDB plugin is installed.
Removing thp-setting=never option from /etc/my.cnf
>> Successfuly removed thp-setting=never option from /etc/my.cnf
Uninstalling TokuDB plugin...
>> Successfuly uninstalled TokuDB plugin.
It needs a blueprint?