cc5e161ac0
*: use tikv/client-go/v2 ( #25359 )
2021-06-11 17:24:35 +08:00
8dc21198c9
*: fix sysvar inconsistencies/potential bugs ( #24964 )
2021-06-01 11:49:37 +08:00
2580240dde
*: pass sql, plan digest down to KV request ( #24854 )
2021-05-25 15:47:33 +08:00
6084a6a5ff
variable: change SetSessionSystemVar to accept string ( #24247 )
2021-04-26 11:47:55 +08:00
fa39b79006
store/tikv: remove execdetails dependency ( #24119 )
2021-04-20 13:41:52 +08:00
9bbda60198
planner, sessionvar: avoid sending same task id to TiFlash ( #23747 )
...
Co-authored-by: Zhuhe Fang <fzhedu@gmail.com >
2021-04-09 20:22:18 +08:00
8a490e96b5
parser: quote identifier with backquote when getting SQL digest ( #22893 )
2021-02-26 14:54:54 +08:00
8144e1395d
*:Adapt ScanDetailV2 in KvGet and KvBatchGet Response ( #21562 )
2020-12-30 17:02:44 +08:00
d878fe193b
executor: introduce new variables to control Apply's behaviors and add more tests for it ( #20844 )
2020-12-15 14:31:25 +08:00
2c66371d8b
planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding ( #18017 )
2020-11-20 20:43:23 +08:00
c808997d25
store, util: adapt scandetailv2 in coprocessor response ( #20391 )
2020-10-16 14:25:57 +08:00
5d3cdf5d17
*: add execution retry time in slow log and slow_query and statement_summary ( #19625 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-09-01 11:16:52 +08:00
253d43fb51
*: add execution retry count in slow log and slow_query ( #19487 )
2020-08-27 14:18:06 +08:00
6a7ba4aafa
executor: make the format of the DB field in slow logs be compatible with MySQL ( #18389 )
2020-07-13 18:39:41 +08:00
ef8ad55082
executor: make the format of user and host fields in slow logs be compatible with MySQL ( #18162 )
2020-07-06 10:40:21 +08:00
c2c02cde4b
*: support record kv/pd time for a SQL statement ( #17591 )
2020-06-18 21:17:48 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
405a5d009d
sessionctx: add optimization-time and wait-TS-time into the slow log ( #17869 )
2020-06-10 10:41:50 +08:00
0ec197fae0
sessionctx: add some information about the rewriting phase into the slow log ( #17569 )
2020-06-09 13:49:42 +08:00
55d9d6ca1e
sessionctx,infoschema,executor,util: Show disk usage of a query in slow query and statement summary ( #17132 )
2020-05-26 22:03:40 +08:00
0d33a84576
session: fix unsecessfully set the isolation read engines ( #17258 )
2020-05-20 19:54:37 +08:00
cfec13772b
sessionctx: record if a query hits plan cache in slow log ( #17088 )
2020-05-12 15:49:05 +08:00
4eb9ca3d3f
planner: push aggregation functions with distinct to cop ( #15500 )
2020-04-01 20:49:14 +08:00
b743208fd7
bindinfo, planner: fix sql bind when sql has symbol list ( #13889 )
2019-12-07 14:26:08 +08:00
1de8569bce
executor: show back-off details in slow log ( #13770 )
2019-12-03 06:42:32 -06:00
74eaf327e9
*: log each com_stmt_fetch separately ( #11987 )
2019-09-25 17:57:16 +08:00
0f55274760
infoschema, session: support for events_statements_summary_by_digest ( #12017 )
2019-09-12 19:53:16 +08:00
1b998ce4f6
*: record index name in the slow log instead of index id ( #11795 )
2019-08-22 14:27:47 +08:00
ec681598b6
*: change the query start time to the parsing time ( #11159 )
2019-08-20 20:35:16 +08:00
86d8f9a4bb
*: add succ filed to slow log and fix shallow copy problem when parse slow log file. ( #11417 )
...
Test pass, auto merge by Bot
2019-07-24 19:20:18 +08:00
04cd877967
session, sessionctx: add unit test for sessionctx, session ( #10763 )
2019-06-18 15:09:13 +08:00
66ba872857
session: Adjust cop-tasks' information in slow log to let it can be parsed by pt-query correctly ( #10230 )
2019-04-22 22:52:54 +08:00
f834e5d56f
executor: show memory consumption in slow query log ( #10162 )
2019-04-18 15:16:44 +08:00
2a6c8d610a
executor: show more information about cop tasks in slow log ( #10165 )
2019-04-18 13:39:57 +08:00
7666f688b3
*: add stats version in slow_query and slow log. ( #10082 )
2019-04-15 18:04:48 +08:00
e3983227b4
log: generate digest and log it in slow log ( #9662 )
2019-03-14 13:45:32 +08:00
80110fbf78
*: refactor slow log format and parse slow query log to SLOW_QUERY table. ( #9290 )
2019-03-11 14:42:29 +08:00
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +08:00
ce622ec6d8
session: move more session vars to stmt context for retrying ( #8034 )
2018-12-10 16:39:43 +08:00
ad13ca15ca
session: reset affected rows in retry. ( #2949 )
2017-03-29 16:09:47 +08:00
5230f5eabd
variable: define StatementContext. ( #2121 )
...
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00
73f2ffad90
varsutil: remove dependency on 'types' for 'variable' package ( #2095 )
...
* varsutil: remove dependency on 'types' for 'variable' package
'variable' package will be used in 'types', remove dependency on 'types' by
moving functions to a new 'varsutil' package.
Also extract 'SetExec' from 'SimpleExec'
2016-11-25 13:44:49 +08:00
0af8520a78
sessionctx/variable: remove dependency on context package. ( #2064 )
...
Makes using session variable easier and faster.
Prepare for use session variable to handle data truncated error.
2016-11-23 14:39:48 +08:00
4d988fb62b
*: Fix set tidb session variable bug ( #2036 )
2016-11-19 11:42:03 +08:00
470d6dcd1c
*: Fix TiDBSkipConstraintCheck session scope variable bug ( #2035 )
2016-11-19 11:08:58 +08:00
5f457a2c62
*: Add a variable to skip constraint check in session. ( #2031 )
...
When import data from mysqldump/mydumper. We could skip constraint check.
2016-11-18 22:54:28 +08:00
ed33f4c8a2
*: allow system variable 'character_set_results' to be set to NULL. ( #1275 )
2016-05-31 17:54:46 +08:00
f09574d826
*: support sql mode ( #1263 )
2016-05-30 13:16:41 +08:00
407d99967e
*: Refactor some code to support global system variable.
2015-10-26 14:35:06 +08:00
0d6f270068
Add files
2015-09-06 12:08:47 +08:00