Answer the question
In order to leave comments, you need to log in
What does the query result say? Or what conclusion can be drawn?
I am doing the following.
SELECT
query ________________actual_query____________________,
client_addr client_ip,
to_char(backend_start, 'YYYY-MM-DD HH:MM:SS') backend_start,
to_char(query_start, 'YYYY-MM-DD HH:MM:SS') query_start,
to_char(state_change, 'YYYY-MM-DD HH:MM:SS') state_change,
wait_event_type wait,
wait_event wait_event,
STATE
FROM pg_stat_activity
order by backend_start
Answer the question
In order to leave comments, you need to log in
What state = active says - the request has not yet completed
What does wait = lock and wait_event = transaction_id mean?
which updates some data
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question