Re: Caching and Blobs in PG? Was: Can PG replace redis, amqp, s3 in the future?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "Sven R(dot) Kunze" <srkunze(at)mail(dot)de>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Caching and Blobs in PG? Was: Can PG replace redis, amqp, s3 in the future?
Date: 2017-05-04 21:23:53
Message-ID: CAKFQuwa_r1KRB0k8frUXUVEJMFU2oPY15zb3P8Fy+2_cN14FKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 4, 2017 at 2:08 PM, Sven R. Kunze <srkunze(at)mail(dot)de> wrote:

> On 03.05.2017 12:57, Thomas Güttler wrote:
>
>> Am 02.05.2017 um 05:43 schrieb Jeff Janes:
>>
>>> ​​
>>>
>>>
>> No. You can certainly use PostgreSQL to store blobs. But then, you need
>>> to store the PostgreSQL data **someplace**.
>>> If you don't store it in S3, you have to store it somewhere else.
>>>
>>
>> I don't understand what you mean here. AFAIK storing blobs in PG is not
>> recommended since it is not very efficient.
>>
>
> Seems like several people here disagree with this conventional wisdom.
>
> I think what he was talking about the data itself. You have to store the
> bits and bytes somewhere (e.g. on S3).

​I'm not sure I'd be comfortable placing my PostgreSQL data directory on an
S3-based mount...

​I would look at any general recommendation in this area with suspicion.
Learn how different alternatives works, evaluate your needs, and make an
informed decision for your specific scenario. Reading other's experiences
helps with the education aspect but unless their scenario is exactly like
yours you should probably refrain from directly accepting their conclusions.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2017-05-04 21:28:32 Re: Caching and Blobs in PG? Was: Can PG replace redis, amqp, s3 in the future?
Previous Message John R Pierce 2017-05-04 21:21:00 Re: Caching and Blobs in PG? Was: Can PG replace redis, amqp, s3 in the future?