d3185cc796
executor, statistics: drop the samples whose length is too long ( #32536 )
...
close pingcap/tidb#31726 , ref pingcap/tidb#32535
2022-05-19 14:26:39 +08:00
33236ba8d7
*: track analyze memory usage separately with quota ( #33054 )
...
ref pingcap/tidb#29938 , close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
d9ef107d39
*: replace compareDatum by compare, PR 11 ( #30465 )
2021-12-09 12:47:56 +08:00
55a38a1c76
*: tiny clean up the RecordSet NewChunk() method ( #29232 )
2021-11-02 20:02:51 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +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
62354d04b7
statistics: merge partition-level FMSketch to global-level FMSketch and update the column NDV ( #22878 )
2021-02-23 19:06:23 +08:00
b4eee287af
*: extract topn out of histogram correctly ( #21007 )
...
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
2020-12-10 17:05:39 +08:00
583cbd265b
statistics: store the topn by slice instead of map ( #20818 )
2020-11-06 15:39:33 +08:00
c2e3b0a6ad
statistics: decouple TopN from CMSKetch ( #20572 )
2020-10-28 15:16:42 +08:00
43a9d77965
*: compute and save correlation extended statistics in ANALYZE ( #19134 )
2020-08-18 10:56:40 +08:00
07ae6078e8
*: support clustered index for fast analyze ( #18767 )
2020-08-07 19:22:14 +08:00
ceec9d9c63
*: fix the estimation error on normal column when collation enabled ( #18104 )
2020-07-01 17:11:51 +08:00
06e73a56cc
*: compatible with Go 1.14's checkptr ( #18189 )
2020-06-24 13:04:47 +08:00
4e6e933f6a
statistics: fix wrong hash which misses hit by query topn ( #16606 )
2020-04-24 17:04:12 +08:00
d9406058ac
*: update memdb to use new fast random util ( #15218 )
2020-03-10 14:24:32 +08:00
55b3e1110c
*: reduce the allocation caused by Datum.Copy ( #15219 )
2020-03-09 17:38:46 +08:00
ae86ae32e1
*: replace global mutex random with lock-free FastRand function. ( #15213 )
2020-03-09 12:32:46 +08:00
a7bdb82402
*: Reduce memory operations by simply passing size hint to make ( #14922 )
2020-02-25 15:44:36 +08:00
ab8346e911
stats: limit the number of top-n items ( #11906 )
2019-08-28 17:23:08 +08:00
0668cae665
executor, stats: extract topn from cm sketch ( #11409 )
2019-07-29 19:05:19 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
b26cb0d93c
stats: fix the index cm sketch for fast analyze ( #10839 )
2019-06-22 12:55:14 +08:00
f3ab907dcc
types: rename CopyRow and CopyDatum to Clone* ( #10333 )
2019-05-09 19:26:01 +08:00
5fa16a8030
executor: support building stats for fast analyze. ( #10258 )
2019-04-28 13:49:54 +08:00
7b688eeef7
*: change some call of panic() to error ( #10010 )
2019-04-08 12:10:49 +08:00
47c78419da
statistics: stabilize sort order when computing correlation ( #9696 )
2019-03-13 15:46:04 +08:00
45f9d6a00f
statistics: compute and store column order correlation with handle ( #9315 )
2019-02-27 11:32:00 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +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
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
25118db843
*: move ast.NewValueExpr to standalone parser_driver package ( #7952 )
...
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
6220692e3b
stats: limit the length of sample values ( #7931 )
2018-10-18 15:30:43 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
501de19821
stats: add average column size for the histogram ( #5974 )
2018-03-23 13:44:24 +08:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
631141b22c
*: remove Next function for RecordSet ( #6040 )
2018-03-13 21:05:10 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +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
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +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
0acd9b6bea
vendor: add proto for count min sketch ( #5024 )
2017-11-07 10:17:45 +08:00