|
|
e69783571b
|
planner: Move the Selectivity function from the stats package into cardinality package (#46417)
ref pingcap/tidb#46358
|
2023-08-25 11:53:06 +00:00 |
|
|
|
66ddb7b018
|
planner: Move the Selectivity function from the stats package into cardinality package (#46410)
ref pingcap/tidb#46358
|
2023-08-25 05:18:35 +00:00 |
|
|
|
132d1a9d24
|
planner: Move the Selectivity function from the stats package into cardinality package (#46405)
ref pingcap/tidb#46358
|
2023-08-24 14:35:08 +00:00 |
|
|
|
63191117c4
|
planner: add tests for getFullAnalyzeColumnsInfo (#46153)
|
2023-08-17 08:48:32 +00:00 |
|
|
|
0eac1dba9d
|
*: replace exp/slices with std (#45978)
ref pingcap/tidb#45933
|
2023-08-11 03:30:27 +00:00 |
|
|
|
ede2bfeb1f
|
statscache: support multi-level evict (#45776)
close pingcap/tidb#45367
|
2023-08-08 01:36:13 +00:00 |
|
|
|
7ef6db2318
|
statistics: refactor TableCacheItem (#45827)
close pingcap/tidb#45367
|
2023-08-04 16:10:10 +00:00 |
|
|
|
1e73eee486
|
statistics: enable fieldalignment (#45766)
ref pingcap/tidb#40786
|
2023-08-02 11:47:38 +00:00 |
|
|
|
c384c0a8da
|
*: Move log category into a real field (#45058)
close pingcap/tidb#45057
|
2023-07-04 07:33:44 +00:00 |
|
|
|
b9671dcdfb
|
statistics: enable revive (#45110)
ref pingcap/tidb#40786
|
2023-07-03 03:06:43 +00:00 |
|
|
|
282c753cfb
|
statistics, planner: use the correct IndexInfo in GenerateHistCollFromColumnInfo() (#44441)
close pingcap/tidb#44369
|
2023-06-13 11:11:07 +00:00 |
|
|
|
1bbc6924fd
|
*: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
|
2023-04-20 07:13:19 +08:00 |
|
|
|
0423a09188
|
planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
|
2023-04-20 06:11:20 +08:00 |
|
|
|
eb2771d1ee
|
statistics, planner: add debug trace base utils and trace for GetRowCountByXXX() (#43120)
ref pingcap/tidb#43069
|
2023-04-18 22:37:19 +08:00 |
|
|
|
8d16b2656c
|
statistics: remove useless parameter (#43088)
|
2023-04-17 19:03:17 +08:00 |
|
|
|
a1338453c8
|
statistics: refine index/column stats methods (#42910)
ref pingcap/tidb#42160
|
2023-04-12 00:27:01 +08:00 |
|
|
|
f907e5aa5f
|
statistics: rename Table.Count to Table.RealtimeCount (#42764)
ref pingcap/tidb#42160
|
2023-04-04 05:38:57 +08:00 |
|
|
|
96e345d1b3
|
statistics: use histogram buckets bounds to enhance string match functions estimation (#40338)
ref pingcap/tidb#36209
|
2023-02-28 22:09:09 +08:00 |
|
|
|
98c22c1e32
|
statistics: use histogram count rather than realtime count to calculate stats healthy (#41031)
|
2023-02-03 16:11:57 +08:00 |
|
|
|
58468bf399
|
statistics: move TableStatsFromStorage out of handle (#40822)
ref pingcap/tidb#40624, ref pingcap/tidb#40791
|
2023-02-02 19:43:56 +08:00 |
|
|
|
3cb091ba18
|
statistics: change the upper bound of the out-of-range estimation to modify count | tidb-test=pr/2012 (#39011)
close pingcap/tidb#39008
|
2023-01-10 15:26:23 +08:00 |
|
|
|
6af4e4b160
|
statistics: fix merge global stats panic if the partition hasn't been analyzed before (#39123)
close pingcap/tidb#39121
|
2022-11-15 18:27:55 +08:00 |
|
|
|
22b85b9b3e
|
statistics, planner: make the content in HistColl.ColID2IdxIDs stable (#38458)
close pingcap/tidb#38457
|
2022-10-18 17:57:55 +08:00 |
|
|
|
7d0318cbd3
|
planner, statistics: refine stats loaded status and when to use pseudo stats (#37444)
close pingcap/tidb#37485
|
2022-09-01 20:56:24 +08:00 |
|
|
|
6e582640d7
|
*: upgrade glangci-linter (#37413)
|
2022-09-01 12:14:24 +08:00 |
|
|
|
d435267600
|
statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
|
2022-08-25 12:14:21 +08:00 |
|
|
|
96165aae7e
|
statistics: stablize (*Table).GetColRowCount() (#37081)
close pingcap/tidb#37080
|
2022-08-13 00:58:48 +08:00 |
|
|
|
c63a8d83a6
|
statistics: support extend show histograms (#36509)
close pingcap/tidb#36481
|
2022-08-10 11:58:48 +08:00 |
|
|
|
212d62ee41
|
statistics: support tracking histogram (#36170)
ref pingcap/tidb#34052
|
2022-07-28 11:11:11 +08:00 |
|
|
|
34628f0f1a
|
*: Spelling, change ture to true (#36520)
closes pingcap/tidb#36519
|
2022-07-27 14:35:11 +08:00 |
|
|
|
f0717dfe07
|
statistics, sessionctx: introduce topn assisted cardinality estimation for string matching functions (#36210)
close pingcap/tidb#36209
|
2022-07-20 21:55:09 +08:00 |
|
|
|
da1b82aae7
|
statistics: support tracking topn in statsCache (#35510)
ref pingcap/tidb#34052
|
2022-07-13 11:57:06 +08:00 |
|
|
|
55aea2787d
|
*: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
|
2022-07-06 13:41:02 +08:00 |
|
|
|
aec4349cac
|
statistics: let index support LoadNeededHistograms (#35775)
ref pingcap/tidb#35764
|
2022-07-04 14:03:00 +08:00 |
|
|
|
96526518b4
|
statistics: support tracking column cmsketch (#35135)
ref pingcap/tidb#34052
|
2022-06-17 17:20:35 +08:00 |
|
|
|
b24ef9a9a7
|
*: fix panic when mergeGlobalStats for newly-added index or column (#35066)
close pingcap/tidb#35056
|
2022-05-31 16:10:27 +08:00 |
|
|
|
e0c0c737a2
|
*: add metrics for stats healthy (#34636)
close pingcap/tidb#34691
|
2022-05-16 21:18:38 +08:00 |
|
|
|
0f0a2ca774
|
statistics: add lru cache implement for statsCacheInner (#34323)
ref pingcap/tidb#34052
|
2022-05-06 16:22:56 +08:00 |
|
|
|
f88dab92f9
|
util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
|
2022-05-06 10:08:57 +08:00 |
|
|
|
1bf64c60f4
|
*: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
|
2022-04-26 19:28:51 +08:00 |
|
|
|
ebdc78463a
|
statistics: introduce cache interface for statsCache (#34061)
* fix
Signed-off-by: yisaer <disxiaofei@163.com>
* fix
Signed-off-by: yisaer <disxiaofei@163.com>
* fix
Signed-off-by: yisaer <disxiaofei@163.com>
* fix test
Signed-off-by: yisaer <disxiaofei@163.com>
* fix test
Signed-off-by: yisaer <disxiaofei@163.com>
* fix test
Signed-off-by: yisaer <disxiaofei@163.com>
* support forward dumpfile request
Signed-off-by: yisaer <disxiaofei@163.com>
add log
Signed-off-by: yisaer <disxiaofei@163.com>
add log
Signed-off-by: yisaer <disxiaofei@163.com>
add log
Signed-off-by: yisaer <disxiaofei@163.com>
add log
Signed-off-by: yisaer <disxiaofei@163.com>
fix get topo
Signed-off-by: yisaer <disxiaofei@163.com>
revise log
Signed-off-by: yisaer <disxiaofei@163.com>
fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
revise handle error
Signed-off-by: yisaer <disxiaofei@163.com>
revise handle error
Signed-off-by: yisaer <disxiaofei@163.com>
* fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
* fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
* fix lint
Signed-off-by: yisaer <disxiaofei@163.com>
* remove limit
Signed-off-by: yisaer <disxiaofei@163.com>
* introduce interface
Signed-off-by: yisaer <disxiaofei@163.com>
* introduce tableMemUsage
Signed-off-by: yisaer <disxiaofei@163.com>
* add comments
Signed-off-by: yisaer <disxiaofei@163.com>
* add comments
Signed-off-by: yisaer <disxiaofei@163.com>
* address the comment
Signed-off-by: yisaer <disxiaofei@163.com>
* address the comment
Signed-off-by: yisaer <disxiaofei@163.com>
* address the comment
Signed-off-by: yisaer <disxiaofei@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
|
2022-04-20 15:06:59 +08:00 |
|
|
|
c671ebc88b
|
statistics: fix wrong point range in crossValidationSelectivity (#33357)
ref pingcap/tidb#28030
|
2022-03-28 10:52:27 +08:00 |
|
|
|
daf525a17e
|
*: replace compareDatum by compare, range part (#30710)
|
2021-12-16 19:48:36 +08:00 |
|
|
|
2f42f7c0f6
|
planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668)
|
2021-12-14 19:36:35 +08:00 |
|
|
|
aa002f28a2
|
*: show cmd to check if all needed histograms are loaded (#29672)
|
2021-12-10 13:45:57 +08:00 |
|
|
|
f82ca6a8eb
|
statistics, util/ranger: add cardinality estimation trace for GetRowCountBy... (#30321)
|
2021-12-07 19:45:56 +08:00 |
|
|
|
6ed0134902
|
statistics: pseudo table should not contain the hidden columns (#29584)
|
2021-11-09 16:27:05 +08:00 |
|
|
|
efa94595c0
|
*: enable golangci-lint unconvert (#28929)
|
2021-10-23 21:28:47 +08:00 |
|
|
|
94e30df8e2
|
parser: fix compiling, add unit tests (#28700)
|
2021-10-11 23:15:25 +08:00 |
|
|
|
7755d25aba
|
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198)
|
2021-08-16 18:52:00 +08:00 |
|