Re: Where to store Blobs?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Thomas Güttler <guettliml(at)thomas-guettler(dot)de>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where to store Blobs?
Date: 2019-03-13 14:33:50
Message-ID: 49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Güttler wrote:
> Now I realized: Nobody talked about Blobs.
>
> I guess most people do not store Blobs in PostgresSQL.
>
> Where do you store Blobs?
>
> (In my case Blobs are PDF/image files with size up to 20 MByte.
> I do not talk about very big blobs which are several hundret MByte)

Ideally outside the database, if they are many.
Large databases are harder to backup than large file systems.

If you keep 20MB binaries in the database, you'd use the "bytea" data type.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Day, David 2019-03-13 14:47:41 RE: Permission to refresh materialized view
Previous Message Adrian Klaver 2019-03-13 14:33:49 Re: Where to store Blobs?