Commit Graph

2662 Commits

Author SHA1 Message Date
53e5197b02 executor: reuse transaction snapshot if applicable (#15400) 2020-03-16 18:25:54 +08:00
20a19220a7 planner: refactor memory table explain information and add explain interface for other extractors (#15377) 2020-03-16 17:40:24 +08:00
1b7cc5daa3 executor: rename startTS to snapshotTS in executor builder (#15396) 2020-03-16 14:10:24 +08:00
cab1522bef executor: refine flashback table error message (#15331) 2020-03-16 12:50:40 +08:00
da9ed101b0 executor: asynchronous parsing slow log (#15363) 2020-03-16 12:40:24 +08:00
a977875623 *: use https protocol between tidb-pd tidb-tidb when cluster-ssl configured (#15342) 2020-03-16 11:36:24 +08:00
aa0c4f6d8b executor: migrate dataForServersInfo from infoschema pkg to executor (#15195) 2020-03-15 22:32:23 +08:00
d9fdd0a3bb UCP: Migrate DataForAnalyzeStatus from package infoschema to executor (#15303) 2020-03-15 16:11:53 +08:00
4adff06b99 executor: reduce task queue size to reduce memory consume for load statement (#15369) 2020-03-14 20:23:53 +08:00
f96884af93 *: fix BatchPointGet return empty value for already locked key. (#15365) 2020-03-14 18:43:31 +08:00
3d01c646db planner: add show table $table_name next_row_id syntax (#14567) (#14697) 2020-03-14 14:55:23 +08:00
d79927e7b8 planner: Support cluster_log message column DNF predicates push-down (#15196) 2020-03-13 21:06:23 +08:00
88dd552a6d *: fix autoid allocation to avoid quickly exhaustion (#15261) 2020-03-13 10:50:03 +08:00
dc8098bc73 planner: BatchPointGet support partition table (#15327) 2020-03-13 09:10:32 +08:00
de39b8a5c6 executor: do not store rows in UpdateExec (#15325) 2020-03-12 21:23:02 +08:00
ab17254e3b executor: fix error message when inserting an invalid value for type datetime (#15220) 2020-03-12 12:04:03 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
a10a2c317e UCP: Migrate dataForTiDBClusterInfo from package infoschema to executor (#15230) 2020-03-11 20:50:29 +08:00
34ff2b9a1d executor: use deep copy for maxMin4JSON (#15242) 2020-03-11 17:35:32 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
0abbd9865d server: make unique index could be used in fast path for batch point get, and do lock keys (#15266) 2020-03-11 14:32:04 +08:00
3e16e1f9fd executor: Migrate dataForStatistics, dataForTikVRegionPeers, dataForTiDBHotRegions from package infoschema to executor (#15202) 2020-03-11 14:26:32 +08:00
248be5bba5 planner: push down Lock to PointGet and BatchPointGet (#15257) 2020-03-11 13:58:32 +08:00
ac2fa182e3 infoschema: Migrate dataForMetricTables from package infoschema to executor (#15238) 2020-03-11 13:53:03 +08:00
d329fad8c4 store: fix timing of prewrite binlog in slow log (#15273) 2020-03-11 10:32:32 +08:00
8a3bfd8e2a executor,infoschema: move dataForSessionVar into executor (#15267) 2020-03-11 10:21:32 +08:00
31469e057b executor,infoschema: move dataForTableConstraints into executor (#15240) 2020-03-10 21:00:32 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
12fa28f52e executor: fix the data race on TestDataForTableStatsField and TestPartitionsTable (#15260) 2020-03-10 20:28:32 +08:00
9905a26ea0 txn: fix UpdateForUpdateTS for non autocommit pessimistic mode (#15244) 2020-03-10 17:11:39 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
4adc2582fd show: fix show create table sequence_name (#15241) 2020-03-10 15:51:32 +08:00
353a6e02e9 metrics: add new transaction metrics to grafana script (#15236) 2020-03-10 15:46:03 +08:00
fb7d50a53b config: change default oom action to cancel (#15251) 2020-03-10 15:16:19 +08:00
b504d37924 *: refine the table.Table interface (#15227)
remove unnecessary methods.
"The bigger the interface, the weaker the abstraction -- Rob Pike"
2020-03-10 13:40:56 +08:00
0bd1ae7b24 executor: fix data race on TestPrepareCacheForPartition (#15245) 2020-03-09 22:40:45 +08:00
d8264d47f7 infoschema: change table_type for system tables (#15128) 2020-03-09 19:18:04 +08:00
f51a7fc6e9 infoschema: fix show information_schema.table default value bug and refine metric table comment. (#15210) 2020-03-09 18:12:00 +08:00
55b3e1110c *: reduce the allocation caused by Datum.Copy (#15219) 2020-03-09 17:38:46 +08:00
ace86913da executer: refine diagnose detail information (#15139) 2020-03-09 17:16:40 +08:00
9afaef8bb5 executor: bind the func to memtableRetriever (#15181)
* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind dataForSchemata to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: rename dataForSchemata

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

Co-authored-by: Lonng <heng@lonng.org>
2020-03-09 13:06:25 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
1f5fb46f95 infoschema: migrate dataForTables and dataForPartitions from package infoschema to executor #15034 #15037 (#15208) 2020-03-09 10:30:16 +08:00
5d0a260ce6 executor,infoschema: move dataForUserPrivileges from infoschema to executor (#15155) 2020-03-06 17:57:46 +08:00
a37a0ff461 store: check constraint for "Delete-Your-Writes" records when txn commit (#14968) 2020-03-06 16:45:48 +08:00
13d7322a0f executor: migrate dataForKeyColumnUsage from infoschema to executor (#15166) 2020-03-06 15:37:46 +08:00
fde73403fd expression: Add format_bytes and format_nano_time performance schema functions (#14975) 2020-03-06 11:50:46 +08:00
1d28e7cc1c executor: move testShowStatsSuite into SerialSuites (#15062) 2020-03-06 11:24:16 +08:00
2d5d2fde27 *: fix the same future wait twice in RC transaction (#15117) 2020-03-06 00:05:54 +08:00