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 1h46lB-0007Wr-S0 for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 16:29:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h46l9-0000Dg-Ue for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 16:29:39 +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 1h46l9-0000DL-Io for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 16:29:39 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h46l1-0004uz-JI for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 16:29:38 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id x2DGTLbj001183 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Mar 2019 18:29:26 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id x2DGTLtU076450 for ; Wed, 13 Mar 2019 18:29:21 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Where to store Blobs? To: pgsql-general@lists.postgresql.org References: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de> From: Achilleas Mantzios Message-ID: <45736ca5-a941-c9bc-6567-623e989dd8ee@matrix.gatewaynet.com> Date: Wed, 13 Mar 2019 18:29:21 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 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-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.2 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-26.0 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,DYN_SPAM_SUBJ autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 13/3/19 4:28 μ.μ., Thomas Güttler wrote: > Some days ago I asked "Where **not** to use PostgreSQL?" on this mailing list. > > Where do you store Blobs? > > (In my case Blobs are PDF/image files with size up to 20 MByte. > I do not talk about very big blobs which are several hundret MByte) > bytea. Keeping those in the filesys and trying to keep filesys in sync with the db is a PITA. Also dont know what happens in the transactional dept (ACID) with lo_* large objects. In most cases bytea are just fine. > > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt