pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: Dominique Devienne <ddevienne@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: How to store "blobs" efficiently for small and large sizes, with random access
Date: Thu, 20 Oct 2022 10:48:09 +0200 (CEST)
Message-ID: <VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net> (raw)
In-Reply-To: <CAFCRh--PO+jibuWn0by21WN0CKK9ZK8xNFRRWeTgg+P6v296wg@mail.gmail.com>
References: <CAFCRh--KMuUHPvSb5KL6TJoJmykwQTgh3mAfP4B3KxHMULXMTw@mail.gmail.com>
	<VisenaEmail.7f.ed5f0eef3b438b59.183efbb4151@visena.app.internal.visena.net>
	<CAFCRh-976riSPX=MVcN5a5KgGa1JUEmx3b3NUbGP2CCjtjyVag@mail.gmail.com>
	<68063d68a94af2be2dd42b29f8fff956360270e9.camel@cybertec.at>
	<CAFCRh--PO+jibuWn0by21WN0CKK9ZK8xNFRRWeTgg+P6v296wg@mail.gmail.com>



På torsdag 20. oktober 2022 kl. 10:32:44, skrev Dominique Devienne <
ddevienne@gmail.com <mailto:ddevienne@gmail.com>>:
On Wed, Oct 19, 2022 at 5:05 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> On Wed, 2022-10-19 at 12:48 +0200, Dominique Devienne wrote:
> > On Wed, Oct 19, 2022 at 12:17 PM Andreas Joseph Krogh <andreas@visena.com> 
wrote:
> > > First advice, don't do it. We started off storing blobs in DB for “TX 
safety”
> > Not really an option, I'm afraid.
> You should reconsider. Ruling out that option now might get you into trouble
> later. Large Objects mean trouble.

Andreas, Ericson, Laurenz, thanks for the advice.
I'll be sure to discuss these concerns with the team.
[…]
But before I finish this thread for now, I'd like to add that I
consider unfortunate a state of affairs where
NOT putting the data in the DB is the mostly agreed upon advice. It
IMHO points to a weak point of
PostgreSQL, which does not invest in those use-cases with large data,
perhaps with more file-system
like techniques. Probably because most of the large users of
PostgreSQL are more on the "business"
side (numerous data, but on the smaller sizes) than the "scientific"
side, which (too often) uses files and
files-in-a-file formats like HDF5.
[…]


Note that my views were not PG-specific and applies to all 
applications/architectures involving RDBMS.

view thread (23+ messages)  latest in thread

Message-ID: <VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net>
Permalink:  ../VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net/
Also on:    postgresql.org/message-id/VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net

 · 

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: andreas@visena.com, ddevienne@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: How to store "blobs" efficiently for small and large sizes, with random access
  In-Reply-To: <VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net>
  References: <CAFCRh--KMuUHPvSb5KL6TJoJmykwQTgh3mAfP4B3KxHMULXMTw@mail.gmail.com> <VisenaEmail.7f.ed5f0eef3b438b59.183efbb4151@visena.app.internal.visena.net> <CAFCRh-976riSPX=MVcN5a5KgGa1JUEmx3b3NUbGP2CCjtjyVag@mail.gmail.com> <68063d68a94af2be2dd42b29f8fff956360270e9.camel@cybertec.at> <CAFCRh--PO+jibuWn0by21WN0CKK9ZK8xNFRRWeTgg+P6v296wg@mail.gmail.com> <VisenaEmail.1c.98e0aadca8999663.183f48fb51d@visena.app.internal.visena.net>

* 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