Re: Questions about "Output" in EXPLAIN ANALYZE VERBOSE
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Questions about "Output" in EXPLAIN ANALYZE VERBOSE |
| Дата | |
| Msg-id | 4115743.1704223416@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Questions about "Output" in EXPLAIN ANALYZE VERBOSE (Jeff Janes <jeff.janes@gmail.com>) |
| Ответы |
Re: Questions about "Output" in EXPLAIN ANALYZE VERBOSE
|
| Список | pgsql-performance |
Jeff Janes <jeff.janes@gmail.com> writes:
> On Tue, Jan 2, 2024 at 1:29 PM Jerry Brenner <jbrenner@guidewire.com> wrote:
>> - It looks like "Output" includes more than just the columns with
>> predicates and/or being accessed or returned in other nodes.
> Not in my hands. For SELECTs it just lists the columns that are needed.
It depends. The planner may choose to tell a non-top-level scan node
to return all columns, in hopes of saving a tuple projection step at
runtime. That's heuristic and depends on a number of factors, so you
shouldn't count on it happening or not happening.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера