Doubts on startup costs - Mailing list pgsql-general

From Jayadevan M
Subject Doubts on startup costs
Date
Msg-id CAFS1N4hT22FqQtODhdykp_QuWaP6MYUr1VxtmUCyrFvReSSN4w@mail.gmail.com
Whole thread Raw
Responses Re: Doubts on startup costs  (Rajeev rastogi <rajeev.rastogi@huawei.com>)
List pgsql-general
Hi,

A few academic questions related PostgreSQL query planner and output -

In the output of EXPLAIN for SQL statements I have seen so far, the startup cost for the innermost node/leaf has been 0. Are there situations where it may be non-zero?

The startup costs for outer nodes will always be equal to or greater than the total cost of the inner nodes? (My guess is NO, there may be cases where the outer node can start processing before the inner node is completely done).

Regards,
Jayadevan

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Alternative to Multi-Master Replication with 2 Data centers??
Next
From: Stefan Keller
Date:
Subject: Re: Postgres as In-Memory Database?