Does TokuDB need any regular cleanup/maintenance?
-
01-10-2020 - |
Вопрос
PostgreSQL has vacuum
and InnoDB has purge
. Does TokuDB have any required maintenance/cleanup operations? I couldn't find anything in the online docs: https://www.percona.com/software/mysql-database/percona-tokudb
Решение
Percona has a github page on the following
- OPTIMIZE TABLE (which references another Percona Blog)
- ANALYZE TABLE
There is lots of info explaining why.
For example, there are messages stored in non-leaf nodes of Fractal Trees. All those messages are pushed way down to leaf nodes. This simplifies retrieval of stats needed by the Query Optimizer.
Please read those links and learn way more.
Не связан с dba.stackexchange