| От | Scott Marlowe |
|---|---|
| Тема | Re: Tuning resource parameters for a logging database. |
| Дата | |
| Msg-id | dcc563d10905211242p5b17fa35xb8968bed430ed1ae@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Tuning resource parameters for a logging database. (Alex Thurlow <alex@blastro.com>) |
| Список | pgsql-general |
On Thu, May 21, 2009 at 1:39 PM, Alex Thurlow <alex@blastro.com> wrote: > I should also specify how my inserts are happening I guess. I'm actually > doing the logs to flat files and then inserting them into the database on an > hourly basis using COPY, so I don't need to worry as much about the log > insert speed as I do the reporting. Cool. Then definitely look at partitioning, and also start running explain analyze on your longer running queries. You'll often find some part of the plan that makes no sense (usually a difference between estimated and actual returned rows is a clue). You can earn a lot of performance by tuning your queries in this way.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера