Re: 7 hrs for a pg_restore?

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: 7 hrs for a pg_restore?
Дата
Msg-id
1203450679.3846.107.camel@dogma.ljc.laika.com
Ответ на
Список
Дерево обсуждения
7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Jeff Davis <pgsql@j-davis.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Jeff Davis <pgsql@j-davis.com>
Re: 7 hrs for a pg_restore? "Pavan Deolasee" <pavan.deolasee@gmail.com>
Re: 7 hrs for a pg_restore? Jeff Davis <pgsql@j-davis.com>
Re: 7 hrs for a pg_restore? Matthew <matthew@flymine.org>
Re: 7 hrs for a pg_restore? Jeff Davis <pgsql@j-davis.com>
Re: 7 hrs for a pg_restore? Tom Lane <tgl@sss.pgh.pa.us>
Re: 7 hrs for a pg_restore? Matthew <matthew@flymine.org>
Re: 7 hrs for a pg_restore? ohp@pyrenet.fr
Re: 7 hrs for a pg_restore? "Joshua D. Drake" <jd@commandprompt.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Dave Cramer <pg@fastcrypt.com>
Re: 7 hrs for a pg_restore? Jeff Davis <pgsql@j-davis.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Dave Cramer <pg@fastcrypt.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Greg Smith <gsmith@gregsmith.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Dave Cramer <pg@fastcrypt.com>
Re: 7 hrs for a pg_restore? Richard Huxton <dev@archonet.com>
Re: 7 hrs for a pg_restore? Tom Lane <tgl@sss.pgh.pa.us>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Jeff <threshar@torgo.978.org>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Erik Jones <erik@myemma.com>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
Re: 7 hrs for a pg_restore? Gregory Stark <stark@enterprisedb.com>
Re: 7 hrs for a pg_restore? Erik Jones <erik@myemma.com>
Re: 7 hrs for a pg_restore? Tom Lane <tgl@sss.pgh.pa.us>
Re: 7 hrs for a pg_restore? Erik Jones <erik@myemma.com>
Re: 7 hrs for a pg_restore? Gregory Stark <stark@enterprisedb.com>
Re: 7 hrs for a pg_restore? Chris <dmagick@gmail.com>
Re: 7 hrs for a pg_restore? Gregory Stark <stark@enterprisedb.com>
Re: 7 hrs for a pg_restore? Chris <dmagick@gmail.com>
Re: 7 hrs for a pg_restore? Matthew <matthew@flymine.org>
Re: 7 hrs for a pg_restore? Guillaume Cottenceau <gc@mnc.ch>
Re: 7 hrs for a pg_restore? Tom Lane <tgl@sss.pgh.pa.us>
Re: 7 hrs for a pg_restore? Guillaume Cottenceau <gc@mnc.ch>
Re: 7 hrs for a pg_restore? Vivek Khera <vivek@khera.org>
Re: 7 hrs for a pg_restore? Douglas J Hunley <doug@hunley.homeip.net>
On Tue, 2008-02-19 at 14:28 -0500, Dave Cramer wrote:
> shared buffers is *way* too small as is effective cache
> set them to 2G/6G respectively.

They are way too small, but I don't think that explains the index
creation time.

Effective_cache_size is only used by the planner, and this problem is
not caused by a poorly chosen plan.

It's important to set shared_buffers higher as well, but he has so much
RAM compared with his dataset that he's certainly not going to disk. I
don't think this explains it either. 

I think it's just the result of building a lot of indexes on localized
text using only one core at a time.

Regards,
	Jeff Davis

В списке pgsql-performance по дате отправления
От: Jeff Davis
Дата:
Сообщение: Re: 7 hrs for a pg_restore?
От: Jeff
Дата:
Сообщение: Re: 7 hrs for a pg_restore?
FAQ