Commit Graph

5 Commits

Author SHA1 Message Date
9a8a0d88a9 stats: reduce stats collecor's lock contention (#9233) 2019-02-25 19:47:25 +08:00
3f574d97c9 stats: refactor stats update mechanism (#6901) 2018-07-06 11:22:11 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
7ae996c411 Set stats lease. (#3408) 2017-06-07 18:19:52 +08:00
3126e5e341 *: online update count in table stats. (#3053)
When insert and update happens, we will cache the changed info in every session. After a duration(five minutes now) passes, handle will sweep every cache and merge them. Then dump the delta info to TiKV.
2017-04-15 21:20:44 +08:00