Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRDvj-00028N-M6 for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 12:24:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRDvi-0005Sb-LE for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 12:24:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRDvi-0005ST-Dz for pgsql-general@lists.postgresql.org; Sat, 10 Oct 2020 12:24:54 +0000 Received: from mail.am-soft.de ([83.218.36.120]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRDve-0003O9-Na for pgsql-general@lists.postgresql.org; Sat, 10 Oct 2020 12:24:51 +0000 Received: from mail.am-soft.de (localhost [127.0.0.1]) by mail.am-soft.de (Postfix) with ESMTP id 437DE2FCF97B for ; Sat, 10 Oct 2020 14:24:49 +0200 (CEST) Received: from tschoening-nb.fritz.box (unknown [77.78.163.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.am-soft.de (Postfix) with ESMTPSA id 25E072FCF979 for ; Sat, 10 Oct 2020 14:24:48 +0200 (CEST) Date: Sat, 10 Oct 2020 14:24:47 +0200 From: =?iso-8859-1?Q?Thorsten_Sch=F6ning?= Organization: AM-SoFT GmbH IT-Systeme Message-ID: <291519926.20201010142447@am-soft.de> To: pgsql-general@lists.postgresql.org Subject: Re: What's your experience with using Postgres in IoT-contexts? In-Reply-To: <20201010100054.GD25239@hjp.at> References: <544670224.20201005112020@am-soft.de> <20201010085625.GB25239@hjp.at> <1846018396.20201010112242@am-soft.de> <20201010100054.GD25239@hjp.at> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-AV-Checked: ClamAV using ClamSMTP List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Guten Tag Peter J. Holzer, am Samstag, 10. Oktober 2020 um 12:00 schrieben Sie: > Not necessarily. You would have to allocate the appropriate number of > inodes, of course. Using one file per telegram wastes some space, but > for a few thousand telegrams that may not matter[1]. Indeed, with ext4 you > could make the inodes large enough that all or most of your telegrams > fit inside the inode and don't need an extra data block at all. Thanks for suggesting what I had noted at least worth discussing as well already and what "other interested parties" said to be a really stupid idea. Doesn't seem that stupid to us two obviously, especially if ext4 is already used anyway. ;-) But it's really not only about a simple queue: I want to have long term storage and access to individual telegrams according different criteria like individual devices, when received etc. Mit freundlichen Gr=FC=DFen, Thorsten Sch=F6ning --=20 Thorsten Sch=F6ning E-Mail: Thorsten.Schoening@AM-SoFT.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow