Commit Graph

8026 Commits

Author SHA1 Message Date
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
633d1b81ac ddl, executor: fix show index print none public index when add index ddl operation is not finished. (#5833) 2018-02-08 22:53:24 +08:00
d560831b09 ddl, metrics: Add metrics for ddl worker. (#5823) 2018-02-08 22:01:00 +08:00
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
498bf74a62 tikv: remove a useless metric (#5829) 2018-02-08 19:10:49 +08:00
1af95b876f executor/builder: check builder error when build child plan of hash join (#5822)
nil child exec will cause panic.
2018-02-08 18:45:38 +08:00
59720b6313 util: add GoVersion info for tidb_version (#5828) 2018-02-08 18:27:31 +08:00
eaef520634 types,executor: treat decimal truncate as warning in update (#5801) 2018-02-08 15:55:52 +08:00
46f0fbb8ec gcworker: reduce gcWaitTime (#5824)
The original value of gcWaitTime is 10 minutes.
So even if we set gc_life_time and gc_run_interval to 1 minute, the actual run interval is still 10 minutes.

Change it to one minute so the actual run interval can be reduced to 1 minute.
2018-02-08 15:08:24 +08:00
f6c9f43b4c expression: add benchmarks about expression executor (#5760) 2018-02-08 14:57:05 +08:00
5d91dbd5a1 executor: pass operator label from Plan to Executor (#5821) 2018-02-08 13:33:11 +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
be1eeaccb9 importer: generate string by stats (#5804) 2018-02-07 18:35:10 +08:00
fe165d90a4 plan: prepare candidate index (#5809) 2018-02-07 18:28:33 +08:00
1aaef047fa stats: add metrics for stats (#5785) 2018-02-07 17:59:50 +08:00
c6046b2673 store/tikv:Ignore error and do gc anyway (#5797)
* ignore error when gc, and continue do gc next region
2018-02-07 16:53:03 +08:00
69881b55ff executor: make sure "plan.GlobalPlanCache" is initialized before "plan.PlanCacheEnabled" set to true (#5806) 2018-02-07 16:20:16 +08:00
901e898073 plan: open some test. (#5811) 2018-02-07 15:45:21 +08:00
5be134e38f plan, expression: refine explain count info (#5810) 2018-02-07 14:45:08 +08:00
ae8e5941ea *: clean up abandoned storage engine (#5808) 2018-02-07 00:19:32 -06:00
274a344ad1 server: fix sub query error in prepare statement (#5761) 2018-02-06 06:49:38 -06:00
69be66006d session: add transaction id in general log. (#5803) 2018-02-06 19:37:25 +08:00
26d4887c55 plan: fix a bug when alter table drop column meets insert (#5790) 2018-02-06 18:35:31 +08:00
b5d078b41b stats: set a min count for auto analyze (#5796) 2018-02-06 18:23:48 +08:00
8578ad2a95 importer: generate int data by histogram (#5795) 2018-02-06 18:14:57 +08:00
be1d564c88 store/tikv: add metrics and log for ticlient (#5778) 2018-02-06 03:27:50 -06:00
855563556d set gcScanLockLimit appropriately to avoid gc worker fill the resolved lock cache full (#5788) 2018-02-06 17:08:43 +08:00
68ddbf411e importer: support varchar for set (#5800) 2018-02-06 16:49:12 +08:00
64af2c2553 executor: refine merge join (#5799) 2018-02-06 15:45:49 +08:00
be6af8f071 owner, metrics: add metrics (#5779) 2018-02-06 15:06:21 +08:00
43d4b44edb importer: fix overflow and add support for TypeNewDecimal (#5772) 2018-02-06 13:38:14 +08:00
4e554703fb plan: fix bug of stats count (#5775) 2018-02-06 13:16:50 +08:00
8cc9e45f41 variable,printer: add a session variable to show configuration. (#5784) 2018-02-05 22:54:41 +08:00
bf1b4e27b5 server: log the actual error before return "mysql.ErrBadConn" (#5786) 2018-02-05 21:23:55 +08:00
5373be2ae7 tidb: fix benchmark go test -test.bench=. -test.run=^XXX (#5791) 2018-02-05 06:25:12 -06:00
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +08:00
fc699c9b0d importer: initialize EvalAstExpr (#5789) 2018-02-05 15:44:55 +08:00
6f4ef27baa metrics, store/tikv: refine tikv client metrics (#5780) 2018-02-05 11:06:42 +08:00
2f113b1573 metrics: fix inconsistent label for panic counter (#5783) 2018-02-05 10:53:19 +08:00
4d954e23d8 ddl, metrics: Move DDL metrics from ddl package to metrics package (#5781) 2018-02-05 10:14:03 +08:00
23bff274a0 distsql, metrics: refine distsql metrics. (#5774)
Refine distsql metrics && Add scan keys metrics.
2018-02-02 21:53:22 +08:00
4db4b45e4a meta: Add metrics for meta package (#5770) 2018-02-02 14:27:55 +08:00
17ee60030c ddl: add metrics for ddl syncer (#5765) 2018-02-02 14:09:52 +08:00
96b60291ad model:use map instead of switch statment (#5735) 2018-02-02 11:45:51 +08:00
1f1e5f53eb importer: support load stats by path. (#5768) 2018-02-01 23:32:44 +08:00
c5ca3a950a tidb, metrics: update metrics for session. (#5762)
Move metrics to `metrics` package, and two more, fix retry count metrics.
2018-02-01 21:44:05 +08:00
469b246965 types,expression: make ConvertToTime unaffected by location (#5741) 2018-02-01 06:22:59 -06:00
2a2e8c4775 executor: join don't need any inner filter. (#5767) 2018-02-01 19:48:18 +08:00
14a9a3df76 server, metrics: move and refine server metrics (#5766) 2018-02-01 19:04:31 +08:00