Attempt to improve the ANALYZE command so that it does a better job of...
Attempt to improve the ANALYZE command so that it does a better job of detecting lopsided indexes and makes appropriate changes to the sqlite_stat1 table. (tags: enhanced-stat1)
View ArticleAdd the "noquery" argument as an option for the stat column of sqlite_stat1....
Add the "noquery" argument as an option for the stat column of sqlite_stat1. If set, then the index will not be used to optimize a query. Enhance ANALYZE to set that argument on very low selectivity...
View ArticleFix an issue in the "noquery" decision in the previous check-in. Also add...
Fix an issue in the "noquery" decision in the previous check-in. Also add comments explaining the algorithm. (tags: enhanced-stat1)
View ArticleRevise the "noquery" decision algorithm again. The index now must select more...
Revise the "noquery" decision algorithm again. The index now must select more than 150 rows on average, and the number of rows select must be enough that it seems faster to do a full scan of the...
View ArticleOmit the "noquery" argument in sqlite_stat1. Instead, add the "uneven"...
Omit the "noquery" argument in sqlite_stat1. Instead, add the "uneven" argument for indexes that have an uneven distribution of values. Modify the query planner to avoid doing equality look-ups on...
View ArticleIn sqlite_stat1, revert the number of rows to the average, not adjusted for...
In sqlite_stat1, revert the number of rows to the average, not adjusted for the maximum. Instead add "uneven=NNN" where NNN is a multiplier to apply to the average to get the maximum. "uneven" is only...
View ArticleUse SQLITE_ENABLE_STAT4 in both the WASM and JNI builds. (tags: trunk)
Use SQLITE_ENABLE_STAT4 in both the WASM and JNI builds. (tags: trunk)
View ArticleEnsure that all elements of aiRowLogEst[] have been initialized even if the...
Ensure that all elements of aiRowLogEst[] have been initialized even if the stat entry is truncated. (tags: enhanced-stat1)
View ArticleBetter comments. Slight tuning of parameters. (tags: enhanced-stat1)
Better comments. Slight tuning of parameters. (tags: enhanced-stat1)
View ArticleWASM: various build cleanups and add initial infrastructure for a build which...
WASM: various build cleanups and add initial infrastructure for a build which elides the oo1 API and its dependents (worker1 and promiser). Sidebar: an attempt was made to move generation of the build...
View ArticleJNI: move the ByteBuffer-using APIs from public to package visibility for the...
JNI: move the ByteBuffer-using APIs from public to package visibility for the time being because they have UB-inducing possibilities which need to be worked out. Update test code to account for a...
View ArticleOmit the uneven=N argument in sqlite_stat1 and replace it with var=N1,N2,......
Omit the uneven=N argument in sqlite_stat1 and replace it with var=N1,N2,... so that the variation in each column is reported separately. Omit the "slow" argument from sqlite_stat1, computing that flag...
View ArticleFix a harmless compiler warning. (tags: enhanced-stat1)
Fix a harmless compiler warning. (tags: enhanced-stat1)
View ArticleImproved defenses against deliberately corrupted sqlite_stat1 tables. (tags:...
Improved defenses against deliberately corrupted sqlite_stat1 tables. (tags: enhanced-stat1)
View ArticleExtra steps taken to avoid using low-quality indexes in a query plan. This...
Extra steps taken to avoid using low-quality indexes in a query plan. This branch accomplishes the same end as the nearby enhanced-stat1 branch, but with much less change and hence less risk. (tags:...
View ArticleRemove some unnecessary computations from ANALYZE so that ANALYZE runs with...
Remove some unnecessary computations from ANALYZE so that ANALYZE runs with fewer CPU cycles. These changes were spotted while working on the nearby enhanced-stat1 branch. So even if enhanced-stat1 is...
View Article*MERGE* New logic to avoid using indexes that ANALYZE has identified as of...
*MERGE* New logic to avoid using indexes that ANALYZE has identified as of little practical use. Also a performance optimization in ANALYZE. (tags: trunk)
View ArticleBack out [99d11e6d0ae6] (enabling of STAT4 in WASM/JNI), per /chat...
Back out [99d11e6d0ae6] (enabling of STAT4 in WASM/JNI), per /chat discussion. (tags: trunk)
View ArticleUpdate and clean up the in-makefile docs for ext/wasm. (tags: trunk)
Update and clean up the in-makefile docs for ext/wasm. (tags: trunk)
View ArticleElaborate on the various build flavors used by ext/wasm/. Doc changes only....
Elaborate on the various build flavors used by ext/wasm/. Doc changes only. (tags: trunk)
View Article