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 1h44xB-0001iS-4D for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 14:33:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h44x9-0004ab-NG for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 14:33:55 +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 1h44x9-0004Zw-5x for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 14:33:55 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h44x6-0002JN-CZ for pgsql-general@postgresql.org; Wed, 13 Mar 2019 14:33:53 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8F4AD25668; Wed, 13 Mar 2019 10:33:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 13 Mar 2019 10:33:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=7 mZL665XCvAeKclCEnDg7IiXwegsIeYJRNJ8Dh+ZNGE=; b=l/wwqwIkIRCL0FbB+ QZDa5qOAXE1E7tednJF/t26MRWjdQAG/IW/qTOG6ZxFMMHQgxOz+S8wTSAjsdaOe mVUXn0hewqwgKh6PKv1zNfOJhifjGD8F+80QWy3OdT1XUqAFUf1E0jVuwzNFUnVq IHdMVVsoCl+JoYerea3Qg2nzfYAz9Vhe5exj1fNsrDPFXBKt4/9e+5LPeMulmP1e ntnVzod+5Xzl9w92QG6yZ81tk7JZfV6NDBGzxeBrsgMW/e0+0MPFGnbdm27hRuAr eoQYZY0D8gapJIDqv6TAvNdLWUrfwTsrD0+XcuywAEoz0Rc/hwMb0jJUUnfU6hgh dSrgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=7mZL665XCvAeKclCEnDg7IiXwegsIeYJRNJ8Dh+ZN GE=; b=c5SOWr5HVP6y25bcQpo0lI7pbRfUOfrzPK81QN0SQei9DQOCCUpuMtt6V QChDJg3f2dou8CiBrH37x2aAF3TGv3Mq8qBXBNez811fN3XJtNfz2kJoQUJ4gNlI QGekk9a/HIndVqjKp6/1L6kVK99UZOiG9FK44kyczlfTLGVHwS3Lp1eO6nB6MEt6 eOXj1XPHRIbROmPWppo56w4lrXC8VI2lo5yfvWCukB2tbjbMTH9JCUJiYm6iik0t WwdsU4We8ESAQU4O8fi4E2nvweWh6pUkWk83BkJZfB9sD9kRha/nh7DV+mcaYfxk 1S7YeWe5vA3v3MzOPn63aJ+i40CVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrhedtgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepphhoshhtghhrvghsqh hlrdhorhhgnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 8B8E610340; Wed, 13 Mar 2019 10:33:50 -0400 (EDT) Subject: Re: Where to store Blobs? To: =?UTF-8?Q?Thomas_G=c3=bcttler?= , "pgsql-general@postgresql.org" References: <666a8edc-6d86-ad8f-4ff8-101f108e6aa5@thomas-guettler.de> From: Adrian Klaver Message-ID: <7e1cf29a-bd11-dba3-2b4a-48080c6bc60d@aklaver.com> Date: Wed, 13 Mar 2019 07:33:49 -0700 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: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/13/19 7:28 AM, Thomas Güttler wrote: > Some days ago I asked "Where **not** to use PostgreSQL?" on this mailing > list. > > Now I realized: Nobody talked about Blobs. > > I guess most people do not store Blobs in PostgresSQL. > > Where do you store Blobs? Probably the preferred method: https://www.postgresql.org/docs/11/datatype-binary.html Another method: https://www.postgresql.org/docs/11/largeobjects.html > > (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) > > > -- Adrian Klaver adrian.klaver@aklaver.com