tarantool/tarantool

sql: auto run analyze

开放

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

 (0 条评论) (0 个反应) (0 位负责人)Lua (406 个派生)batch import
featuregood first issueperformancesql

仓库指标

星标
 (3,633 个星标)
PR 合并指标
 (平均合并 13天 2小时) (30 天内合并 82 个 PR)

描述

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.

贡献者指南