| От | Vadim Mikheev |
|---|---|
| Тема | Re: [GENERAL] on PostgreSQL performance optimization. |
| Дата | |
| Msg-id | 367B9177.A6860062@krs.ru обсуждение исходный текст |
| Ответ на | on PostgreSQL performance optimization. (Memphisto <szoli@netvisor.hu>) |
| Список | pgsql-general |
Memphisto wrote: > > Hi, > > For a month I was working on a NS-proxy parser that moved all necessary > information into a postgreSQL relation. The problem is that this app is > run every midnight so supposed to be process the information relatively > fast. It isn't. Today's proxy log is 3041705 bytes and the app is still > working on it. > I'd like to know how to optimize the performance of it. The app does not > consume too much CPU time, while postgreSQL does. How could I find out if > what is suboptimal - the scheme of relations or the SQL queries I wrote, > etc. First, do you use BEGIN/END to run many queries in one transaction? Two fsync per query (without BEGIN/END) is great overhead... And, as usual, man vacuum -:) Vadim
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера