From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Dominique Devienne <ddevienne@gmail.com>
Cc: Andreas Joseph Krogh <andreas@visena.com>
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 12:21:29 +0200
Message-ID: <8dad27efeb4d05898d8f3a28838f64d8cb0f64be.camel@cybertec.at> (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>
On Thu, 2022-10-20 at 10:32 +0200, Dominique Devienne wrote:
> 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.
Relational databases are general-purpose software, but that doesn't
mean that they are the right tool for everything. And storing large
files is not what they are good at. File systems are the right tool
here.
> FWIW, when Oracle introduced SecureFile blobs years ago in v11, it
> represented a leap forward in
> performance, and back then we were seeing them being 3x faster than LO
> at GB sizes, if I recall correctly,
I don't know what exactly they are, but I suspect that they are just
files (segments?) in Oracle's "file system" (tablespaces/datafiles).
So pretty much what we recommend.
Yours,
Laurenz Albe
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, ddevienne@gmail.com, andreas@visena.com
Subject: Re: How to store "blobs" efficiently for small and large sizes, with random access
In-Reply-To: <8dad27efeb4d05898d8f3a28838f64d8cb0f64be.camel@cybertec.at>
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> <8dad27efeb4d05898d8f3a28838f64d8cb0f64be.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