Re: minio server. Was: Performance of ByteA: ascii vs binary
От
Adrian Klaver
Тема
Re: minio server. Was: Performance of ByteA: ascii vs binary
Дата
Msg-id
ab65a4a3-d619-b6cc-fea1-efdb4790a6f9@aklaver.com
Ответ на
minio server. Was: Performance of ByteA: ascii vs binary (Thomas Güttler)
Список
Дерево обсуждения
Performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Re: Performance of ByteA: ascii vs binary Олег Самойлов <splarv@ya.ru>
Re: Performance of ByteA: ascii vs binary "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Re: Performance of ByteA: ascii vs binary "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Performance of ByteA: ascii vs binary Tom Lane <tgl@sss.pgh.pa.us>
Re: Performance of ByteA: ascii vs binary Adrian Klaver <adrian.klaver@aklaver.com>
Re: Performance of ByteA: ascii vs binary Adrian Klaver <adrian.klaver@aklaver.com>
Re: Performance of ByteA: ascii vs binary Tom Lane <tgl@sss.pgh.pa.us>
minio server. Was: Performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Re: minio server. Was: Performance of ByteA: ascii vs binary Adrian Klaver <adrian.klaver@aklaver.com>
Re: minio server. Was: Performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Script which shows performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Re: Script which shows performance of ByteA: ascii vs binary Francisco Olarte <folarte@peoplecall.com>
Re: Script which shows performance of ByteA: ascii vs binary Kenneth Marshall <ktm@rice.edu>
Re: Script which shows performance of ByteA: ascii vs binary "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Script which shows performance of ByteA: ascii vs binary Thomas Güttler <guettliml@thomas-guettler.de>
Re: Script which shows performance of ByteA: ascii vs binary Adrian Klaver <adrian.klaver@aklaver.com>
Re: Script which shows performance of ByteA: ascii vs binary Francisco Olarte <folarte@peoplecall.com>
On 3/18/19 7:59 AM, Thomas Güttler wrote: > > > Am 18.03.19 um 15:49 schrieb Tom Lane: >> Adrian Klaver writes: >>> On 3/18/19 7:33 AM, Thomas Güttler wrote: >>>> If I used ascii data the tests took 52 seconds. >>>> If I used random binary data the test took 250 seconds. >> >> This doesn't seem terribly surprising in bytea_output = escape >> mode. Probably with bytea_output = hex the performance would >> be less data-dependent. > > Thank you for your fast reply. > > I guess we will use a minio server to store the blobs. According to this: http://initd.org/psycopg/docs/usage.html?highlight=bytea#adapt-binary psycopg2 will use 'hex' by default. Have you tried the test outside Python/psycopg2 e.g in psql to see if the performance hit still exists? > > > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления