Commit Graph

573 Commits

Author SHA1 Message Date
7d8a874175 statistics: migrate test-infra to testify for feedback_test.go (#28549) 2021-10-08 10:37:23 +08:00
463cc34410 statistics: migrate test-infra to testify for sample_test.go (#28537) 2021-10-07 18:41:23 +08:00
2100243999 statistics: migrate test-infra to testify for fmsketch_test.go (#28300) 2021-09-27 14:54:48 +08:00
xyz
082b61fab3 statistics/scalar_test: migrate test-infra to testify (#28224) 2021-09-21 20:18:45 +08:00
9a62f05503 statistics: migrate test-infra to testify for statistics/handle/update_list_test.go (#28208) 2021-09-21 14:06:45 +08:00
cd0b4e1e90 statistics: migrate test-infra to testify for analyze_jobs_test.go (#28186) 2021-09-21 02:02:45 +08:00
c6de069d61 sessionctx, statistics: remove unused StatementContext.mu.histogramsNotLoad (#27928) 2021-09-16 11:30:42 +08:00
8e25f8eee4 statistics: use ExecuteInternal instead of Execute in (*Handle).initTopNCountSum (#27879) 2021-09-10 22:46:39 +08:00
490b5c63d1 statistics: skip build statistics for view in auto analyze (#27866) 2021-09-08 21:38:58 +08:00
36a191bc16 planner: fix the unstable test TestAnalyzeGlobalStatsWithOpts (#27734) 2021-09-06 18:58:58 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
7e624445f4 statistics: fix two unstable tests (#27430) 2021-08-20 21:18:02 +08:00
bc5c912f85 statistics: some refactoring about stats collector (#26583) 2021-08-18 01:39:59 +08:00
a0de91fa06 statistics: fix a error check to prevent nil dereference (#27295) 2021-08-17 17:04:00 +08:00
d06fd67764 statistics: fix "data too long" error when dumping stats from table with new collation data (#27033) 2021-08-17 16:02:00 +08:00
e4dcef943c planner: do not merge the generated column stats to global stats (#27256) 2021-08-16 21:53:59 +08:00
09ebd0d703 planner: fix wrong selection push down when having above agg (#27021) 2021-08-16 20:29: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
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
b974e5fbc4 test: fix unstable test TestAnalyzeGlobalStatsWithOpts2 (#26921) 2021-08-05 15:49:13 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
4eeff54d85 statistics: fix the fomula for checking outdated stats (#26728) 2021-07-29 22:34:17 +08:00
0974cb415b statistics: not to convert small range into points when estimate rowcount using v2 stats (#26695) 2021-07-28 18:58:18 +08:00
50ae2d8266 statistics: trigger auto-analyze based on histogram row count (#24382) 2021-07-28 18:02:17 +08:00
95a40ac3d4 planner: fix the unstable unit test TestAnalyzeIncremental (#26460) 2021-07-23 14:16:14 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
9f0bd37cbe statistics: avoid lock leak if error happens when reloading stats (#24753) 2021-07-12 17:27:32 +08:00
787772d874 stats: fix auto analyze panic (#25987) 2021-07-06 22:21:29 +08:00
420e27ebfa *: update count / modify_count of mysql.stats_meta incrementally (#24720) 2021-07-02 19:05:26 +08:00
8a0be6181b statistics: skip dumping nil histograms for virtual columns in analyze (#25789) 2021-06-28 16:55:25 +08:00
a9daa4a006 *: Fixed some linter check errors (#25608) 2021-06-26 10:05:23 +08:00
149e86ac4b *: introduce snapshot into analyze (#24575) 2021-06-25 15:17:24 +08:00
78f33e692a statistics: fix two unstable tests (#25487) 2021-06-23 15:49:22 +08:00
8945d64362 planner: fix the panic that the index's range length may exceed its original column count (#25267) 2021-06-18 12:04:38 +08:00
74055f7f0e statistics, executor: fix new collation for analyze version 2 (#25311) 2021-06-17 01:32:37 +08:00
e522e35faf statistics: fix row count when not fully loading ver2 stats (#25388) 2021-06-15 15:20:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
11f68a9d28 planner: skip some unstable test cases (#25155)
* fixup
2021-06-04 17:33:19 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +08:00
a37a30b883 planner: try to fix some unstable test cases about partition table statistics (#25026) 2021-06-03 15:27:29 +08:00
3e3f9778ad statistics: fix the top-n size to not hold the small things (#24906) 2021-06-03 14:28:27 +08:00
32cf14bd7d statistics: relax the check of the OutOfRange (#24958) 2021-06-02 22:16:25 +08:00
7811bf9a37 *: use pprof profile to collect CPU time group by SQL and plan digest (#24892) 2021-06-02 12:51:39 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
9b5d92ef24 statistics: fix the unexpected estimation error on full sampling (#24623) 2021-05-26 18:47:34 +08:00
66ad36ee10 planner, executor, statistics: support correlation calc for new sampling method (#24458) 2021-05-25 23:57:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00