Not the answer you need?
Register and ask your own question!

Figuring out which version of TokuDB I'm running

knut_forkalsrudknut_forkalsrud EntrantCurrent User Role Beginner
It is surprisingly hard to find the pertinent version number to reference https://www.percona.com/doc/percona-tokudb/release-notes.html
The Percona Server version numbers are completely different from those in the change log and I can't find any mapping between the two.

I have been handed a Percona Server installation, specifically Percona-Server-5.7.11-4-Linux.x86_64.ssl101
Running @@tokudb_version is "5.7.11-4" and @@version is "5.7.11-4-log"
I know the TokuDB version is at least 5.0.3 because I can hot-add columns. On the other hand I cannot hot-expand a varchar column, so I'm below version 6.5.0.
How do I go about finding where I am relative to the release notes from https://www.percona.com/doc/percona-tokudb/release-notes.html ?

Thanks in advance for any help.

Comments

  • George LorchGeorge Lorch Percona Percona Moderator Role Patron
    When we merged the TokuDB code base into Percona Server, TokuDB ceased being independently versioned. Its 'version' is now just the version of Percona Server that it is packaged with. The last 'standalone' release of the TokuDB engine was 7.5.8. The TokuDB 7.5.8 codebase was then merged into Percona Server at 5.6.26-74.0. Percona Server 5.7 was released from the beginning with TokuDB included.

    I have confirmed that alter expand for non key columns seems working correctly in 5.7:

    mysql> create table t1(a int primary key, b varchar(10)) engine=tokudb;
    Query OK, 0 rows affected (0.12 sec)

    mysql> insert into t2(a, b) values(1, 'aaa');
    Query OK, 1 row affected (0.00 sec)

    mysql> alter table t2 modify b varchar(12);
    Query OK, 0 rows affected (8.08 sec)
    Records: 0 Duplicates: 0 Warnings: 0

    mysql> alter table t2 modify b char(13);
    Query OK, 1 row affected (4.37 sec)
    Records: 1 Duplicates: 0 Warnings: 0
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.