Public Repository

Last pushed: 7 months ago
Short Description
MySQL on Percona w/TokuDB enabled
Full Description

Currently mostly still very pre-alpha testing, not really optimal for running in production - there might be game breaking bugs.

Built on the docker library image with some minor modifications to make tokudb work. The docs for that should hold true except for the fact during init tokudb will be enabled automatically. Will be adding docs for moving from the library image to this one and getting tokudb enabled (executing /docker-entrypoint-initdb.d/install-tokudb-init.sh should do it in theory but this is currently untested).

The other major difference is the entrypoint is checked to see if you have transparent hugepages and it'll go into a die/sleep loop if you do. They need to be disabled for TokuDB to function correctly and I added the check to prevent mysql's data dir getting into a weird state where TokuDB is never enabled on restart because it's done after the initial init.

Test run:

docker run -a stdin -a stdout -a stderr -i -t --rm \
-e "MYSQL_ROOT_PASSWORD=foobar" \
-v "/srv/tokudb/data:/var/lib/mysql" \
-v "/srv/tokudb/conf.d:/etc/mysql/conf.d" \
-p 3307:3306 \
--name "tokudb-test" streaky/percona-tokudb
Docker Pull Command
Owner
streaky

Comments (0)