Update on high concurrency OLTP application and Postgres 8 tuning

Поиск
Список
Период
Сортировка
От Cosimo Streppone
Тема Update on high concurrency OLTP application and Postgres 8 tuning
Дата
Msg-id 45110543.6020501@streppone.it
обсуждение исходный текст
Ответы Re: Update on high concurrency OLTP application and Postgres 8 tuning  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-performance
Hi all,

I was searching tips to speed up/reduce load on a Pg8 app.
Thank you for all your suggestions on the matter.
Thread is archived here:

http://www.mail-archive.com/pgsql-performance@postgresql.org/msg18342.html

After intensive application profiling and database workload analysis,
I managed to reduce CPU load with application-level changes.

For database overload in presence of many concurrent
transactions, I found that just doing an "ANALYZE" on sensible
relations makes the situation better.

I scheduled a cron job every hour or so that runs an analyze on the
4/5 most intensive relations and sleeps 30 seconds between every
analyze.

This has optimized db response times when many clients run together.
I wanted to report this, maybe it can be helpful for others
out there... :-)

--
Cosimo


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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: Large tables (was: RAID 0 not as fast as
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Update on high concurrency OLTP application and Postgres 8 tuning