Re: slow joining very large table to smaller ones

Поиск
Список
Период
Сортировка
От Dan Harris
Тема Re: slow joining very large table to smaller ones
Дата
Msg-id A6D507C9-A7D9-4FC6-9AE6-7BF3976B51BC@drivefaster.net
обсуждение исходный текст
Ответ на Re: slow joining very large table to smaller ones  (John A Meinel <john@arbash-meinel.com>)
Ответы Re: slow joining very large table to smaller ones  (Dan Harris <fbsd@drivefaster.net>)
Re: slow joining very large table to smaller ones  (John A Meinel <john@arbash-meinel.com>)
Список pgsql-performance
On Jul 14, 2005, at 10:12 PM, John A Meinel wrote:
>
> My biggest question is why the planner things the Nested Loop would be
> so expensive.
> Have you tuned any of the parameters? It seems like something is
> out of
> whack. (cpu_tuple_cost, random_page_cost, etc...)
>

here's some of my postgresql.conf.  Feel free to blast me if I did
something idiotic here.

shared_buffers = 50000
effective_cache_size = 1348000
random_page_cost = 3
work_mem = 512000
max_fsm_pages = 80000
log_min_duration_statement = 60000
fsync = true ( not sure if I'm daring enough to run without this )
wal_buffers = 1000
checkpoint_segments = 64
checkpoint_timeout = 3000


#---- FOR PG_AUTOVACUUM --#
stats_command_string = true
stats_row_level = true


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What's a lot of connections?
Следующее
От: Dan Harris
Дата:
Сообщение: Re: slow joining very large table to smaller ones