Re: Inheritance planner CPU and memory usage change since 9.3.2
От | Tom Lane |
---|---|
Тема | Re: Inheritance planner CPU and memory usage change since 9.3.2 |
Дата | |
Msg-id | 4211.1434656143@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Inheritance planner CPU and memory usage change since 9.3.2 (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: Inheritance planner CPU and memory usage change since 9.3.2
|
Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes: > On Thu, Jun 18, 2015 at 3:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> I'm a bit surprised that duplicating the append_rel_list is a noticeable >> performance problem. It ought to be far smaller than the Query tree that >> we've always duplicated in this loop --- in particular, it's really a >> subset of what we have in the RTE list, no? > Well, append_rel_list has an AppendRelInfo for every RTE and that > contains a List (translated_vars) which in turn contains a Var node > for every column. I'm not sure how that compares to the RTE itself. RTEs also have a per-column component, namely the lists of column alias names. So there's something odd going on here. I'll dig into it when I get a chance (possibly not during PGCon). regards, tom lane
В списке pgsql-hackers по дате отправления: