pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Thomas Güttler <guettliml@thomas-guettler.de>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Where to store Blobs?
Date: Wed, 13 Mar 2019 15:33:50 +0100
Message-ID: <49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at> (raw)
In-Reply-To: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de>
References: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de>

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





view thread (16+ messages)  latest in thread

Message-ID: <49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at>
Permalink:  ../49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at/
Also on:    postgresql.org/message-id/49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, guettliml@thomas-guettler.de
  Subject: Re: Where to store Blobs?
  In-Reply-To: <49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at>
  References: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de> <49bb4b7f88aae994e414d34e4dcd350c1217eccc.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox