Re: Performance problems with Postgresql/ZFS/Non-global zones on Solaris?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Performance problems with Postgresql/ZFS/Non-global zones on Solaris?
Дата
Msg-id Pine.GSO.4.64.0802032033410.9894@westnet.com
обсуждение исходный текст
Ответ на Re: Performance problems with Postgresql/ZFS/Non-global zones on Solaris?  (jiniusatwork-postgresql@yahoo.com)
Список pgsql-general
On Thu, 31 Jan 2008, jiniusatwork-postgresql@yahoo.com wrote:

> I haven't done any tuning as of yet. I'm running with the default
> settings produced by initdb.

The default settings are junk and the disk pattern will change once
they're set correctly, so tuning ZFS first and then PostgreSQL is probably
backwards.  You may return to tuning the database again after ZFS, but for
the first shot I'd start with a somewhat tuned DB server and then play
with the filesystem.

Put the major postgresql.conf parameters in the right
ballpark--shared_buffers, effective_cache_size, and a large setting for
checkpoint_segments since I think you mentioned a write-heavy benchmark.
You should do your own experiments with wal_sync_method, I haven't seen
any tests that are really definitive on the best setting there for S10+ZFS
and it kind of depends on the underlying hardware--try both open_datasync
and fdatasync.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

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

Предыдущее
От: brian
Дата:
Сообщение: Re: Function returning subset of columns from table (return type)
Следующее
От: Myk
Дата:
Сообщение: Re: Function returning subset of columns from table (return type)