|
|
4caa23e8d2
|
session: add encoded plan cache to avoid repeated encode plan when recording slow-log and statement (#21139)
|
2020-11-23 15:30:27 +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 |
|
|
|
3ed192eb0d
|
executor,server: fix pessimistic "insert select for update" return malformed packet (#20584)
Signed-off-by: lysu <sulifx@gmail.com>
|
2020-10-27 19:50:24 +08:00 |
|
|
|
e302200999
|
executor: force print slow log when trace is enabled (#20569)
|
2020-10-22 11:02:25 +08:00 |
|
|
|
2f067c0542
|
*: redact arguments for Error (#20436)
|
2020-10-21 14:44:08 +08:00 |
|
|
|
5996c5681c
|
*: Support query backoff detail in SLOW_QUERY and add runtime stats columns to STATEMENTS_SUMMARY、SLOW_QUERY (#20300)
|
2020-10-14 17:27:07 +08:00 |
|
|
|
98f5ca4a8d
|
txn: support Oracle-like serializable isolation (#20265)
Signed-off-by: Tina Fritz <tina77fritz@gmail.com>
|
2020-10-14 13:46:24 +08:00 |
|
|
|
c704b9756e
|
executor: add runtime information for DML statement in explain analyze (#19106)
|
2020-10-10 13:34:53 +08:00 |
|
|
|
92a04ef024
|
trace: tee logs to runtime/trace output (#19994)
|
2020-09-23 18:45:38 +08:00 |
|
|
|
91b6d9eedc
|
executor: fix unexpected 'invalid auto-id' error in pessimistic txn retry (#20123)
|
2020-09-22 10:21:41 +08:00 |
|
|
|
70a567e4cb
|
session: refine error message desensitization (#19409)
|
2020-09-15 16:00:01 +08:00 |
|
|
|
bada2801ac
|
*: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-09-11 14:14:37 +08:00 |
|
|
|
0fc03a9f71
|
session: use new PD TS as forUpdateTS on pessimistic write conflict (#19916)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
|
2020-09-10 16:35:20 +08:00 |
|
|
|
47270445d9
|
server: fix the missing detachment for the mem/disk tracker (#19794)
|
2020-09-08 10:48:51 +08:00 |
|
|
|
915d84d7ad
|
executor: add pessimistic lock keys runtime information (#19547)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-09-01 20:46:31 +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 |
|
|
|
db3c96b3ff
|
executor: add transaction commit runtime information in slow log (#19366)
|
2020-08-27 16:18:47 +08:00 |
|
|
|
253d43fb51
|
*: add execution retry count in slow log and slow_query (#19487)
|
2020-08-27 14:18:06 +08:00 |
|
|
|
9620b710a0
|
executor: fix log desensitization bug in prestmt (#19392)
|
2020-08-24 17:31:51 +08:00 |
|
|
|
1905ea0f55
|
executor: reduce log spam on pessimistic conflict (#18365)
Fixes #18255
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-30 11:27:03 +08:00 |
|
|
|
297acf7e82
|
log: add tidb_log_desensitization global variable to control whether do desensitization when log query (#18578)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-07-15 15:44:56 +08:00 |
|
|
|
b193db8b49
|
planner: ban tiflash engine when the statement is not read only (#18458)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-07-14 11:43:48 +08:00 |
|
|
|
c98514e751
|
executor: unify executor concurrency (#16999)
|
2020-06-22 17:39:32 +08:00 |
|
|
|
5405fcc4c3
|
add conn id into ctx (#18158)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-06-22 13:57:51 +08:00 |
|
|
|
dfca52cb0b
|
executor: remove sensitive information in slow-log and statement (#18107)
|
2020-06-19 16:30:17 +08:00 |
|
|
|
c2c02cde4b
|
*: support record kv/pd time for a SQL statement (#17591)
|
2020-06-18 21:17:48 +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 |
|
|
|
35e2d3a081
|
*: add global variable tidb_slow_log_masking to control masking slow log query (#17637)
|
2020-06-05 09:15:41 +08:00 |
|
|
|
2c55650617
|
*: make QPS more realistic (#17560)
|
2020-06-04 20:00:43 +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 |
|
|
|
f72b5984dd
|
executor: set the DDL query string instead of execute (#17407)
|
2020-05-26 15:48:13 +08:00 |
|
|
|
72a789a247
|
planner, infoschema : add columns about plan cache in 'performance_schema.events_statements_summary_by_digest' (#16476)
|
2020-05-26 13:10:02 +08:00 |
|
|
|
3f2d35a60b
|
RFC + executor: Support global memory tracker (#16777)
|
2020-05-13 15:49:53 +08:00 |
|
|
|
cfec13772b
|
sessionctx: record if a query hits plan cache in slow log (#17088)
|
2020-05-12 15:49:05 +08:00 |
|
|
|
7facf07f2e
|
infoschema: fix exec_count of prepared statements in statement summary (#17064)
|
2020-05-11 14:54:05 +08:00 |
|
|
|
fcfedb77fc
|
executor: bootstrap SQLs are not treated as internal queries in statement summary (#17024)
|
2020-05-09 16:01:35 +08:00 |
|
|
|
b32e834a8d
|
server: let select for update could be recorded for slow log and statements (#16743)
|
2020-04-28 12:11:56 +08:00 |
|
|
|
7106b189df
|
session: refine record execution duration metric (#16453)
|
2020-04-17 21:50:28 +08:00 |
|
|
|
1f24b9e03b
|
executor, infoschema, util: add sum_errors and sum_warnings to statement summary tables (#16456)
|
2020-04-17 10:31:35 +08:00 |
|
|
|
3edfffa84b
|
Util: Fix global tracker mutex contention (#16298)
|
2020-04-15 20:37:42 +08:00 |
|
|
|
b1d11a7091
|
*: rename statement summary tables (#16188)
|
2020-04-15 15:30:32 +08:00 |
|
|
|
d8978cb53e
|
config: support temporary storage usage limitation (#15700)
|
2020-04-08 22:14:09 +08:00 |
|
|
|
5137cbc2b1
|
executor: do not log slow query for pessimistic write conflict retry (#15890)
|
2020-03-31 22:42:41 +08:00 |
|
|
|
df6f378267
|
stmtsummary: add a switch to decide whether capture internal q… (#15461)
|
2020-03-20 17:39:11 +08:00 |
|
|
|
248be5bba5
|
planner: push down Lock to PointGet and BatchPointGet (#15257)
|
2020-03-11 13:58:32 +08:00 |
|
|
|
9905a26ea0
|
txn: fix UpdateForUpdateTS for non autocommit pessimistic mode (#15244)
|
2020-03-10 17:11:39 +08:00 |
|
|
|
353a6e02e9
|
metrics: add new transaction metrics to grafana script (#15236)
|
2020-03-10 15:46:03 +08:00 |
|
|
|
2d5d2fde27
|
*: fix the same future wait twice in RC transaction (#15117)
|
2020-03-06 00:05:54 +08:00 |
|
|
|
6b0972957c
|
config: change enable-slow-log to boolean (#14864)
|
2020-02-20 15:37:32 +08:00 |
|