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
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
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
e33e8fd559
executor: move TestForServersInfo and TestForTableTiFlashReplica to serial test suit ( #19433 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-08-26 09:49:21 +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
37984d7cb0
tests: improve tests for Windows platform ( #19088 )
...
* tests: improve tests for Windows platform
* fix race build
* update badger to fix kill issue on Windows
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-13 17:17:19 +08:00
6088e58fa7
ddl: check the tiflash replica count when setting tiflash replica ( #18826 )
2020-08-03 15:10:47 +08:00
2d54bfa16a
executor: make test TestForServersInfo stable ( #18633 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-07-20 19:52:11 +08:00
5f983b860f
planner,executor,infoschema: add system tables tiflash_tables and tiflash_segments ( #18092 )
2020-07-07 21:45:59 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
af5d15ef6e
infoschema: fix cluster_info display the tombstone tikv/tiflash ( #17877 )
2020-06-10 22:54:29 +08:00
cfbd754653
planner,executor,infoschema: add system table table_storage_stats ( #15056 )
2020-06-02 23:17:46 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
c635ac8cc4
infoschema: fix tidb version showed in cluster_info table and update the go.mod for new sysutil ( #16003 )
2020-04-09 13:43:09 +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
90bf5e16a0
info_schema: fix memtable column flag type ( #15944 )
2020-04-02 14:20:12 +08:00
9a301721c7
infoschema: Change type of ddl_job's time field ( #15506 )
2020-03-25 10:53:07 +08:00
842bd29121
executor: remove useless test TestSlidingWindowFunctionsSumDecimal ( #15574 )
2020-03-23 16:49:02 +08:00
a498f0d7e9
executor, infoschema: Migrate dataForTableTiFlashReplica to the executor package. ( #15078 )
2020-03-23 09:50: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
c55ab2e25f
infoschema: make the unit test of AnalyzeStatus robust #15439
2020-03-18 15:00:18 +08:00
4997bf2076
executor, infoschema: Migrate dataForPseudoProfiling from package infoschema to executor ( #15406 )
2020-03-18 10:49:43 +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
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
fb7d50a53b
config: change default oom action to cancel ( #15251 )
2020-03-10 15:16:19 +08:00