tarantool/tarantool

sql: auto run analyze

Open

#2,853 创建于 2017年10月20日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Lua (3,633 star) (406 fork)batch import
featuregood first issueperformancesql

描述

Recently, PRAGMA optimize has been added in SQLite, which enables auto run of analyze when it is required. For instance, when several indexes of table haven't been analyzed or the number of rows in the table has increased by 25 times or more since last analyze.

More info: https://sqlite.org/pragma.html#pragma_optimize

The proposal is to implement similar feature(or just port it from the original source) in our sql.

贡献者指南