explain analyze cost - Mailing list pgsql-general

From Ravi Krishna
Subject explain analyze cost
Date
Msg-id 1544654267.3583234.1607577016.1555678D@webmail.messagingengine.com
Whole thread Raw
In response to Re: Idle connections / sessions  (Thomas Poty <thomas.poty@gmail.com>)
Responses Re: explain analyze cost  (Ron <ronljohnsonjr@gmail.com>)
Re: explain analyze cost  (Andres Freund <andres@anarazel.de>)
List pgsql-general
I am running explain analyze cost on a SQL which reads from two large tables (122mil and 37 mil).  The query is an UPDATE SQL where we use derives table in the from clause and then join it back to the table being updated.

The explain analyze cost itself is taking forever to run. It is running for the last 1 hr. Does that actually run the SQL to find out the impact of I/O (as indicated in COSTS). If not, what can cause it to run this slow.

pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Does PostgreSQL use atomic file creation of FS?
Next
From: Ron
Date:
Subject: Re: explain analyze cost