From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dmitry Igrishin <dmitigr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Practical usage of large objects.
Date: Thu, 14 May 2020 12:59:49 +0900
Message-ID: <20200514035949.GD166343@paquier.xyz> (raw)
In-Reply-To: <10209.1589392548@sss.pgh.pa.us>
References: <CAAfz9KOa+Os1gjB-8E=XYDPqX7WU6_PY+Gad023Fv1pgA2-XDg@mail.gmail.com>
<10209.1589392548@sss.pgh.pa.us>
On Wed, May 13, 2020 at 01:55:48PM -0400, Tom Lane wrote:
> Dmitry Igrishin <dmitigr@gmail.com> writes:
>> As you know, PostgreSQL has a large objects facility [1]. I'm curious
>> are there real systems which are use this feature?
>
> We get questions about it regularly, so yeah people use it.
I recall that some applications where I work make use of it for some
rather large log-like data. At the end of the day, it really boils
down to if you wish to store blobs of data which are larger than 1GB,
the limit for toasted fields, as LOs can be up to 4TB. Also, updating
or reading a LO can be much cheaper than a toasted field, as the
latter would update/read the value as a whole.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, tgl@sss.pgh.pa.us, dmitigr@gmail.com
Subject: Re: Practical usage of large objects.
In-Reply-To: <20200514035949.GD166343@paquier.xyz>
References: <CAAfz9KOa+Os1gjB-8E=XYDPqX7WU6_PY+Gad023Fv1pgA2-XDg@mail.gmail.com> <10209.1589392548@sss.pgh.pa.us> <20200514035949.GD166343@paquier.xyz>
* 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