Commit Graph

64 Commits

Author SHA1 Message Date
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
3d4def7eef planner, statistics: allow (auto) analyze single partition in dynamic-only mode (#22625) 2021-03-01 17:23:31 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
b24095d909 infoschema: support query partition_id from infoschema.partitions (#22240)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-22 14:22:29 +08:00
1bb914ed9a executor: expression index should not appear in key_column_usage (#22358)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-15 11:00:30 +08:00
xhe
289bc7e79c ddl: concurrent safe api for using rule bundles cache (#22035)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-13 10:58:58 +08:00
fdd
2c4a60daff executor: fix tidb can not show view data_type (#22363) 2021-01-12 17:33:28 +08:00
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