Query Spins
От
Murthy Nunna
Тема
Query Spins
Дата
Msg-id
DM8PR09MB6677D376F84879E730AAB223B807A@DM8PR09MB6677.namprd09.prod.outlook.com
Список
Дерево обсуждения
Query Spins Murthy Nunna <mnunna@fnal.gov>
Re: Query Spins Laurenz Albe <laurenz.albe@cybertec.at>
RE: Query Spins Murthy Nunna <mnunna@fnal.gov>
Hi,
Pg16.10
I have a query which runs fine most of the time. When it runs fine, it spawns parallel workers. In pg_stat_activity, wait_event is blank, state is active and backend_type = "client backend" for the main query. For parallel workers of this query I see wait_event = MessageQueueSend, state is active and backend_type = "parallel worker"
But some times, it has no parallel workers. wait_event is blank, state is active and backend_type =client backend. And it never ends. It takes up lot of CPU. The socket on both server and client server are in ESTABLISHED state (netstat -tulpa | grep <client_port>).
I appreciate any help you can provide.
В списке pgsql-admin по дате отправления
От: Ron Johnson
Дата: