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 1ggRt1-0007wp-0t for pgsql-general@arkaria.postgresql.org; Mon, 07 Jan 2019 10:11:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggRsy-0001s3-Pb for pgsql-general@arkaria.postgresql.org; Mon, 07 Jan 2019 10:11:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggRsy-0001rw-HI for pgsql-general@lists.postgresql.org; Mon, 07 Jan 2019 10:11:56 +0000 Received: from hz1.yz.to ([2a01:4f8:120:9383::2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggRsv-0001i1-Qj for pgsql-general@lists.postgresql.org; Mon, 07 Jan 2019 10:11:56 +0000 Received: from [172.17.6.34] (mail.tbz-pariv.de [146.0.121.193]) by hz1.yz.to (Postfix) with ESMTPSA id 93E8A86F915B for ; Mon, 7 Jan 2019 11:11:51 +0100 (CET) Subject: Re: Use bytearray for blobs or not? To: pgsql-general@lists.postgresql.org References: From: =?UTF-8?Q?Thomas_G=c3=bcttler?= Message-ID: Date: Mon, 7 Jan 2019 11:12:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I came across this article, and now I think blob in s3 in s3-object-id in PostgreSQL are the best solution for me: https://wiki.postgresql.org/wiki/BinaryFilesInDB I hope the wiki page is still valid. Regards, Thomas Am 04.01.19 um 12:41 schrieb Thomas Güttler: > Some months ago I wrote a little application with Python+Django which stores > blob data in bytearrays. > > It works. > > In the future there will be a lot more traffic, and I am unsure > if this is really a good solution. I know this is more FUD than > concrete PG issue. > > What do you think? > > Which alternatives could be useful? > > Regards, >   Thomas > > > > -- Thomas Guettler http://www.thomas-guettler.de/ I am looking for feedback: https://github.com/guettli/programming-guidelines