Commit Graph

276 Commits

Author SHA1 Message Date
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
e7afbb2713 *: make analyze buckets number configurable (#7619) 2018-09-06 17:16:23 +08:00
6e3bbe8e35 *: add HIGH_PRIORITY for the bootstrap SQLs. (#7616) 2018-09-06 00:49:12 +08:00
74a6dddfd0 stats: auto analyze on certain period of a day (#7570) 2018-09-05 16:37:53 +08:00
aa9f46a16a stats: fix panic when log detailed stats info (#7588) 2018-09-03 16:53:10 +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
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
b1aef89144 stats: fix the data race in test (#7434) 2018-08-20 14:51:12 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
29addca221 stats: log detailed stats info for query feedback (#7293) 2018-08-15 22:01:44 +08:00
d1246b3c91 ddl: notify stats worker when truncate table (#7356) 2018-08-13 13:53:22 +08:00
00839ceeec stats: support loading partition stats (#7305) 2018-08-09 20:00:03 +08:00
44e6c3c2e1 plan, stats: fix inconsistent row count estimation (#7233) 2018-08-06 17:39:33 +08:00
1285088127 executor, plan: support analyze partition table (#7190) 2018-08-01 16:39:08 +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
25f1e808f5 Use the revive linter. (#7197) 2018-07-31 13:19:09 +08:00
a816f7882a table,plan,executor: support delete operation for table partition (#7147) 2018-07-30 18:25:51 +08:00
343cb849b8 *: fast path point select (#6937) 2018-07-30 18:13:47 +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
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
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
1bf3f3d407 ranger: refine explain format, again (#7041) 2018-07-17 16:47:44 +08:00
9cf670a324 *: cut off duration.fsp in chunk (#7043) 2018-07-17 15:36:27 +08:00
8cb45e1ff1 stats: rollback when transaction failed (#7026) 2018-07-16 15:05:16 +08:00
34d8fd8d8d plan, statistics: extract histColl struct (#6860) 2018-07-13 14:42:07 +08:00
20a985d8c1 stats: do not wait for data unchanged when auto analyze (#7022) 2018-07-10 15:52:34 +08:00
372a6fc921 plan: refine explain result format (#7011) 2018-07-09 13:55:36 +08:00
3f574d97c9 stats: refactor stats update mechanism (#6901) 2018-07-06 11:22:11 +08:00
c9cea72343 stats: refine updating stats using feedback (#6796) 2018-07-03 15:05:02 +08:00
6a931e55dc plan: remove other accessPaths if one is unique key and full matched. (#6925) 2018-06-29 14:32:26 +08:00
c5524cb238 plan, executor: use CorrelatedColumn to calculate range. (#6779) 2018-06-28 16:23:05 +08:00
a7819c3385 plan: draw relation bewteen operators with indent (#6894) 2018-06-28 13:28:43 +08:00
0ab0b50f25 stats: refine the pseudo condition for stats (#6565) 2018-06-27 17:05:37 +08:00
326ad271d6 plan: enhance the row count estimation when correlated column exists (#6911) 2018-06-27 13:33:15 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
48719d2019 stats: refine index row count estimation (#6869) 2018-06-22 15:48:36 +08:00
96a5109ebb types: handle NULL datum if we need convert it to string. (#6761)
* types: handle `NULL` when we need to
2018-06-06 20:15:48 +08:00
c348afebf1 stats: refine row count estimation (#6746) 2018-06-04 20:45:30 +08:00
87ce884b2e *:check max/min timestamp bound with timezone aware (#6581)
- mytime: max/min configure with UTC tz, convert to local tz during process starting, convert it to session tz before checking bound.
- time: so `check()`/`add()` need force pass `StatementContext` parameter.
- builtin_time: pass `StatementContext` from `b.ctx.sessionVars` into check/add.
- dump: also set timezone for StatementContext with UTC.
- *_test/mock: fix test case, make mock context with stmt TimeZone.
- add testcase for checkTimestamp and mytime convert timezone.
2018-05-24 15:27:38 +08:00
bcd3750f4b stats: refine stats log level (#6627) 2018-05-23 20:33:30 +08:00