Re: Where to store Blobs? - Mailing list pgsql-general

From Jamesie Pic
Subject Re: Where to store Blobs?
Date
Msg-id CAC6Op19=NG9C61RqwDshhSZkm66Tsp+AyK-a5wukY+7ApbeDig@mail.gmail.com
Whole thread Raw
In response to Re: Where to store Blobs?  (Jamesie Pic <jpic@yourlabs.org>)
Responses Re: Where to store Blobs?  (Morris de Oryx <morrisdeoryx@gmail.com>)
List pgsql-general
I forgot to mention that my deployments include automated migrations as often as possible, sometimes destructive for refactoring purpose, as such, to maintain PostgreSQL on a basic linux box I am:

- for having an automated backup prior in the automated deployment script that may play destructive migrations,
- against the needless overhead of coupling both binary and relational data in operations that slows the whole thing down or makes it less reliable

Also got supposedly many new points against, mixed with more detail on the points briefly exposed in my previous email, going deeper in detail, about how it fits in the big picture of my personal practice ... and how this has destabilized my prod for months:

tl;dr
If you store media files in PostgreSQL on a production server, then do take disk space alarms seriously even if they happen only during backups.
Otherwise I fail to see how to avoid a pattern of recurring incidents, "manually unblocking automated deployments" (double debt interest cost because also defeats the purpose of automating deployment), when not filling up a disk during the nightly backup dump ...

Hope this helps,

Have a great day

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Primary key data type: integer vs identity
Next
From: Morris de Oryx
Date:
Subject: Re: Where to store Blobs?