Commit Graph

210 Commits

Author SHA1 Message Date
2aa3e27a6d infoschema,store: fix the inconsistent definition of StoreStatus between TiDB/PD (#11969) 2019-09-02 11:01:08 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
1b998ce4f6 *: record index name in the slow log instead of index id (#11795) 2019-08-22 14:27:47 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
129c0afdc6 executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal (#11480) 2019-08-02 16:50:10 +08:00
d2b5387183 infoschema: fix load drop database schema bug and refine db-table api error. (#11573) 2019-08-02 15:03:24 +08:00
60bb04b8f0 store/helper, infoschema: add table info for region info mem tables (#11444)
* add table regions distribution mem table

* fix a small bug

* add table info for TIKV_REGION_* mem tables

* fix IsBefore()

* add test for GetRegionsTableInfo()

* remove Table*RegionsDistribution which can be calculated from TiKVRegionPeers

* unexported some stuff; remove a unused function
2019-07-30 19:39:02 +08:00
05b4e2299d infoschema: add current txn start time in processlist table (#11491) 2019-07-29 16:11:09 +08:00
9e9a564921 infoschema: remove redundant test introduce by (#11417) (#11422) 2019-07-25 11:21:37 +08:00
86d8f9a4bb *: add succ filed to slow log and fix shallow copy problem when parse slow log file. (#11417)
Test pass, auto merge by Bot
2019-07-24 19:20:18 +08:00
88db7ff17b infoschema: fix compatibility of auto_increment column value o… (#10207) 2019-07-23 15:52:29 +08:00
9b824457c1 *: improve column size calculation of statistics (#11091) 2019-07-15 13:05:54 +08:00
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
c8794803b5 *: add admin cleanup table lock syntax support (#10423) 2019-07-10 12:54:09 +08:00
53a1ce6075 executor, infoschema: fix display of default CURRENT_TIMESTAMP with decimal (#11070) 2019-07-04 16:44:12 +08:00
ff82b62b97 *: refactor the optional arguments for table.AddRecord and index.Create (#11018) 2019-07-02 15:51:29 +08:00
6542e4ae94 ddl: add recover for run ddl job (#10981) 2019-07-02 09:08:06 +08:00
1ddb317203 *: fix 'db' and 'Info' column of 'show processlist' (#10985) 2019-07-01 14:49:22 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
cf5f42b8ec infoschema, sessionctx: add support for mysqldump from 8.0 (#10829) 2019-06-26 16:56:42 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
75b9470a74 *: add a column describing memory usage for table information_schema.processlist (#10837)
*: add a column describing memory usage for table information_schema.processlist

Closes #10199
2019-06-20 11:48:49 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
7d27fa63d3 ddl, table: allow using SHARD_ROW_ID_BITS with auto_incremental columns (#10759) 2019-06-12 20:43:29 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
4ef94405ec infoschema/slow_query: add host column in slow_query table. (#10693) 2019-06-04 20:55:43 +08:00
ea489c8dae infoschema/slow_query: fix shallow copy problem (#10696) 2019-06-04 16:56:24 +08:00
3439e6be48 executor: add warning for "drop user if exists" (#10395) 2019-05-22 16:53:19 +08:00
04d491038f infoschema: fix error in ParseSlowLog (#10526) 2019-05-17 22:26:13 +08:00
5c21fa4b43 ddl: implement ALTER DATABASE to alter charset/collation (#10393) 2019-05-15 17:32:21 +08:00
5617809e92 infoschema/slow_query: fix token too long (#10328) 2019-05-09 23:38:37 +08:00
36bb1ae89a log: change slow log time format to compatible with pt-query-digest (#10290) 2019-04-30 09:35:52 +08:00
7cc688c036 infoschema, domain, ddl: fix upper cased charset names (#10272) 2019-04-29 19:13:39 +08:00
e96190bc30 store/helper, inforschema: add mem table to show region info (#10267) 2019-04-29 13:31:29 +08:00
3f89a6e64d store/helper, infoschema: add mem table for tikv store status (#10248) 2019-04-28 12:05:29 +08:00
7611a7dae8 *: add more cop task and memory info to slow_query table (#10264) 2019-04-26 12:49:36 +08:00
4f1f535fcd infoschema/slow_query: fix parser bug when sql contain # (#10271) 2019-04-26 00:56:39 +08:00
a28d8779c1 *: support show analyze status (#10172) 2019-04-24 14:32:19 +08:00
b2910d7f04 executor, infoschema: SHOW COLLATIONS shows supported collations only (#10186) 2019-04-24 14:00:24 +08:00
58d1bb8cb3 privilege: support authentication with active roles (#10125) 2019-04-23 10:05:53 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
a19f4d698f *: adapt utf8mb4_0900_ai_ci collation (#10183) 2019-04-18 16:40:14 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
7666f688b3 *: add stats version in slow_query and slow log. (#10082) 2019-04-15 18:04:48 +08:00
f723f0b143 table, infoschema, executor: fix Charset/Collation shown in column desc (#10007) 2019-04-09 20:00:13 +08:00
278c3e81b4 *: support EXPLAIN FOR CONNECTION (#10030) 2019-04-09 10:45:22 +08:00
8c118cecc2 *: clean code for restore table (#9090) 2019-04-08 15:21:37 +08:00
7edf4c0c65 infoschema: improve the unit test coverage (#9898) 2019-04-04 17:06:23 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00