From: Bruce Momjian <bruce@momjian.us>
To: Estevan Rech <softrech@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Best Strategy for Large Number of Images
Date: Wed, 15 Dec 2021 16:41:30 -0500
Message-ID: <20211215214130.GB4445@momjian.us> (raw)
In-Reply-To: <CAJZXSXjNC7jf5Z0fdWW09NupOG3KcvX7hDK-abNLcnOj6vwMgQ@mail.gmail.com>
References: <CAJZXSXjNC7jf5Z0fdWW09NupOG3KcvX7hDK-abNLcnOj6vwMgQ@mail.gmail.com>
On Wed, Dec 15, 2021 at 02:45:15PM -0300, Estevan Rech wrote:
> Hi,
>
> I don't currently use PostgreSQL, but I plan to migrate and I have a question
> about the best way/strategy for storing images. I have about 2 million images
> with a growth trend of around 1 million images per year. I plan to store in
> bytea format in an isolated table. Is this recommended? Is there another better
> way?
You might want to read this:
https://momjian.us/main/blogs/pgblog/2020.html#June_19_2020
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
If only the physical world exists, free will is an illusion.
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: bruce@momjian.us, softrech@gmail.com
Subject: Re: Best Strategy for Large Number of Images
In-Reply-To: <20211215214130.GB4445@momjian.us>
References: <CAJZXSXjNC7jf5Z0fdWW09NupOG3KcvX7hDK-abNLcnOj6vwMgQ@mail.gmail.com> <20211215214130.GB4445@momjian.us>
* 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