Re: Unresolved repliaction hang and stop problem.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Unresolved repliaction hang and stop problem.
Дата
Msg-id 202106162228.5w7ltvtus3ou@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Unresolved repliaction hang and stop problem.  (Ha Ka <klasahubert@gmail.com>)
Ответы Re: Unresolved repliaction hang and stop problem.  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
On 2021-Jun-16, Ha Ka wrote:

> Here is the upload with generated reports: https://easyupload.io/p38izx
> passwd:  johS5jeewo

OK, so I downloaded that and this is the interesting entry in the
profile for the broken case:

# Samples: 5K of event 'cpu-clock'
# Event count (approx.): 59989898390
#
# Children      Self  Command   Shared Object  Symbol                            
# ........  ........  ........  .............  ..................................
#
   100.00%     0.00%  postgres  postgres       [.] exec_replication_command
            |
            ---exec_replication_command
               WalSndLoop
               XLogSendLogical
               LogicalDecodingProcessRecord
               |          
                --99.51%--ReorderBufferQueueChange
                          |          
                          |--96.06%--hash_seq_search
                          |          
                          |--1.78%--ReorderBufferSerializeTXN
                          |          |          
                          |           --0.52%--errstart
                          |          
                           --0.76%--deregister_seq_scan

What this tells me is that ReorderBufferQueueChange is spending a lot of
time doing hash_seq_search, which probably is the one in
ReorderBufferTXNByXid.

I have, as yet, no idea what this means.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Outdated replication protocol error?