Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 23:53:38

Author Topic: Can i convert to tokudb?  (Read 6897 times)

0 Members and 1 Guest are viewing this topic.

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Can i convert to tokudb?
« on: 2015-05-17, 09:02:39 »
After update koloxo-MR7, i see new options in MySQL convert "to-tokudb"

Now im using "aria". My question is, can i migrate to tokudb?



External links : http://www.pythian.com/blog/benchmark-tokudb-vs-mariadb-mysql-innodb-compression/

https://mariadb.com/kb/en/mariadb/tokudb-differences/

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #1 on: 2015-05-17, 09:29:56 »
Yes. In my test it's work not investigate intensively.

Learn /usr/local/lxlabs/kloxo/bin/fix/mysql-convert.php to know how to convert between storage-engine. Better convert via ssh with 'sh /script/mysql-convert --engine=tokudb' instead from panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Can i convert to tokudb?
« Reply #2 on: 2015-05-17, 17:47:50 »
Hi,
successfully convert to tokuDB but please see this screenshot,


Please tell me, how to convert individual table convert to tokudb?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #3 on: 2015-05-17, 18:33:29 »
Try using mysql-convert 3-4 times.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #4 on: 2015-05-17, 18:55:59 »
Need reboot for the first mysql-convert and then re-run mysql-convert again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Can i convert to tokudb?
« Reply #5 on: 2015-05-17, 22:10:30 »
Doing this 2 times, its works.

Before reboot and after reboot.

Thanks.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #6 on: 2015-05-18, 04:46:38 »
Doing this 2 times, its works.

Before reboot and after reboot.

Thanks.


In OpenVZ, I found need reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Can i convert to tokudb?
« Reply #7 on: 2015-05-18, 08:13:35 »
Sad news is, my another server where run prestashop cms, its db's crashed.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #8 on: 2015-05-18, 08:23:55 »
Sad news is, my another server where run prestashop cms, its db's crashed.
Except myisam (possible aria also), fix database with 'sh /script/mysql-optimize' may not work. They are (innodb and tokudb) claim where database corrupt are rare happens.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Can i convert to tokudb?
« Reply #9 on: 2015-05-18, 09:05:04 »
after convert, prestashop says, 500 error

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can i convert to tokudb?
« Reply #10 on: 2015-05-18, 09:34:31 »
Investigate your prestashop database via phpmyadmin.

With mysql-convert, possible convert per-database or table only. Try 'sh /script/mysql-convert' to know what's I mean.
« Last Edit: 2015-05-18, 09:36:46 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline murshed

  • Valuable Member
  • *
  • Posts: 93
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Can i convert to tokudb?
« Reply #11 on: 2015-06-11, 07:59:46 »
Back to Aria. Its best at this time in 2gb or 6gb ram box. MySQL can't load or its down several times after move to tokuDB. tokuDB need minimum 1gb-2gb ram. So i think its not for low end box.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.047 seconds with 18 queries.

web stats analysis