| От | Chris Mair |
|---|---|
| Тема | Re: SOLVED: insertion of bytea |
| Дата | |
| Msg-id | 1130768957.6383.37.camel@dell.1006.org обсуждение |
| Ответ на | Re: insertion of bytea ("Chris Mair" <list@1006.org>) |
| Список | pgsql-performance |
> I'm CPU-bound with an I/O well below what my disks could do :( > [...] > > PS1: someone off-list suggested using oprofile, which I will do. I've used oprofile and found out that with my test client (lots of bytea inserts) the server burns a lot of CPU time in pglz_compress. I'm using random data and my production data will be closed to random (due to noise!), so compression is of course pointless. By using alter table dbtest alter img set storage external; I can tell the server not to compress. On a test box this brought net insert rate up by 50%, which is enough to meet the requirements. Thanks again :) Bye, Chris.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера