9a8a0d88a9
stats: reduce stats collecor's lock contention ( #9233 )
2019-02-25 19:47:25 +08:00
8431d1112e
stats: add metircs for high error rate feedback ( #9209 )
2019-02-12 17:22:20 +08:00
35fce9397a
stats: log auto analyze fail reason ( #9178 )
2019-01-25 19:44:48 +08:00
3984ad65db
statistics: log the reason when triggering auto analyze ( #9176 )
2019-01-25 18:57:59 +08:00
82d2726300
planner, statistics: build new histogram using range information ( #7921 )
2019-01-14 20:33:36 +08:00
f209843184
stats: fix histogram bound overflow error ( #8984 )
2019-01-09 10:57:55 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
3742a0d602
*: Txn() function signature refactor and remove ActivePendingTxn() ( #8327 )
...
* change Txn() function signature to Txn(active bool)
* ActivePendingTxn() is not used any more because Txn() does the work
* change executor builder getStartTS() uint64 to getStartTS() (uint64, error)
2018-11-16 11:10:39 +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
19e78d025e
stats: update error rate for partition table ( #8022 )
2018-10-24 15:57:03 +08:00
06f4740dfd
stats: use local feedback for partition table ( #7963 )
2018-10-23 15:49:31 +08:00
a7f78c7704
stats: fix histogram boundaries overflow error ( #7883 )
2018-10-17 14:45:50 +08:00
7229b32a25
*: support auto analyze partition table ( #7789 )
2018-10-12 20:57:59 +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
a34d69906f
stats: fix panic when updating by feedback ( #7640 )
2018-09-09 11:06:08 +08:00
19e6d4510c
stats: fix compatibility of auto analyze period ( #7633 )
2018-09-06 19:14:27 +08:00
74a6dddfd0
stats: auto analyze on certain period of a day ( #7570 )
2018-09-05 16:37:53 +08:00
87c54b2610
plan, statistics: maintain HistColl in DataSource's StatsInfo ( #7385 )
2018-08-31 01:14:43 +08:00
4df2c7eef6
stats: fix auto analyze trigger condition ( #7550 )
2018-08-30 17:20:59 +08:00
d4e08853e4
executor,statistics: make query feedback work for partitioned table ( #7394 )
2018-08-21 11:43:48 +08:00
29addca221
stats: log detailed stats info for query feedback ( #7293 )
2018-08-15 22:01:44 +08:00
606bef7be6
stats: calculate the scalar info for histogram after local update ( #7215 )
2018-08-01 13:37:15 +08:00
b8a2b1bf79
stats: fix panic caused by local feedback ( #7152 )
2018-07-31 14:30:26 +08:00
a816f7882a
table,plan,executor: support delete operation for table partition ( #7147 )
2018-07-30 18:25:51 +08:00
0fa27a4619
*: fix tests failed on Go 1.11beta ( #7178 )
...
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
9a1a95d95c
stats: fix panic caused by outdated feedback ( #7128 )
2018-07-25 18:30:33 +08:00
3173604871
stats: do not change histogram version when updating coloumn size ( #7145 )
2018-07-25 16:32:04 +08:00
46e46c1c10
stats: reduce conflict for updating column size ( #7124 )
2018-07-24 11:49:25 +08:00
3b5e8a2264
stats: use feedback in time ( #6859 )
2018-07-23 19:27:14 +08:00
8cb45e1ff1
stats: rollback when transaction failed ( #7026 )
2018-07-16 15:05:16 +08:00
20a985d8c1
stats: do not wait for data unchanged when auto analyze ( #7022 )
2018-07-10 15:52:34 +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
23e8c6e12b
*: add a system variable auto_analyze_ratio ( #6455 )
2018-05-04 10:54:30 +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
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
6a826fd0aa
*: collect query feedback ( #5909 )
2018-03-12 15:37:09 +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
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
4345458d14
stats: refine the behavior when updating stats delta ( #5647 )
2018-01-16 18:43:26 +08:00
4136b81c23
*: merge IntColumnRange with NewRange. ( #5591 )
2018-01-10 15:50:58 +08:00