Commit Graph

830 Commits

Author SHA1 Message Date
7e627e8222 executor: make the create/start/end time in admin show ddl jobs TZ aware (#32450)
ref pingcap/tidb#26642
2022-02-23 17:25:43 +08:00
1cf4fcfa73 *: support prepared plan cache for cached table (#32139)
close pingcap/tidb#32003
2022-02-14 12:29:37 +08:00
db
43b818b80d executor: add retriver for tikv_region_peers (#30657)
close pingcap/tidb#31050
2022-02-07 16:47:35 +08:00
07b0c7c657 executor: get the right result for stmt select ... for update union select … (#31956)
close pingcap/tidb#31530
2022-01-27 17:45:13 +08:00
9e928b2321 *: fix weak consistency not work (#31935)
close pingcap/tidb#31933
2022-01-25 14:24:11 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
ad1c5b5081 *: add pushdown for ShowStmt and implement for show columns (#31742)
close pingcap/tidb#29910
2022-01-20 20:41:45 +08:00
4bab2b6dff *: Rename table placement_policies to placement_rules (#31698)
close pingcap/tidb#31425
2022-01-17 16:01:45 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
a082abdc6f *: fix case-sensitivity issue with EQ/IN when query information_schema.columns (#31463)
ref pingcap/tidb#31481
2022-01-10 13:31:41 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
f7cc15fe60 executor: fix CTE bug when used with Apply (#31256)
close pingcap/tidb#31255
2022-01-06 15:34:38 +08:00
daa17c448d executor: Fix data race when getting snapshot ts in IndexLookupJoin and UnionExec (#30487)
close pingcap/tidb#30468
2022-01-05 19:20:37 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982)
close pingcap/tidb#30913
2021-12-28 14:45:49 +08:00
ab821eb315 planner: add usage of paging copr in optimizer (#30536)
close pingcap/tidb#30578
2021-12-24 18:23:53 +08:00
e3c56b75ea executor: buildWindow cannot call typeInfer twice (#30773)
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
8cf847a575 executor: add an unit test case for unreasonable invoking Close (#30696) 2021-12-16 13:04:35 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
fbcf7575dc ddl: let admin cancel ddl jobs run in a new transaction (#30549) 2021-12-09 18:59:57 +08:00
9773f83aec *: replace compareDatum by compare, PR 10 (#30456) 2021-12-08 17:35:57 +08:00
27f7b592b1 executor: enable index_merge used in transaction. (#29875) 2021-12-08 12:25:56 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
4fbbd5a77d executor: make projection executor unparallel for insert/update/delete (#30290) 2021-12-03 15:13:54 +08:00
3487bb7b5d executer: fix data race (#30186) 2021-11-29 18:59:52 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
7fdafb47d3 planner: add sub plan info of shuffleReceiver when query explain analyze (#27992) 2021-11-23 16:49:51 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
db
177be48e94 executor: add retriver for tidb_hot_regions_history (#27375) 2021-11-19 16:43:48 +08:00
20b9a4d8ca executor: index out of range for lookUpContents (#27138) (#29456) 2021-11-17 16:41:46 +08:00
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
9c683d3f67 dml : Support point get / batch point get for cache table (#29703) 2021-11-15 15:49:07 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
e27af5e04f *: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. (#29593) 2021-11-12 13:19:06 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08:51 +08:00
ac2c6f8d87 ddl : ddl forbid stale read for cache table and support history read (#29173) 2021-10-29 17:08:49 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
2ba75e4af5 statistics: introduce bernoulli sampling method (#28999) 2021-10-28 12:52:49 +08:00
ed7bebded9 infoschema: remove is.placement_policy (#28890) (#28896) 2021-10-18 23:10:43 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00