Commit Graph

92 Commits

Author SHA1 Message Date
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
4bda04f15c planner: introduce historical statistic dumping triggered by analyze (#31032)
close pingcap/tidb#18745
2022-01-21 16:35:46 +08:00
43294a2938 *: Remove column TIBD_DIRECT_PLACEMENT from some sys tables (#31741)
close pingcap/tidb#31426
2022-01-18 09:47:44 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
f35e84c2e1 *: get tiflash http(s) port from tiflash status port instead of etcd (#30901) 2021-12-28 16:47:49 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
8625143cfc infoschema: get PD version from status (#29265) 2021-11-01 15:02:50 +08:00
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08:51 +08:00
ab0d231d9e session: add system table mysql.column_stats_usage (#27849) 2021-10-18 19:24:43 +08:00
66948b2fd9 infoschema: set TABLES.TABLE_COLLATION null (#28807) 2021-10-14 17:43:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
5c1081f669 *: support user defined filters for baseline capture (#26294) 2021-08-18 15:44:00 +08:00
dd34d4869f Revert "session: add physical table placement_policy in mysql schema" (#27250) 2021-08-17 15:03:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
bf8cfb448b session: add physical table placement_policy in mysql schema (#27054) 2021-08-13 21:05:58 +08:00
6ac43f4f2a executor: add sequence info for infoschema (#27094) 2021-08-12 14:55:16 +08:00
13921ddcc1 planner: fix the unstable test TestForAnalyzeStatus (#27113) 2021-08-11 16:41:15 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
9833e6487a exec: access the table_storage_stats need privilege (#26298) 2021-07-19 18:59:34 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
a9adeb0232 *: temporarily skip some unstable test cases (#26268) 2021-07-16 11:19:33 +08:00
ad0f654fcb planner: fix bug when unfolding wildcard in view definiton (#25226) 2021-07-02 14:49:26 +08:00
46a0385576 executor: fix character_octet_length from information_schema.columns (#25476) 2021-06-25 15:55:24 +08:00
7e9c912b1c executor: temporarily skip some unstable test cases (#25335) 2021-06-10 18:12:29 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
d460a9c49a *: add column End_time in show analyze status and add related log (#23674) 2021-04-14 18:31:51 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
745d20aa64 store/tikv_driver:move MemManager from KVStore to tikvStore (#22728) 2021-02-25 15:53:11 +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
f3fe4895cb statistics: support to store FMSketch and add FMSketch to column stats (#22841)
* add FMSketch to mysql.stats_histograms

* statistics: support store FMSketch and add FMSketch to histogram

* FIX UT

* Create Stats_FM_Sketch Table

* fix UT

* add some tests

* FIX ut

* move fmSketch from histogram to column.stats

* remove unused code and comments

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* fix ut

* finish the FMSketch.MemoryUsage function

* add some comments for FMSketch.MemoryUsage function

* fix typo

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-23 10:39:09 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +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
7f25d4f0cc executor, infoschema, planner: optimize query cluster_slow_query (#20750) 2021-01-04 14:23:06 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
5acff8de7a *: Revert "#19008" and "#18788" (#21599) 2020-12-14 15:06:35 +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
cd16de894b *: introduce LRUCache with limited memory for statistics (#18788) 2020-10-15 17:36:21 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00