Commit Graph

36 Commits

Author SHA1 Message Date
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
759a77c447 executor: do not show extended stats for dropped columns (#23828) 2021-04-07 16:40:33 +08:00
a1712a037f statistics: add more test cases about global-stats and fix some issues (#23099) 2021-03-05 14:34:31 +08:00
93c1779f2d *: support show stats_extended to inspect extended stats cache (#23052) 2021-03-03 20:06:58 +08:00
b5c6c9f548 statistics: make dump/load/show-stats be compatible with global-stats (#22911) 2021-02-24 17:33:40 +08:00
2d717c12b3 statistics: merge the partition-level stats to global-level stats (#22667) 2021-02-05 11:42:41 +08:00
05d995d73d statistics: add more tests about ver2-stats (#22457) 2021-01-26 20:59:18 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +08:00
dcefa58035 *: use global stats & make ddl/feedback/show/export works(part III) (#20271) 2020-10-14 16:11:33 +08:00
3903c6b8b5 statistics: fix the display of bounds for indexes with date/time columns. (#19961) 2020-09-17 19:01:26 +08:00
d9fdd0a3bb UCP: Migrate DataForAnalyzeStatus from package infoschema to executor (#15303) 2020-03-15 16:11:53 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
733c851eb5 infoschema: improve the security vunerability of key_column_usage and analyze_status infoschema (#14142) 2019-12-20 15:32:40 +08:00
9b824457c1 *: improve column size calculation of statistics (#11091) 2019-07-15 13:05:54 +08:00
a28d8779c1 *: support show analyze status (#10172) 2019-04-24 14:32:19 +08:00
f738ba24ad executor: replace logger with zap logger (#9521) 2019-03-14 15:14:38 +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
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +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
cc1da16878 stats: support show stats for partition table (#8023) 2018-10-24 15:49:01 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +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
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
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +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
46fd1eb536 executor: support Chunk for ShowExec (#5456) 2017-12-25 21:29:56 +08:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
f024ebbdca *: support show stats_buckets (#3720) 2017-07-12 17:37:53 +08:00