slow insert speeds with bytea

Поиск
Список
Период
Сортировка
От Alex O'Ree
Тема slow insert speeds with bytea
Дата
Msg-id CALLT8kjDadH2gZ+n1DnysZPw6rcQwfGv+2EfffuJ4N5+aZbVYw@mail.gmail.com
обсуждение исходный текст
Ответы Re: slow insert speeds with bytea  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: slow insert speeds with bytea  (Steve Atkins <steve@blighty.com>)
Re: slow insert speeds with bytea  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
Is there anything I can to increase insert speeds for bytea? Currently running postgres 9.6.15

I have a few tables without a bytea and a few with bytea. There is a large performance difference with inserts between the two. I'm inserting a byte[] that's usually less than 1MB on content. The content itself is actually just utf8 string data.

For the non-bytea table, inserts can be as high as 40k rows/sec, whereas the bytea table is closer to 4k/sec or less.

If this is just a limitation of postgres, then that's fine but the performance delta is so significant that i feel like i'm missing something

В списке pgsql-general по дате отправления:

Предыдущее
От: Arnie Morein
Дата:
Сообщение: Why are clobs always "0"
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Why are clobs always "0"