1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

The analyze_as_needed pragma now responds to table size growth and will

automatically rerun the analysis after each 10x size increase.

FossilOrigin-Name: bfbdd07409688fac4ccddbab3639745f6152e23d
This commit is contained in:
drh
2017-02-17 19:24:06 +00:00
parent 72052a73a3
commit 5e98e838da
8 changed files with 104 additions and 34 deletions

View File

@@ -1887,8 +1887,7 @@ struct Table {
#define TF_WithoutRowid 0x0020 /* No rowid. PRIMARY KEY is the key */
#define TF_NoVisibleRowid 0x0040 /* No user-visible "rowid" column */
#define TF_OOOHidden 0x0080 /* Out-of-Order hidden columns */
#define TF_SizeChng 0x0100 /* nRowLogEst might be inaccurate */
#define TF_StatsUsed 0x0200 /* Query planner decisions affected by
#define TF_StatsUsed 0x0100 /* Query planner decisions affected by
** Index.aiRowLogEst[] values */
/*