Commit Graph

283 Commits

Author SHA1 Message Date
ea6d00be04 *: add a new way to calculate TPS (#12411) 2019-09-30 18:25:37 +08:00
5b3df63ced executor: case refactor for point execution (#12486) 2019-09-30 16:10:08 +08:00
1a9fcb9c20 *: replace cost model factor constants with system variable (#12367) 2019-09-30 14:24:07 +08:00
41ac571d7b *: remove the LightningMode from TiDB (#12466) 2019-09-29 15:12:01 +08:00
d5094bc304 session: remove unused global variable (#12460)
Signed-off-by: Lonng <heng@lonng.org>
2019-09-29 11:11:02 +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
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
74eaf327e9 *: log each com_stmt_fetch separately (#11987) 2019-09-25 17:57:16 +08:00
fef1eac084 store/tikv: implement a ttlManager to update the TTL of a transaction (#12177) 2019-09-25 16:33:42 +08:00
06629d6ac4 *: check privilege when reusing the cached plan (#12211) 2019-09-23 20:36:45 +08:00
582076b5cc *: wrap the previous statement for performance (#12283) 2019-09-23 15:09:15 +08:00
d629051370 session: do not lock untouched unique key in pessimistic mode (#12256) 2019-09-18 17:02:15 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
04292a00de session: annotate the previous statement to the error when transaction commit failed (#12087) 2019-09-16 15:15:07 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
fb683bef2c executor: refactor union scan and dirty table (#11702) 2019-09-12 10:00:45 +08:00
c2901fea45 meta/autoid : fix the issue that MaxUint64 and MaxInt64 autoID is incorrectly allocated (#12119) 2019-09-11 08:07:39 -05:00
57da569736 store/tikv,session: invalidate snapshot cache under pessimistic transaction (#12147) 2019-09-11 20:14:15 +08:00
46cb64a257 server: reset current start ts in processlist when transaction committed (#12070) 2019-09-10 20:27:44 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
dffe29355a *: not send tso request when point get with max tso (#11981) 2019-09-03 23:11:49 +08:00
994e14e2e7 *: record previous statement when commit is slow (#11908) 2019-09-03 21:39:35 +08:00
c07fcc4a34 executor: make the projection executor support vectorized expression evaluation (#11917) 2019-08-30 13:41:05 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
e15e66b8e7 session: fix log slow log succ field (#11867) 2019-08-27 13:53:13 +08:00
d95a15ee3e server: fix start ts in slow log when transaction retrying (#11851) 2019-08-26 17:41:46 +08:00
f24866a40c *: support bindings for prepare statement (#11642) 2019-08-26 10:30:40 +08:00
396b094675 *: record query start time to session variables (#11822) 2019-08-22 21:46:17 +08:00
8d165f0fd2 executor: copy row data instead of refereeing chunk.Row in some window functions. (#11678) 2019-08-22 10:57:54 +08:00
ec681598b6 *: change the query start time to the parsing time (#11159) 2019-08-20 20:35:16 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
140718d230 executor: fix auto retry when transaction has select for update (#11714) 2019-08-12 16:32:15 +08:00
d210889a6c *: trace the execution of the insert operation (#11667) 2019-08-09 14:22:03 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
02ab1ed7ee executor,session: display the tree-like format of the trace statement (#11633) 2019-08-06 14:18:31 +08:00
cf11ef3e31 executor: refactor info from interface to string to avoid runT… (#11510) 2019-07-30 09:32:27 +08:00
e09745bd02 metrics: add metrics for bind info (#10921)
All tests passed, auto merged by Bot
2019-07-26 20:19:03 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
7f3bff8afe session: do not keep history when the transaction retry is disabled (#11192) 2019-07-12 12:42:33 +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
407e50da82 planner: generate IndexMergePath in physical optimization (#10512) 2019-07-05 14:49:54 +08:00
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00