Re: DBT-3 Query 2 EXPLAIN ANALYZE differences

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: DBT-3 Query 2 EXPLAIN ANALYZE differences
Дата
Msg-id 200410261639.46055.josh@agliodbs.com
обсуждение исходный текст
Ответ на DBT-3 Query 2 EXPLAIN ANALYZE differences  (Mark Wong <markw@osdl.org>)
Список pgsql-hackers
Mark,

> The plans are different and I suspect thats where the differences lie.
> For brevity (and readability) I won't copy the plans here but I'll
> provide the links.  Search for 'PERF1.POWER.Q2' in the file, it's the
> second query executed and you'll notice the differences under the
> SubPlan:

Yeah, the difference seems to be an arbitrary choice of which table to join on
first.    The error is only +10 ms, but when it's being executed 3000
times ...

Will delve into this when I can re-format it, and try to figure out why the
planner is choosing what it is.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Should bgwriter log checkpoint start/end?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [PERFORM] [PATCHES] ARC Memory Usage analysis