| От | Pierre C |
|---|---|
| Тема | Re: performance on new linux box |
| Дата | |
| Msg-id | op.vfiofo1leorkce@apollo13 обсуждение исходный текст |
| Ответ на | performance on new linux box (Ryan Wexler <ryan@iridiumsuite.com>) |
| Список | pgsql-performance |
> On the new system the bulk loads are extremely slower than on the > previous > machine and so are the more complex queries. The smaller transactional > queries seem comparable but i had expected an improvement. Performing a > db > import via psql -d databas -f dbfile illustrates this problem. If you use psql (not pg_restore) and your file contains no BEGIN/COMMIT statements, you're probably doing 1 transaction per SQL command. As the others say, if the old box lied about fsync, and the new one doesn't, performance will suffer greatly. If this is the case, remember to do your imports the proper way : either use pg_restore, or group inserts in a transaction, and build indexes in parallel.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера