Introduce a WaitEventSet for the stats collector.
Thomas Munro <tmunro@postgresql.org>
Introduce a WaitEventSet for the stats collector. This avoids avoids some epoll/kqueue system calls for every wait. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/pgstat.c | modified | +14 −10 |
Discussion
- Reducing WaitEventSet syscall churn 15 messages · 2020-01-21 → 2021-03-01