| От | Scott Marlowe |
|---|---|
| Тема | Re: Postgres tuning? |
| Дата | |
| Msg-id | 1088548428.12350.41.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Postgres tuning? (Simon Windsor <simon.windsor@cornfield.org.uk>) |
| Список | pgsql-general |
On Tue, 2004-06-29 at 15:30, Simon Windsor wrote: > Hi > > I am in the process of converting a small multi-user application from > MySQL, and most queries are performing better. The only noticeable > exception is a batch load, which is half the speed of MySQL version. > > What are the basic parameters I should be focusing on for best > performance ? > > - sort_mem > - shared_buffers How does the batch insert work? Just one insert after another? Try wrapping them in a transaction: begin; insert into ... (repeat a few thousand to million times) commit;
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера