Commit Graph

54 Commits

Author SHA1 Message Date
c33e90a7ae ddl: make the system table visible in tableStorageStat (#21570) 2020-12-10 19:27:52 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
56467c3b4b executor: support show create table for list partition (#20634) 2020-10-27 19:05:59 +08:00
9660283d2d infoschema: Provide a system table to query placement rules (#20616) 2020-10-27 14:35:38 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
c679f847fc *: Bug Fix/CLUSTER_INFO system table may not work after PD is scaled-in (#19355) 2020-09-16 11:50:03 +08:00
19590a7a5d executor: infoschema table partition method wrong for range column partition (#19633) 2020-09-04 11:05:38 +08:00
d0dfc77322 fix read failure from system tables tiflash_segments and tiflash_tables when some tiflash node is down (#19714)
Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-03 12:51:10 +08:00
fd328394d4 executor, ddl: show full tables SYSTEM VIEW info (#19451)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-02 10:01:40 +08:00
82502cc5e1 *: information_schema.tables add TIDB_PK_TYPE column for clustered index (#19642)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-01 15:50:25 +08:00
2f100eca2b config: Add labels configuration (#19212)
* add labels

* add config test

* fmt file

* add test and example

* add intergration test

* add comment

* address the comment

* solve test error

* address the comment

* fix comment

* fix comment error

* remove example

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-24 19:17:51 +08:00
0e3bd55fb9 executor, infoschema: display attribute visible in information_schema.tidb_indexes (#19202) 2020-08-19 17:13:44 +08:00
98d58f31dd executor: fix bug of stuck in query information_schema.columns (#18847)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-29 12:29:22 +08:00
8e4575eb21 executor: 'select * from information_schema.tables' fail after setting @@tidb_snapshot (#18676) 2020-07-20 22:41:39 +08:00
291bcae74f executor: fix bug of read information_schema.columns (#18503)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-13 16:41:44 +08:00
ff94f2be2d information: Fix issue of query information_schema.columns cost too much memory when there are lots of tables in TiDB (#18362) 2020-07-08 14:23:00 +08:00
5f983b860f planner,executor,infoschema: add system tables tiflash_tables and tiflash_segments (#18092) 2020-07-07 21:45:59 +08:00
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
1bf6fd113a executor: add region sync state (#16724) 2020-04-23 16:14:47 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
d750db3213 *: remove order support in sequenceInfo (#16105) 2020-04-07 17:47:35 +08:00
b02badc73f executor: fix tiflash store information in cluster_info table (#15871) 2020-04-02 22:20:10 +08:00
4b5f8bf389 executor, infoschema: Migrate dataForTiKVStoreStatus from package infoschema to executor (#15591) 2020-04-01 12:08:17 +08:00
6eda698caa ucp: migrate dataForTiKVRegionStatus from package infoschema to executor (#15552) 2020-03-30 22:46:12 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
a498f0d7e9 executor, infoschema: Migrate dataForTableTiFlashReplica to the executor package. (#15078) 2020-03-23 09:50:31 +08:00
edd281004c infoschema: migrate dataForProcesslist from package infoschema to executor (#15340) 2020-03-20 23:21:31 +08:00
b7894dfefb executor: implement sequence view (#15390) 2020-03-19 20:54:24 +08:00
86d8e16fc0 infoschema/executor : add DDLJobs sys table (#14837) 2020-03-19 11:55:24 +08:00
4997bf2076 executor, infoschema: Migrate dataForPseudoProfiling from package infoschema to executor (#15406) 2020-03-18 10:49:43 +08:00
ad63c03e50 infoschema:Migrate dataForColumns from package infoschema to executor (#15402) 2020-03-18 00:03:43 +08:00
12aabbdc67 ddl: basic support for invisible index (#15366) 2020-03-17 15:31:35 +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
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
3e16e1f9fd executor: Migrate dataForStatistics, dataForTikVRegionPeers, dataForTiDBHotRegions from package infoschema to executor (#15202) 2020-03-11 14:26:32 +08:00
ac2fa182e3 infoschema: Migrate dataForMetricTables from package infoschema to executor (#15238) 2020-03-11 13:53:03 +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
12fa28f52e executor: fix the data race on TestDataForTableStatsField and TestPartitionsTable (#15260) 2020-03-10 20:28:32 +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
d8264d47f7 infoschema: change table_type for system tables (#15128) 2020-03-09 19:18:04 +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
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
debe5cbcff executor: Migrate dataForIndexes from package infoschema to exector (#15116) 2020-03-05 11:06:46 +08:00