Merge lp:~hrvojem/percona-server/bug1379211-5.6 into lp:percona-server/5.6

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 679
Proposed branch: lp:~hrvojem/percona-server/bug1379211-5.6
Merge into: lp:percona-server/5.6
Diff against target: 70 lines (+55/-0)
2 files modified
doc/source/index.rst (+1/-0)
doc/source/tokudb/removing_tokudb.rst (+54/-0)
To merge this branch: bzr merge lp:~hrvojem/percona-server/bug1379211-5.6
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+237929@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc/source/index.rst'
--- doc/source/index.rst 2014-10-07 07:12:53 +0000
+++ doc/source/index.rst 2014-10-10 09:41:14 +0000
@@ -161,6 +161,7 @@
161 tokudb/using_tokudb161 tokudb/using_tokudb
162 tokudb/tokudb_compression162 tokudb/tokudb_compression
163 tokudb/tokudb_multiple_clustering_keys163 tokudb/tokudb_multiple_clustering_keys
164 tokudb/removing_tokudb
164165
165Reference166Reference
166=========167=========
167168
=== added file 'doc/source/tokudb/removing_tokudb.rst'
--- doc/source/tokudb/removing_tokudb.rst 1970-01-01 00:00:00 +0000
+++ doc/source/tokudb/removing_tokudb.rst 2014-10-10 09:41:14 +0000
@@ -0,0 +1,54 @@
1.. _removing_tokudb:
2
3================================
4 Removing TokuDB storage engine
5================================
6
7In case you want remove the TokuDB storage engine from |Percona Server| without causing any errors following is the recommended procedure:
8
9Change the tables from TokuDB to InnoDB
10---------------------------------------
11
12If you still need the data in the TokuDB tables you'll need to alter the tables to other supported storage engine i.e., |InnoDB|:
13
14.. code-block:: mysql
15
16 mysql> ALTER TABLE City ENGINE=InnoDB;
17
18.. note::
19
20 In case you remove the TokuDB storage engine before you've changed your tables to other supported storage engine you won't be able to access that data without re-installing the TokuDB storage engine.
21
22Removing the plugins
23--------------------
24
25Storage engine requires manual removal:
26
27.. code-block:: mysql
28
29 UNINSTALL PLUGIN tokudb;
30 UNINSTALL PLUGIN tokudb_file_map;
31 UNINSTALL PLUGIN tokudb_fractal_tree_info;
32 UNINSTALL PLUGIN tokudb_fractal_tree_block_map;
33 UNINSTALL PLUGIN tokudb_trx;
34 UNINSTALL PLUGIN tokudb_locks;
35 UNINSTALL PLUGIN tokudb_lock_waits;
36
37After the engine and the plugins have been uninstalled you can remove the TokuDB package by using the apt/yum commands:
38
39.. code-block:: bash
40
41 [root@centos ~]# yum remove Percona-Server-tokudb-56.x86_64
42
43or
44
45.. code-block:: bash
46
47 root@wheezy:~# apt-get remove percona-server-tokudb-5.6
48
49.. note::
50
51 Make sure you've removed all the TokuDB specific variables from your configuration file (:file:`my.cnf`) before you restart the server, otherwise server could show errors or warnings and won't be able to start.
52
53
54

Subscribers

People subscribed via source and target branches