pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: 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 15:36:19 +0200
Message-ID: <72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.camel@cybertec.at> (raw)
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>

On Thu, 2020-05-14 at 12:59 +0900, Michael Paquier wrote:
> 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.

Interesting; only recently I played with that a little and found that
that is not necessarily true:

https://www.cybertec-postgresql.com/en/binary-data-performance-in-postgresql/

Yours,
Laurenz Albe






view thread (6+ messages)  latest in thread

Message-ID: <72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.camel@cybertec.at>
Permalink:  ../72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.camel@cybertec.at/
Also on:    postgresql.org/message-id/72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.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, michael@paquier.xyz, tgl@sss.pgh.pa.us, dmitigr@gmail.com
  Subject: Re: Practical usage of large objects.
  In-Reply-To: <72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.camel@cybertec.at>
  References: <CAAfz9KOa+Os1gjB-8E=XYDPqX7WU6_PY+Gad023Fv1pgA2-XDg@mail.gmail.com> <10209.1589392548@sss.pgh.pa.us> <20200514035949.GD166343@paquier.xyz> <72a02fe6b1b78120136cf7f96cd35c0c2ed2f4d2.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