Commit Graph

564 Commits

Author SHA1 Message Date
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
9905a26ea0 txn: fix UpdateForUpdateTS for non autocommit pessimistic mode (#15244) 2020-03-10 17:11:39 +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
13d7322a0f executor: migrate dataForKeyColumnUsage from infoschema to executor (#15166) 2020-03-06 15:37:46 +08:00
2d5d2fde27 *: fix the same future wait twice in RC transaction (#15117) 2020-03-06 00:05:54 +08:00
e9ba1446f6 executor: support SELECT FOR UPDATE for BatchPointGet (#15129) 2020-03-05 19:47:16 +08:00
debe5cbcff executor: Migrate dataForIndexes from package infoschema to exector (#15116) 2020-03-05 11:06:46 +08:00
d259e90127 infoschema, planner, executor: add virtual system table `infor… (#15121) 2020-03-04 20:48:52 +08:00
3b347958c6 infoschema: Migrate the infoschema's retrieving data logic for 'dataForCollationCharacterSetApplicability' to executor (#15115) 2020-03-04 16:29:16 +08:00
9c970f137d infoschema: Migrate the infoschema's retrieving data logic for 'CharacterSets/Collations' to executor (#15103) 2020-03-03 22:29:12 +08:00
3722500e36 infoschema: Migrate the infoschema's retrieving data logic for 'engine' to executor (#15102) 2020-03-03 21:56:55 +08:00
2c5170875d collation: add some collation tests for HashJoinExec, MergeJoinExec and SelectExec (#15067) 2020-03-03 17:33:18 +08:00
fe5334a1ed executor: fix bug for virtual column in transaction (#15011) 2020-03-03 15:18:09 +08:00
b3469e7964 *: fix a bug that the pessimistic lock doesn't work on a partition (#14921)
physicalID should be used if 'select for update' works on a
partitioned table.
2020-03-03 15:06:45 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00
7fa56616f8 executor: refactor the tso future in RC isolation (#14966) 2020-03-02 15:38:10 +08:00
c1114b9724 planner, executor: enable inline projection for index joins (#15004) 2020-03-02 15:32:09 +08:00
05b691805a util: move ColumnsToProto from parser to util pkg (#14971) 2020-02-28 17:23:41 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
51fd695e66 executor: support the SELECT INTO ... OUTFILE syntax. (#14848) 2020-02-24 18:40:07 +08:00
dc2889de1a *: make CLUSTER_SLOW_QUERY support query slow log at any time (#14878) 2020-02-21 14:25:29 +08:00
27b280dd05 *: specify time range via TIME_RANGE hint for metrics/inspection tables (#14874)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-21 13:01:52 +08:00
b06e3e85b2 executor: make SLOW_QUERY support query slow log at any time (#14840) 2020-02-20 19:46:05 +08:00
9fbefc50b5 *: implement inspection_summary system table which organizes metrics by link/module (#14810) 2020-02-18 22:39:19 +08:00
db65a02402 *: support next chunk for slow_query (#14754) 2020-02-18 18:54:05 +08:00
249ff99f21 infoschema: Migrate the infoschema's retrieving data logic for 'schemata' to executor (#14704) 2020-02-18 10:16:18 +08:00
114405e114 executor: inline projection for hash join (#14682) 2020-02-13 18:44:33 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
fa04a3218d *: add privilege check for slow_query and cluster memory table (#14451) 2020-02-12 18:28:44 +08:00
7ecb7e6f48 infoschema: add metrics_summary_by_label table to query all detail metrics (#14663) 2020-02-11 14:08:11 +08:00
750583c665 *: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. (#12472) 2020-02-10 22:56:05 +08:00
cfe0c2025f executor: vectorize the merge join executor by vecGroupChecker (#14458) 2020-02-04 15:41:24 +08:00
e79b71dc97 infoschema: add metric_summary table to query all summary metrics. (#14520) 2020-02-04 14:37:53 +08:00
b53d253802 executor: merge overlapped ranges when build key ranges for indexJoin (#14596) 2020-02-03 17:55:53 +08:00
c2da4eafd7 planner: Fix SMJ hint, support SMJ with descending order. (#14505) 2020-01-25 10:10:10 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
4f242fe675 executor: polish the code of IndexMergeReaderExecutor (#14352) 2020-01-06 14:42:44 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
66b8add23d executor: support show extended columns statement (#14262) 2019-12-28 21:49:09 +08:00
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02:09 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
279ad0d41c infoschema,planner: implement the metric table predicate push down (#14169) 2019-12-25 10:54:25 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00