Queries related to checkpoints

Поиск
Список
Период
Сортировка
От Rohan Malhotra
Тема Queries related to checkpoints
Дата
Msg-id CAEoM48XcWVaOU11L9CaDyMXo2kGUhA6ryPCx6kkaU1HX1zLm1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PERFORM] Queries related to checkpoints  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-general
Hi,

I am a Noob with db tuning and trying to analyze pg_stats_brwriter data

checkpoints_timed | checkpoints_req | buffers_checkpoint | buffers_clean | maxwritten_clean | buffers_backend | buffers_alloc                                                                                                                                                                  
-------------------+-----------------+--------------------+---------------+------------------+-----------------+---------------+------
            35241 |              58 |             699136 |        581839 |             1597 |         1663650 |    2205969940


Almost all checkpoints (99.8%) that happened are because of checkpoint_timeout passing. Is this good or should I increaase my checkpoint_segments?
During checkpoints, 699136 8K buffers were written out which is pretty low (less than 1MB).

buffers allocated (2205969940 8K), 1663650 times a database backend (probably the client itself) had to write a page in order to make space for the new allocation. Buffer allocated seems to be too high than backend buffers.
 
How to read more into the data?

Regards
Rohan

В списке pgsql-general по дате отправления:

Предыдущее
От: Willy-Bas Loos
Дата:
Сообщение: [ADMIN] how much work_mem is my server using
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: repmgr and archive_mode