c0ca027f51
stats: fix data race when updating correlation ( #9594 )
2019-03-09 14:47:00 +08:00
69f2749154
executor: only show valid columns in stats_histogram ( #9487 )
2019-02-28 13:06:38 +08:00
45f9d6a00f
statistics: compute and store column order correlation with handle ( #9315 )
2019-02-27 11:32:00 +08:00
46ead360cc
statistics: add PhysicalID to Column ( #9394 )
2019-02-22 17:30:31 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
82d2726300
planner, statistics: build new histogram using range information ( #7921 )
2019-01-14 20:33:36 +08:00
8be09da457
stats: fix panic when dumping stats ( #8448 )
2018-11-26 21:08:02 +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
d65ce8655c
stats: fix estimation for out of range point queries ( #8015 )
2018-10-24 16:20:22 +08:00
83a923e796
stats: support dump stats for partition table ( #7753 )
2018-09-22 09:52:47 +08:00
a947590b14
stats: update the way of using index feedback ( #7488 )
2018-09-13 19:02:32 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
621ca431ad
stats, plan: return row count 0 for empty range on handle ( #7583 )
2018-09-03 11:05:28 +08:00
87c54b2610
plan, statistics: maintain HistColl in DataSource's StatsInfo ( #7385 )
2018-08-31 01:14:43 +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
a629630745
stats: refine the row count estimation for outdated stats ( #7175 )
2018-07-29 12:49:26 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
3173604871
stats: do not change histogram version when updating coloumn size ( #7145 )
2018-07-25 16:32:04 +08:00
3b5e8a2264
stats: use feedback in time ( #6859 )
2018-07-23 19:27:14 +08:00
1bf3f3d407
ranger: refine explain format, again ( #7041 )
2018-07-17 16:47:44 +08:00
34d8fd8d8d
plan, statistics: extract histColl struct ( #6860 )
2018-07-13 14:42:07 +08:00
3f574d97c9
stats: refactor stats update mechanism ( #6901 )
2018-07-06 11:22:11 +08:00
c5524cb238
plan, executor: use CorrelatedColumn to calculate range. ( #6779 )
2018-06-28 16:23:05 +08:00
0ab0b50f25
stats: refine the pseudo condition for stats ( #6565 )
2018-06-27 17:05:37 +08:00
48719d2019
stats: refine index row count estimation ( #6869 )
2018-06-22 15:48:36 +08:00
c348afebf1
stats: refine row count estimation ( #6746 )
2018-06-04 20:45:30 +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
12dbd32854
*: rename NewRange to Range. ( #6368 )
2018-04-25 13:13:04 +08:00
58326c844e
stats: fix pseudo selectivity for primary key ( #6302 )
2018-04-18 10:10:03 +08:00
9fbf8a6637
stats: dynamically update the average column size ( #6170 )
2018-04-13 16:31:43 +08:00
056161d6ae
stats: fix row count estimation for null ( #6203 )
2018-04-04 10:59:40 +08:00
905eda7ff5
stats: fix row estimation for pseudo unique key ( #6199 )
2018-04-02 20:27:58 +08:00
df6f955fe8
stats: update the histogram using feedback ( #6086 )
2018-03-29 13:29:04 +08:00
501de19821
stats: add average column size for the histogram ( #5974 )
2018-03-23 13:44:24 +08:00
22c3c98fb1
stats: fix estimation for pseudo equal row count ( #6106 )
2018-03-22 11:04:12 +08:00
8dfdab3a2e
plan: tiny code refine for building DataSource ( #5977 )
2018-03-11 11:10:38 +08:00
4136b81c23
*: merge IntColumnRange with NewRange. ( #5591 )
2018-01-10 15:50:58 +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
01f132ed39
stats: fix bug when estimating row count for outdated histograms ( #5552 )
2018-01-04 14:31:25 +08:00
7c23a84a2c
server, statistics: add dump_stats api for debug ( #5534 )
2018-01-03 14:47:56 +08:00
fa62e9fd01
*: merge ranger.IndexRange and ranger.ColumnRange. ( #5485 )
2017-12-26 16:08:36 +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
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
81652dbeef
*: remove returned value isNull in Row methods. ( #5131 )
2017-11-17 11:12:41 +08:00