bee6d37c8b
executor: make the memory tracker of groupConcat more accurate. ( #23034 )
2021-03-04 10:50:54 +08:00
b5a9076aea
*: new secondary index value format ( #20220 )
2021-03-03 21:16:54 +08:00
93c1779f2d
*: support show stats_extended to inspect extended stats cache ( #23052 )
2021-03-03 20:06:58 +08:00
b81e547e66
executor: fix err check ( #22991 )
2021-03-03 19:26:56 +08:00
3f7a573caa
planner: fix range partition prune bug for IN expr ( #22894 ) ( #22938 )
2021-03-03 16:22:55 +08:00
d3fe2187a9
statistics: introduce a new kind of syntax to drop global-stats ( #23061 )
2021-03-03 14:50:54 +08:00
622f702aae
store/mockstore/unistore: refine and add more mpp tests ( #22803 )
...
* refine and add more tests
* fix make dev and address comments
* fix make dev
2021-03-03 14:31:05 +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
602bcd2e40
*: fix some structcheck lint warnings ( #22983 )
2021-03-02 23:12:54 +08:00
17eca20f18
executor, privilege: fix failure on grant USAGE privilege operation ( #22748 )
2021-03-02 22:30:54 +08:00
24c9df147d
*: refactor table.Table interface, clean up unnecessay methods ( #22430 )
2021-03-02 19:48:54 +08:00
d94920e4a9
statistics: support dropping partition/global level statistics ( #23023 )
2021-03-02 16:52:48 +08:00
3fcfefd267
executor: track partialResultMap in unparalleled aggreagte. ( #22962 )
2021-03-02 14:50:55 +08:00
10e5a34be8
execution: fix index's duplicate error message ( #22858 )
2021-03-02 10:56:53 +08:00
8230f4162b
*: optimize analyze cluster index table ( #21381 )
2021-03-01 22:14:54 +08:00
3d4def7eef
planner, statistics: allow (auto) analyze single partition in dynamic-only mode ( #22625 )
2021-03-01 17:23:31 +08:00
550ca8eaeb
statistics: enables global-level stats to be generated in fast analyze mode ( #22931 )
2021-03-01 16:40:50 +08:00
6bd6df7d1e
planner: let tikv know primary prefix columns info ( #22829 )
2021-03-01 16:20:54 +08:00
e2fdb00e62
config: fix data race caused by config.Labels ( #22977 )
2021-03-01 16:02:54 +08:00
bc37f088ba
*: fix some varcheck lint warnings ( #23011 )
2021-03-01 15:10:54 +08:00
e1004a2ccb
*: modify the switch to control global stats ( #22866 )
2021-03-01 14:18:30 +08:00
febac515b1
store/tikv: move coprocessor out ( #22922 )
2021-03-01 11:42:54 +08:00
8357f809ff
*: remove some useless codes and do tiny update ( #22972 )
2021-02-26 19:14:53 +08:00
ec788ac154
executor: reduce useless memory allocation in min/max aggregate ( #22912 )
2021-02-26 18:04:53 +08:00
8a490e96b5
parser: quote identifier with backquote when getting SQL digest ( #22893 )
2021-02-26 14:54:54 +08:00
f89ab46437
infoschema, executor: Resolve bug where show index from perf_schema had no results ( #22772 )
2021-02-26 13:58:53 +08:00
df01fcc1ff
planner, executor: reset NotNullFlag when merge schema for join ( #22955 )
2021-02-25 23:17:55 +08:00
7151b4f3b5
config: use tidb_enable_list_partition to enable list table partition feature ( #22864 )
2021-02-25 22:11:04 +08:00
745d20aa64
store/tikv_driver:move MemManager from KVStore to tikvStore ( #22728 )
2021-02-25 15:53:11 +08:00
daf3337a43
oracle: make @@txn_scope only support local and global ( #22784 )
2021-02-25 15:26:03 +08:00
35534ae752
*: apply golangci-lint to the new code ( #22824 )
2021-02-24 18:24:03 +08:00
8ea5930ea8
*: separate use of kv.Storage and tikv.Storage ( #22891 )
...
* *: separate use of kv.Storage and tikv.Storage
Signed-off-by: disksing <i@disksing.com >
* fix compile
Signed-off-by: disksing <i@disksing.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
Co-authored-by: Shirly <wuxuelian@pingcap.com >
2021-02-24 17:54:03 +08:00
b5c6c9f548
statistics: make dump/load/show-stats be compatible with global-stats ( #22911 )
2021-02-24 17:33:40 +08:00
2d48f9573c
planner: decorrelate LogicalApply with inner join as the inner child ( #22649 )
2021-02-24 15:42:03 +08:00
b226130926
session: fix linearizability for non-autocommit async-commit txn ( #22879 )
...
* fix linearizability for non-autocommit async-commit txntxn
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* add IsExplicit flag
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* set missing cases
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* remove redundant assignment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* revert go sum change
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* fmt
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* clarify comment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-24 13:32:48 +08:00
3edbab31db
executor: fix regression by Tracker.Consume in aggregate. ( #22883 )
...
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-23 17:44:48 +08:00
339bc46f87
brie/: add GetVersion function for tidbGlueSession ( #22731 )
...
* add GetVersion function for tidbGlueSession
* add ut
* update labeler.yml
* Apply suggestions from code review
Co-authored-by: tangenta <tangenta@126.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
Co-authored-by: tangenta <tangenta@126.com >
2021-02-23 11:41:09 +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
04e5137f48
*: use explain format = 'brief' for tests ( #22677 )
2021-02-22 17:50:06 +08:00
b74dfaf810
mockstore: move mockstore/cluster to tikv/mockstore/cluster ( #22856 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-22 15:42:16 +08:00
461cae15a7
planner, distsql: fix the behaviour of building ranges for TiFlash ( #22725 )
2021-02-21 18:29:46 +08:00
4f56ab07a2
expression: do not adjust int when it is null and compared year ( #22821 )
...
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com >
2021-02-20 14:43:16 +08:00
3ad7f40140
expression: Add warning info for exprs that can not be pushed to storage layer ( #22713 )
2021-02-20 10:41:57 +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
fb84db123c
executor: make memory tracker for aggregate more accurate. ( #22463 )
2021-02-18 11:27:11 +08:00
27db39b480
*: use CLUSTERED and NONCLUSTERED to control primary key type ( #22409 )
2021-02-05 20:41:41 +08:00
20ddc19f22
server: retry executing sql without tiflash after tiflash is down ( #22459 )
2021-02-05 12:14:41 +08:00
2d717c12b3
statistics: merge the partition-level stats to global-level stats ( #22667 )
2021-02-05 11:42:41 +08:00