Commit Graph

969 Commits

Author SHA1 Message Date
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +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
608bdf39df session: show actual error in TestPessimisticLockNonExistsKey (#31140) 2021-12-29 20:49:51 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
f39a328152 session: forbid setting both tidb_snapshot and tidb_read_staleness (#31082) 2021-12-29 15:47:50 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) 2021-12-23 20:01:47 +08:00
0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) 2021-12-23 16:37:47 +08:00
7121bf0289 planner: fix index merge plan when expr cannot be pushed to tikv (#30341)
close pingcap/tidb#30200
2021-12-23 13:39:47 +08:00
713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) 2021-12-22 18:59:48 +08:00
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447)
close pingcap/tidb#30410
2021-12-21 16:57:46 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
866c5514af session: fix bootstrap to only persist global variables (#30593)
close pingcap/tidb#28667
2021-12-19 22:21:45 +08:00
43caa02f70 config, charset: make charset config not affected by collation config (#30572) 2021-12-16 15:32:35 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
d660e483c2 sessionctx: fix the value of analyze_version when upgrading 4.x to 5.… (#30743) 2021-12-15 21:12:34 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
1f26870ccb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#30644) 2021-12-13 12:04:34 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
e520e46614 planner/core, session: fix error message of wrong variable scope (#30510) 2021-12-08 14:53:57 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
cbe5240dd0 session, sessionctx/variable: fix validation recursion bug (#30293) 2021-12-02 18:47:54 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
2d2fba5ee0 telemetry, session : add telemetry for cache table feature (#29963) 2021-11-22 14:03:49 +08:00
fac9c427e6 session, sessionctx/variable: add relaxed validation for global vars (#29594) 2021-11-18 18:31:48 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
b84eb376cf *: Add test: TestSameNameObjectWithLocalTemporaryTable (#29278) 2021-11-01 17:32:51 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
ce8e734ea2 variable: rename tmp_table_size to tidb_tmp_table_max_size (#29123) 2021-10-28 17:24:50 +08:00
b562dc90e7 executor: refactor plan replayer (#28956) 2021-10-28 15:42:49 +08:00
36bc41ad05 *: reduce object allocation by reuse chunk column (#29064) 2021-10-28 13:14:48 +08:00
da76e34953 *: add support for --initialize-secure and --initialize-insecure (#28487) 2021-10-27 14:38:49 +08:00
19a2b3c311 *: store some global variable into PD for global config (#28788) 2021-10-26 19:34:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
de9b5cbb05 session, statistics: fix "data too long for column 'xxx_bound'" when analyze tables with very long strings (#28800) 2021-10-25 19:50:48 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00