74055f7f0e
statistics, executor: fix new collation for analyze version 2 ( #25311 )
2021-06-17 01:32:37 +08:00
cc5e161ac0
*: use tikv/client-go/v2 ( #25359 )
2021-06-11 17:24:35 +08:00
11716e7f4a
*: use full sampling as default analyze ( #25132 )
2021-06-06 00:34:27 +08:00
2e083b40e5
statistics: support indexes containing virtual column for full sampling ( #24999 )
2021-06-04 16:18:28 +08:00
41e1e814ff
executor: parallel some part of the sampling-based analyze ( #24860 )
2021-06-03 23:08:26 +08:00
66ad36ee10
planner, executor, statistics: support correlation calc for new sampling method ( #24458 )
2021-05-25 23:57:34 +08:00
2580240dde
*: pass sql, plan digest down to KV request ( #24854 )
2021-05-25 15:47:33 +08:00
bfdad7c752
*: milisecond test and infoschema fix ( #24820 )
2021-05-24 18:27:34 +08:00
2df8c3bfd1
store/tikv: resolve ReplicaReadType dependencies ( #24653 )
2021-05-17 14:09:39 +08:00
d2bdfd51b7
store/tikv: move transaction options out to /kv ( #24619 )
2021-05-13 17:49:39 +08:00
c8bc701170
*: misc cleanups to variable package ( #24507 )
2021-05-11 13:23:38 +08:00
3fed33fc17
statistics: dump FMSketch to KV only for partition table with dynamic prune mode ( #24453 )
2021-05-11 12:47:38 +08:00
5e9e0e6e37
*: consitent get infoschema ( #24230 )
2021-05-10 21:00:36 +08:00
18d519f056
stats, executor: use a correct sampling to collect stats ( #23997 )
2021-05-02 23:11:51 +08:00
0ec8f2d9fb
store/tikv: remove use of Priority transaction options in store/tikv ( #24360 )
2021-04-29 13:59:57 +08:00
619c472005
store/tikv: remove IsolationLevel option ( #24335 )
2021-04-28 15:25:56 +08:00
77577d823e
executor, statistics: remove NULL value from column histogram created by fast analyze ( #24183 )
2021-04-21 20:09:55 +08:00
3f6dfe91da
distsql: refactor range splitting logic & comments on int64 boundary ( #23991 )
2021-04-15 21:51:53 +08:00
d460a9c49a
*: add column End_time in show analyze status and add related log ( #23674 )
2021-04-14 18:31:51 +08:00
1e2cbf9a22
store/tikv: use []byte instead of kv.Key in package store/tikv ( #23859 )
2021-04-13 12:39:52 +08:00
dbd31ad044
statistics: make the global-level topN more accurate ( #23862 )
2021-04-12 12:06:34 +08:00
2ea64b28fd
executor,distsql: clean up useless interface ( #23885 )
2021-04-09 21:30:33 +08:00
3a1dd7a665
statistics: collect FMSketch when processing index analyze tasks ( #23838 )
2021-04-09 15:40:18 +08:00
35eded065e
*: fix structcheck lint warnings ( #23062 )
2021-03-24 21:09:37 +08:00
efe172b0e0
store/tikv:move option from kv to tikv, and make define as a normal int ( #23171 )
2021-03-22 20:13:36 +08:00
1d5a81edb3
statistics: handle drop partition events for global-stats ( #23343 )
2021-03-22 14:29:36 +08:00
b983856ddf
store/tikv:mv kv.ReplicaReadType to tikv ( #23376 )
2021-03-19 21:19:36 +08:00
b534ec7b49
store/tikv: remove kv.Version from package store/tikv ( #23282 )
2021-03-13 10:38:55 +08:00
c1b8347425
statistics: add a test case which builds global-stats on different versions of partition-stats ( #23231 )
2021-03-11 14:14:58 +08:00
f33d02bdbf
statistics: forbid getting global-stats through fast analyze and incremental analyze ( #23066 )
2021-03-05 11:24:54 +08:00
a64d8860f1
statistics: forbid global-stats in stats-ver1 and make analyze options take effect in global-stats ( #23050 )
2021-03-03 11:58:54 +08:00
5b12f9224e
*: check tidb_enable_extended_stats in analyze and row count estimation ( #23029 )
2021-03-03 02:54:53 +08:00
8230f4162b
*: optimize analyze cluster index table ( #21381 )
2021-03-01 22:14:54 +08:00
550ca8eaeb
statistics: enables global-level stats to be generated in fast analyze mode ( #22931 )
2021-03-01 16:40:50 +08:00
e1004a2ccb
*: modify the switch to control global stats ( #22866 )
2021-03-01 14:18:30 +08:00
35534ae752
*: apply golangci-lint to the new code ( #22824 )
2021-02-24 18:24:03 +08:00
f3fe4895cb
statistics: support to store FMSketch and add FMSketch to column stats ( #22841 )
...
* add FMSketch to mysql.stats_histograms
* statistics: support store FMSketch and add FMSketch to histogram
* FIX UT
* Create Stats_FM_Sketch Table
* fix UT
* add some tests
* FIX ut
* move fmSketch from histogram to column.stats
* remove unused code and comments
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* finish the FMSketch.MemoryUsage function
* add some comments for FMSketch.MemoryUsage function
* fix typo
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-23 10:39:09 +08:00
461cae15a7
planner, distsql: fix the behaviour of building ranges for TiFlash ( #22725 )
2021-02-21 18:29:46 +08:00
8842bbcde2
statistics: merge partition-level TopN to global-level TopN ( #22433 )
2021-02-19 19:05:58 +08:00
59ccb29508
statistics: merge the partition-level histograms to a global-level histogram ( #22603 )
2021-02-19 11:08:04 +08:00
2d717c12b3
statistics: merge the partition-level stats to global-level stats ( #22667 )
2021-02-05 11:42:41 +08:00
4172f473da
*: adapt new api for the executor package ( #22644 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-02-04 17:32:15 +08:00
343c412531
planner, executor, statistics: add tests for version 2 and fix bugs ( #22461 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-02-04 15:52:30 +08:00
44641c3282
planner: change the content of AnalyzeTableID to build global-stats ( #22554 )
2021-02-02 15:39:44 +08:00
7ca1629d1a
*: refactor ExecuteInternal to return single resultset ( #22546 )
2021-02-01 14:05:27 +08:00
3dd842f50a
statistics: add bucket ndv for index histogram ( #20580 )
...
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-01-13 18:24:21 +08:00
795e88ae93
executor: fix signed cluster index behavior ( #22085 )
...
Signed-off-by: lysu <sulifx@gmail.com >
2020-12-30 11:27:44 +08:00
092a01a0a4
statistics, executor: refactor statistics on columns ( #21817 )
2020-12-24 13:56:30 +08:00
f5a3a38bfe
*: fix bug that broadcast join/MPP not compatible with clustered index ( #21663 )
2020-12-15 11:42:55 +08:00
b4eee287af
*: extract topn out of histogram correctly ( #21007 )
...
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
2020-12-10 17:05:39 +08:00