Commit Graph

276 Commits

Author SHA1 Message Date
7853035f8a stats: fix estimation for between row count (#6596) 2018-05-22 11:07:28 +08:00
5c2d21eab4 *: remove function "NewChunk" (#6524) 2018-05-14 13:43:19 +08:00
5f2b16192e stats: fix query feedback bugs (#6444) 2018-05-09 12:27:32 +08:00
7ea70d5433 statistics: uniform the calculation of pseudo stats. (#6483) 2018-05-09 11:31:06 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
23e8c6e12b *: add a system variable auto_analyze_ratio (#6455) 2018-05-04 10:54: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
41f5940824 stats: support auto analyze table when modify/count is too high (#6294) 2018-04-17 21:15:35 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
b51b0dec65 stats: add metrics for dynamic update (#6278) 2018-04-13 09:21:15 +08:00
e2269bed01 *: make query feedback compatiable with tikv (#6257) 2018-04-10 21:09:25 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
056161d6ae stats: fix row count estimation for null (#6203) 2018-04-04 10:59:40 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
905eda7ff5 stats: fix row estimation for pseudo unique key (#6199) 2018-04-02 20:27:58 +08:00
4f991afb10 *: session context passed to newBaseBuiltinFuncWithTp should not be nil (#6178) 2018-03-29 16:12:36 +08:00
df6f955fe8 stats: update the histogram using feedback (#6086) 2018-03-29 13:29:04 +08:00
a3e4a92f47 stats: control collection of feedback (#6085) 2018-03-26 19:03:21 +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
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
b71badfc6e stats: fix data race when dump stats (#6076) 2018-03-16 10:43:09 +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
a0eb1bbd06 stats: remove invalid range when split (#6034) 2018-03-13 13:26:46 +08:00
6a826fd0aa *: collect query feedback (#5909) 2018-03-12 15:37:09 +08:00
8dfdab3a2e plan: tiny code refine for building DataSource (#5977) 2018-03-11 11:10:38 +08:00
b6ad6a20a5 stats: fix building too many buckets (#5978) 2018-03-09 17:20:29 +08:00
913db283ea *: remove SupportChunk() from interface ResultSet and RecordSet (#5969) 2018-03-07 19:36:15 +08:00
ce3bf40aac stats, mocktikv: implement NextChunk for record set (#5950) 2018-03-06 13:08:50 +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
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
40277504c0 stats: fix panic when updating stats table (#5880) 2018-02-13 21:24:05 +08:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
f7e1826325 statistics: remove useless field in jsonColumn (#5813) 2018-02-08 12:40:13 +08:00
51c47a4ddc plan: The stats of some table is outdated, we use pseudo to estimate. (#5802) 2018-02-08 11:22:21 +08:00
1aaef047fa stats: add metrics for stats (#5785) 2018-02-07 17:59:50 +08:00
b5d078b41b stats: set a min count for auto analyze (#5796) 2018-02-06 18:23:48 +08:00
ac4229aed0 plan, ranger: index range calculation enhancement. (#5611) 2018-01-31 15:35:59 +08:00
fdd0e6d78b stats, executor: fix drop stats not working (#5739) 2018-01-30 11:19:04 +08:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +08:00
384a1080e7 stats: fix estimation in between row count (#5682) 2018-01-19 11:35:30 +08:00
4345458d14 stats: refine the behavior when updating stats delta (#5647) 2018-01-16 18:43:26 +08:00
4f9815d8e4 stats: fix resource leak (#5653) 2018-01-16 14:55:50 +08:00
3cff21e5b1 plan, executor: avoid children type assertion. (#5616) 2018-01-12 15:39:50 +08:00
18ba3470f6 stats: adjust CM sketch default size (#5614) 2018-01-12 14:29:46 +08:00
5a555703c0 *: garbage collect useless stats info (#5587) 2018-01-11 17:10:30 +08:00