Commit Graph

36 Commits

Author SHA1 Message Date
46ead360cc statistics: add PhysicalID to Column (#9394) 2019-02-22 17:30:31 +08:00
084aa5a030 config: add initChunkSize config item, make chunk start with 32 (#8480) 2019-01-07 11:14:47 +08:00
379ee5b191 stats: fix converting duration to timestamp (#8174) 2018-11-05 18:28:55 +08:00
e195df2e5d stats: fix selectivity estimation for primary key (#8134) 2018-11-01 20:38:08 +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
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
29addca221 stats: log detailed stats info for query feedback (#7293) 2018-08-15 22:01:44 +08:00
00839ceeec stats: support loading partition stats (#7305) 2018-08-09 20:00:03 +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
0ab0b50f25 stats: refine the pseudo condition for stats (#6565) 2018-06-27 17:05:37 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
bcd3750f4b stats: refine stats log level (#6627) 2018-05-23 20:33:30 +08:00
8729424629 stats: fix dump stats (#6285) 2018-04-26 17:40:10 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +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
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +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
90401445d2 *: collect and store query feedback (#5438) 2017-12-22 11:33:05 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
2cbeb5434d stats: speed up loading full stats info (#5266) 2017-11-30 11:51:44 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00
35fe2cae42 ddl, statistics: resolve the package dependency. (#4960) 2017-10-31 17:13:30 +08:00
ae84a0a19f stats: load column histograms by need (#4847) 2017-10-24 16:32:09 +08:00
ca048c0582 statistics: Correct comments mistakes. (#4711)
* statistics: Correct comments mistakes.
2017-10-05 20:40:01 +06:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
19a13dec6f stats: update handle version before update stats (#4361) 2017-08-31 11:42:05 +08:00
a8f18440fd statistics_test: avoid unnecessary create new store (#4241) 2017-08-21 13:12:30 +08:00
520785b149 *: fix possible race in stats update (#3987) 2017-08-03 20:54:15 +08:00
aa41e3aaf4 *: support show stats (#3633) 2017-07-06 16:51:59 +08:00
d0358ceb1c executor, statistics: remove useless code and rename file name. (#3564) 2017-06-29 14:52:19 +08:00