Commit Graph

31 Commits

Author SHA1 Message Date
45f9d6a00f statistics: compute and store column order correlation with handle (#9315) 2019-02-27 11:32:00 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
98c72c6a8e stats: optimize unit test execution time (#8597) 2018-12-06 17:30:20 +08:00
379ee5b191 stats: fix converting duration to timestamp (#8174) 2018-11-05 18:28:55 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
db151bb66f domain: fix memory leak for stats (#7864) 2018-10-11 10:58:22 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
d1246b3c91 ddl: notify stats worker when truncate table (#7356) 2018-08-13 13:53:22 +08:00
3b5e8a2264 stats: use feedback in time (#6859) 2018-07-23 19:27:14 +08:00
3f574d97c9 stats: refactor stats update mechanism (#6901) 2018-07-06 11:22:11 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
8729424629 stats: fix dump stats (#6285) 2018-04-26 17:40:10 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
905eda7ff5 stats: fix row estimation for pseudo unique key (#6199) 2018-04-02 20:27:58 +08:00
501de19821 stats: add average column size for the histogram (#5974) 2018-03-23 13:44:24 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
db328586b6 stats: speed up row count estimation (#5579) 2018-01-09 15:37:49 +08:00
c45111d9f6 stats: use more compact structure for histograms (#5539)
* stats: use more compact structure for histograms

* address comments

* address comments

* refine code

* address comment
2018-01-05 20:43:01 +08:00
7c23a84a2c server, statistics: add dump_stats api for debug (#5534) 2018-01-03 14:47:56 +08:00
2cbeb5434d stats: speed up loading full stats info (#5266) 2017-11-30 11:51:44 +08:00
f0f94b1084 stats: speed up loading stats info when server starts (#5215) 2017-11-28 13:53:03 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
ae84a0a19f stats: load column histograms by need (#4847) 2017-10-24 16:32:09 +08:00
c92b124aa9 *: make test leak great again (#4543) 2017-09-20 17:07:32 +08:00
a8f18440fd statistics_test: avoid unnecessary create new store (#4241) 2017-08-21 13:12:30 +08:00
3d8d1d6f45 *: refine tests. (#4016) 2017-08-04 00:15:20 +08:00
d0358ceb1c executor, statistics: remove useless code and rename file name. (#3564) 2017-06-29 14:52:19 +08:00