Commit Graph

5107 Commits

Author SHA1 Message Date
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
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
a04000cd89 *: merge feature/flashback-cluster to master (#37529)
ref pingcap/tidb#37197
2022-09-01 10:58:24 +08:00
68c5d505d7 executor: distinguish query types of prepared stmt (#37505)
close pingcap/tidb#37503
2022-08-31 16:58:23 +08:00
4e39ac03fe executor: remove some useless sleep in test case (#37475) 2022-08-31 10:18:23 +08:00
d5c96ce5a4 util/size: define some constants for size (#37468) 2022-08-30 17:14:23 +08:00
f600a5c09f executor: check memory limit before expand string set in HashAgg (#37298)
ref pingcap/tidb#35635
2022-08-30 11:44:23 +08:00
ac6806fcfb planner: fix wrong result when enabling dynamic mode in partition table for tiflash (#37442)
close pingcap/tidb#37254
2022-08-30 11:00:23 +08:00
42b6883057 planner: allow requesting MPP task for simple selection or projection operator (#37422)
close pingcap/tidb#35875
2022-08-30 10:42:23 +08:00
a1af5af862 executor: support single precision value in json agg (#37389)
close pingcap/tidb#37287
2022-08-29 14:56:22 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
c29c1fa606 testkit,executor: add MustQueryWitnContext API and fix unstable test TestCoprocessorPriority (#37382)
close pingcap/tidb#36974
2022-08-25 17:36:21 +08:00
4c8c918c43 executor: add conversion to opaque value for json_objectagg and json_arrayagg (#37337)
close pingcap/tidb#25053
2022-08-25 17:20:22 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
7d9c68446a executor: fix unstable TestGlobalMemoryTrackerOnCleanUp (#37372)
close pingcap/tidb#36585
2022-08-25 14:30:22 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
eb8fc860ed executor: let plan replayer record table tiflash replica (#37336)
close pingcap/tidb#37255
2022-08-24 22:10:21 +08:00
25dda978ff types: fix a bug in casting str2str when union (#37242)
close pingcap/tidb#31678
2022-08-24 18:26:21 +08:00
75c70ecd0a executor: reduce a place of object allocation for HashAggExec (#37300)
close pingcap/tidb#37299
2022-08-24 13:06:20 +08:00
81a93a6977 executor, util: fix UnionScan Next() skip reading data when passed chunk capacity is 0 (#36961)
close pingcap/tidb#36903
2022-08-24 12:38:21 +08:00
285a02fa30 *: fix global temp table will read tikv after schema change (#37312)
close pingcap/tidb#37306
2022-08-24 12:08:20 +08:00
afc3276d9f *: enable linter for executor/aggregate.go (#37015) 2022-08-23 22:20:21 +08:00
45588a1f8e executor: let plan replayer support view (#37224)
close pingcap/tidb#37163
2022-08-23 19:44:20 +08:00
78b32f3cd4 *: fix the order of FallbackOldAndSetNewAction (#37272)
close pingcap/tidb#37058
2022-08-23 19:08:20 +08:00
4cf7eeee64 planner: add warn log for sync stats (#36956) 2022-08-22 15:24:20 +08:00
9af0f03506 *: only create snapshot interceptor for temporary table when needed (#37225)
close pingcap/tidb#37223
2022-08-22 12:28:53 +08:00
8b5b724d8a bazel: enable announcerc (#37217) 2022-08-19 19:06:52 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
b7797db46c executor: let analyze isolevel controlled by tidb_enable_analyze_snapshot (#37193)
ref pingcap/tidb#36983
2022-08-18 14:18:53 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
8cf2e8094a parser: support trace analyze table statement (#37155)
close pingcap/tidb#37152
2022-08-17 14:08:51 +08:00
d5ce00e8b0 executor: generate fields in chunkRowRecordSet lazily (#37156)
ref pingcap/tidb#36049
2022-08-17 12:02:51 +08:00
5a4c14cfd5 executor: close recordset (#37145) 2022-08-16 22:20:50 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
b705a13c7b planner: unify the Compile and CompileExecStmt functions (#37065)
ref pingcap/tidb#36598
2022-08-16 18:36:51 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
9c0d6157e2 executor/splittest: add a benchmark test for locating region cache (#37132)
close pingcap/tidb#37107
2022-08-16 16:06:51 +08:00
e38c45cd8c *: save some WithLabelValues (#37106)
ref pingcap/tidb#36049
2022-08-16 14:48:51 +08:00
3d9a471446 executor: enable TiDBEnableWindowFunction in SystemVar (#37077)
close pingcap/tidb#35916, close pingcap/tidb#37045
2022-08-16 14:18:51 +08:00
0039dd2fde planner: introduce tidb_general_plan_cache_size for general plan cache (#37087)
ref pingcap/tidb#36598
2022-08-16 12:04:52 +08:00
39e00ebe07 util: set 50 shard_count (#37105) 2022-08-15 19:24:50 +08:00
5a39851554 executor: fix missing index names in stmt summary/slow log for [Batch]PointGet (#37073)
close pingcap/tidb#37066
2022-08-12 18:42:49 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
4fd3d0b66d planner: fix data race in the TestInlineProjection4HashJoinIssue15316 (#37014)
close pingcap/tidb#37009
2022-08-11 12:24:48 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00