Re: Use bytearray for blobs or not?

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Use bytearray for blobs or not?
Date: 2019-01-04 11:48:13
Message-ID: 07d16f3f-0352-7802-ef1c-bd9987ec623b@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/1/19 1:41 μ.μ., Thomas Güttler wrote:
> Some months ago I wrote a little application with Python+Django which stores
> blob data in bytearrays.
>
> It works.
>
> In the future there will be a lot more traffic, and I am unsure
> if this is really a good solution. I know this is more FUD than
> concrete PG issue.
>
> What do you think?

Performance (at least for JDBC) is known to be better with blobs.
However, with bytea life is just easier for many reasons (backups, logical replication, other types of replication, sys management, etc).

>
> Which alternatives could be useful?
>
> Regards,
>   Thomas
>
>
>
>

--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kristjan Tammekivi 2019-01-04 12:20:55 Re: Potentially undocumented behaviour change in Postgres 11 concerning OLD record in an after insert trigger
Previous Message Rijo Roy 2019-01-04 11:42:52 Refresh using barman