Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h46xl-0008Ey-Em for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 16:42:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h46xk-0005nl-3z for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 16:42:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h46uz-0005BZ-TV for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 16:39:50 +0000 Received: from eik.handig-eekhoorn.at ([94.130.23.215] helo=hammy.handig-eekhoorn.at) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h46uw-0005FO-6v for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 16:39:48 +0000 Received: from hammy.handig-eekhoorn.at (localhost.localdomain [127.0.0.1]) by hammy.handig-eekhoorn.at (Proxmox) with ESMTP id C421220658 for ; Wed, 13 Mar 2019 17:39:42 +0100 (CET) Received: from margarita.erven.at (80-109-180-71.cable.dynamic.surfer.at [80.109.180.71]) by hammy.handig-eekhoorn.at (Proxmox) with ESMTPS id A4A3020287 for ; Wed, 13 Mar 2019 17:39:42 +0100 (CET) Received: from [192.168.27.181] (unknown [192.168.0.1]) by margarita.erven.at (Postfix) with ESMTPSA id 1A108770122D for ; Wed, 13 Mar 2019 17:39:42 +0100 (CET) Subject: Re: Where to store Blobs? To: pgsql-general@lists.postgresql.org References: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de> From: Hannes Erven Message-ID: <111be01e-c8b1-eab0-a87e-d7410ff02789@erven.at> Date: Wed, 13 Mar 2019 17:39:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-AT Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Am 13.03.19 um 15:28 schrieb Thomas Güttler: > > Where do you store Blobs? Within PostgreSQL, of course. The system I have in mind stores ZIP and PDF files, usually a few MBs each; we're currently at a total of about 100 GB and there are no evident problems. For this application, it is extremely important that saving/modifying the binaries is part of a larger transaction that completes/fails atomically. Replication is almost real-time and access to the binaries is provided with the same libraries (JDBC/Hibernate) as everything else. Best regards, -hannes