MariaDB10 TokuDB storage engine

Source: Internet
Author: User
The TokuDB storage engine, which can be seen as an upgraded version of the ARCHIVE storage engine, has intensive compression and supports transactions. Compression ratio: EngineCompressionTablesize [MB] InnoDBnone2272InnoDBKEY

The TokuDB storage engine, which can be seen as an upgraded version of the ARCHIVE storage engine, has intensive compression and supports transactions. Compression ratio: EngineCompressionTablesize [MB] InnoDBnone2272InnoDBKEY

The TokuDB storage engine, which can be seen as an upgraded version of the ARCHIVE storage engine, has intensive compression and supports transactions.


Compression ratio:

EngineCompressionTable size [MB]

InnoDB none 2272

InnoDB KEY_BLOCK_SIZE = 8 1144

InnoDB KEY_BLOCK_SIZE = 4 584

MyISAM none 1810

MyISAM compressed with myisampack 809

Archive default 211

TokuDB ZLIB 284

TokuDB LZMA 208


Features:

FeatureArchiveMyISAM (compressed) InnoDBTokuDB

Only INSERTsnoyesyes

Transactionsnonoyesyes

Nonoyesyes

Indexesnoyesyesyes

Online DDLnonoyes * yes **


MariaDB10 has been embedded with the TokuDB storage engine. The installation is extremely simple, as shown below:


Optimization:

Configuration: what's really important

As noted by Vadim long ago, "Tuning of TokuDB is much easier than InnoDB, there're only a few parameters to change, and actually out-of-box things running pretty well":
The optimization of TokuDB is much easier than that of InnoDB, but there are some parameter changes, or you can directly use the default parameter, it also runs well.

MariaDB [(none)]> show variables like '% tokudb % '; + bytes + ------------- + | Variable_name | Value | + bytes + ------------- + | bytes | OFF | tokudb_analyze_time | 5 | tokudb_block_size | 4194304 | bytes | 120926208 | tokudb_checkpoint_lock | OFF | metric | OFF | metric | 60 | metric | 5 | metric | 1 | tokudb_commit_sync | ON | tokudb_create_index_online | ON | tokudb_data_dir | tokudb_debug | 0 | tokudb_directio | OFF | fail | OFF | tokudb_disable_prefetching | OFF | fail | OFF | tokudb_empty_scan | rl | fail | 5 | fail | 0 | fail | ON | metric | 11403457 | tokudb_killed_time | 4000 | metric | tokudb_load_save_space | ON | metric | 100000000 | tokudb_lock_timeout | 4000 | metric | 1 | tokudb_log_dir | metric | 15115776 | metrics | 1 | metrics | ON | metrics | 65536 | metrics | 131072 | metrics | 10000 | tokudb_row_format | tokudb_zlib | tokudb_tmp_dir | tokudb_version | 7.1.6 | tokudb_write_status_frequency | 1000 | + --------------------------------- + ------------- + 39 rows in set (0.01 sec)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.