QuintenBruynseraede commented on issue #33647:
URL: https://github.com/apache/airflow/issues/33647#issuecomment-1831573438

   Thanks for the response. I ran the commands [in this 
article](https://www.shanelynn.ie/postgresql-find-slow-long-running-and-blocked-queries/)
 to show long-running queries, and saw a query very similar to the on in your 
original post. It only ran for up to 30 seconds, though.
   I also ran 
   ```
   alter table task_instance alter column trigger_id set statistics 10000;
   ANALYZE task_instance;
   ```
   to minimize sampling during table analysis. This did not fix my issue so far.
   
   I'll try to clean up old records and report back here. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to