Bg_writer and checkpointer

Поиск
Список
Период
Сортировка
От Rajesh Kumar
Тема Bg_writer and checkpointer
Дата
Msg-id CAJk5AtaaMWLHXFyaUk36Pg7OQ8q=CcsqDXgp9hrF0jqv=HuwFg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bg_writer and checkpointer  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Re: Bg_writer and checkpointer  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-admin
I have read multiple online blogs, watched videos and still not clarified about 1. Actual difference between bg_writer and checkpointer. When I am querying update set, If bgwriter flushes dirty buffer to base every 200ms(bgwriter_delay), why would I need checkpointer to invoke bgwriter? 
Same way, what happens for insert query?

1. How the flow works?

Dml-->wal_buffer-->also copied to shared_buffer--> commit-->flushed to pg_wal using wal writer -->checkpointer-->fsync to datapath-->bgwriter flushed to base.


Correct me the flowchart 

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

Предыдущее
От: "Ravindranathan Rinilnath (Ext. - UniCredit)"
Дата:
Сообщение: RE: Installation of PostGIS without internet or with limited internet access
Следующее
От: Murthy Nunna
Дата:
Сообщение: Intermittent Query Performance Issue