Commit Graph

5742 Commits

Author SHA1 Message Date
56dacd0265 lightning: fix oom when mem/cpu ratio is low (#43729)
close pingcap/tidb#43728
2023-05-12 03:36:21 +00:00
3e2d003e0d planner: skip json column which exists in mv index when collecting stats (#43706)
close pingcap/tidb#43705
2023-05-11 07:09:21 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
5f92a50a66 *: fix incorrect handling of EXECUTE stmt in plan replayer capture (#43662)
close pingcap/tidb#43620
2023-05-10 13:46:07 +00:00
f803438292 executor: split TestIndexMergeReaderPanic to avoid case timeout (#43689)
close pingcap/tidb#43688
2023-05-10 09:58:08 +00:00
ec03200fb1 planner, executor: add extraProj for indexMerge with orderBy + limit (#43617)
close pingcap/tidb#43609
2023-05-09 15:32:08 +00:00
0d3ad53386 ddl, executor: executor change for pause/resume on ddl jobs (#43171)
close pingcap/tidb#18015, ref pingcap/tidb#40041
2023-05-09 14:32:08 +00:00
5f11392afc load data: sync rewrite set expr for concurrent load (#43492)
ref pingcap/tidb#42930
2023-05-09 08:46:58 +00:00
bec5bb9e58 planner: enable constant propagation for plan cache parameters (#43009)
close pingcap/tidb#43520, close pingcap/tidb#43522
2023-05-09 02:36:58 +00:00
3b508b3a20 indexmergereadtest: speed up TestOrderByWithLimit test (#43599) 2023-05-08 06:36:57 +00:00
e9992961a6 executor: move more test into executor/test (#43596) 2023-05-08 06:18:58 +00:00
b320fdca9f *: enable race for index_merge_read_test and increase shard for it (#43567)
ref pingcap/tidb#43118
2023-05-06 04:18:55 +00:00
6488c35a25 sql: implement SHOW BR JOBS <n:int> and CANCEL BR JOB <n:int> (#43074)
close pingcap/tidb#43072
2023-05-05 10:45:57 +00:00
cb609bb39c *: add tidb_row_checksum() as a builtin function (#43479)
ref pingcap/tidb#42747
2023-05-05 07:03:56 +00:00
79729c32d4 executor: fix data race in the buildMemTableReader (#43431)
close pingcap/tidb#43118
2023-05-04 08:05:55 +00:00
b901431398 *: use time.DateTime,time.DateOnly to replace magic number (#43505) 2023-05-04 03:21:55 +00:00
7eff8ce629 executor: fix the wrong ORDINAL_POSTITION in columns view (#43491)
close pingcap/tidb#43379
2023-05-03 02:53:54 +00:00
93966501e5 session: change some privilege columns to case-insensitive (#43443)
close pingcap/tidb#41048
2023-04-27 12:29:53 +00:00
400f21687b parser: make normalization more aggressive (#43410)
close pingcap/tidb#43409
2023-04-27 09:03:52 +00:00
4b6f0ce4ee planner: open fully order prop push down for partition table's table scan and single index scan (#42694)
ref pingcap/tidb#26166
2023-04-26 12:09:52 +00:00
e2277cf7dd load data: time and log for different phase, use err group in chunk_process (#43245)
ref pingcap/tidb#42930
2023-04-26 07:29:52 +00:00
2ca58a4be1 planner, executor: remove pid param for sortedSelectResults (#43315)
close pingcap/tidb#43241
2023-04-26 06:25:52 +00:00
78e614f0e6 loaddata: make some test use 1 thread explicitly (#43394)
ref pingcap/tidb#42930
2023-04-26 02:29:51 +00:00
a02a751b82 resource_control: make metrics time point match in dynamic calibrate (#43248)
ref pingcap/tidb#43212
2023-04-25 12:11:56 +00:00
451bda4da7 oomtest: fix data race in the oomtest (#43398)
close pingcap/tidb#43396
2023-04-25 09:18:03 +00:00
355958af52 *: fix warning message when to meet strconv.ErrRange (#43391)
close pingcap/tidb#40582
2023-04-25 09:17:52 +00:00
f224d95093 lightning: reuse worker-concurr and remove range-concurr in local backend (#43348)
ref pingcap/tidb#42930
2023-04-25 07:13:52 +00:00
4f2ef40a0f *: fix warning message when to meet strconv.ErrSyntax (#43358)
close pingcap/tidb#41730
2023-04-24 12:16:01 +00:00
1c49453136 disttask: enable load data for distribute framework (#43107)
close pingcap/tidb#43106
2023-04-24 11:04:46 +00:00
98250894b5 fix: fix global index scan, index join, and dml in drop partition (#41992) 2023-04-23 03:06:44 +00:00
915108ba7e load data: test for generated columns in column list for physical mode (#43239)
ref pingcap/tidb#42930
2023-04-21 16:41:21 +08:00
f8445e74ba *: fix unstable test TestIndexMergeReaderClose (#43273)
close pingcap/tidb#43272
2023-04-21 13:37:20 +08:00
658e7b8914 planner, executor: indexMerge support partition table with limit embedded (#43173)
ref pingcap/tidb#41028, close pingcap/tidb#43158, close pingcap/tidb#43160
2023-04-20 21:43:20 +08:00
dc3f1e36ea planner: recalculate as-of ts of staleread when plan is cached (#43204)
close pingcap/tidb#43044
2023-04-20 20:57:20 +08:00
a7d636e2bb execdetails: unify WRU/RRU to RU (#43188)
close pingcap/tidb#43187
2023-04-20 12:27:27 +08:00
66c36ededb *: support load data for table with generated columns (#43108)
close pingcap/tidb#39885
2023-04-20 12:27:19 +08:00
426671e91a planner, sessionctx: enable late materialization in disaggregated TiFlash (#43068)
close pingcap/tidb#40601
2023-04-20 10:21:19 +08: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
875e34d28a executor: fix uint type overflow on generated column not compatible with mysql (#40157)
close pingcap/tidb#40066
2023-04-20 00:11:19 +08:00
bcd2233901 *: format the error message when query/instance exceeds memory quota (#43182)
close pingcap/tidb#42044
2023-04-19 23:13:32 +08:00
268901f308 resource_control: support dynamic calibrate resource (#43098)
ref pingcap/tidb#38825
2023-04-19 22:31:20 +08:00
2aa72b7db6 load data: physical mode part 4 (#43162)
ref pingcap/tidb#42930
2023-04-19 19:01:20 +08:00
fc5392edf7 resource_control: load resource unit config from local pd client (#43097)
ref pingcap/tidb#38825
2023-04-19 18:39:20 +08:00
d33b9ae173 load data: check table empty or not for physical mode (#43157)
ref pingcap/tidb#42930
2023-04-19 13:21:19 +08:00
0c3b88c0ce lightning: fix generating region job is serialized (#43123)
close pingcap/tidb#42456
2023-04-19 11:43:19 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
3c1675d264 oomtest: fix data race at the oomCapture (#43121)
close pingcap/tidb#43119
2023-04-18 11:35:18 +08:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
8e7ebb330f planner: add more test cases for non-prep plan cache (#43083)
ref pingcap/tidb#36598
2023-04-17 21:41:18 +08:00