Commit Graph

116 Commits

Author SHA1 Message Date
9bda71df3b infoschema, session: forbid statement summary related global v… (#16652) 2020-04-23 12:35:25 +08:00
ff7413fedb planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache (#16321) 2020-04-17 17:15:21 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
0fcece7bbc *: show correct result for system variable tidb_capture_plan_baselines (#16013) 2020-04-03 12:18:08 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
514b180928 executor: turn off dynamic config by default and add some removed variables back (#15833)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-03-30 16:07:47 +08:00
6905549bf6 *: support more system variables in statement summary (#15508) 2020-03-25 16:07:10 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
bbac2b2fe4 executor: Improve the performance of aggFuncSum by using sliding window (#14887) 2020-03-23 13:29:44 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
9a882c4b88 sessionctx/variable: fix potential timezone bugs (#14877) 2020-03-03 10:25:40 +08:00
5d4eb4c806 config: support to dynamically update some config items read from PD (#14750) 2020-02-17 19:30:27 +08:00
f71425b32b session: support leader-and-follower for tidb_replica_read (#14761) 2020-02-14 15:06:58 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
f6fc7847b1 bindinfo: unify session variables of spm (#14005) 2019-12-12 15:09:28 +08:00
0fe96bc864 stats: remove the lower bound of auto analyze ratio (#13995) 2019-12-10 16:52:25 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
78e3c4d885 extract hot system variables from map (#13810) 2019-12-05 10:32:39 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
18fbe2d483 infoschema, util: refresh statement summary table periodically (#13680) 2019-11-28 15:39:22 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
58733475da *: support capture evolve plan tasks (#13199) 2019-11-13 16:22:48 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
538077ff75 *: rename Arrow to Chunk (#13060) 2019-11-06 14:51:10 +08:00
000c1ba5db planner, session: add isolation read with engine type (#12997) 2019-11-01 15:47:12 +08:00
6fd74f3e4c planner: support cost model for tiflash table scan (#12868) 2019-10-29 16:05:51 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
740b7769b0 *: support automatically create sql baselines (#12434) 2019-10-17 14:16:48 +08:00
20823fbe18 *: add a system variable to control the usage of baselines (#12624) 2019-10-14 21:09:03 +08:00
3e8129d59e executor,sessionctx: add correctness for system variables (#12311) 2019-10-08 16:20:52 +08:00
1a9fcb9c20 *: replace cost model factor constants with system variable (#12367) 2019-09-30 14:24:07 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
ba9d1ca960 *: adjust delta schema count and add metrics (#11625) 2019-09-27 20:33:18 +08:00
9064c49611 session, executor: support setting tidb_enable_stmt_summary in session scope (#12217) 2019-09-18 15:19:47 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
bbd131b272 ddl: disallow dropping auto_increment column attribute (#12107) 2019-09-10 21:42:52 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
c07fcc4a34 executor: make the projection executor support vectorized expression evaluation (#11917) 2019-08-30 13:41:05 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
d381d84d1b executor,sessionctx: refine output format for tidb-specific variables of boolean type (#11239) 2019-07-15 15:47:17 +08:00
89baed8e17 ddl: scatter the regions of table when creating them (#10980) 2019-07-10 11:09:14 +08:00
a737d26e4f *: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00