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 1kRAg9-0002Ca-28 for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 08:56:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRAg6-0000cV-NW for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 08:56:34 +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 1kRAg6-0000cO-G3 for pgsql-general@lists.postgresql.org; Sat, 10 Oct 2020 08:56:34 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRAfy-0001gg-VW for pgsql-general@lists.postgresql.org; Sat, 10 Oct 2020 08:56:33 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id ED26B3AEF; Sat, 10 Oct 2020 10:56:25 +0200 (CEST) Date: Sat, 10 Oct 2020 10:56:25 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: What's your experience with using Postgres in IoT-contexts? Message-ID: <20201010085625.GB25239@hjp.at> References: <544670224.20201005112020@am-soft.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline In-Reply-To: <544670224.20201005112020@am-soft.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --SkvwRMAIpAhPCcCJ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-10-05 11:20:20 +0200, Thorsten Sch=F6ning wrote: > Does anyone actually use Postgres with ARM based low performance > hardware and only 256 MiB of RAM? [...] > Background: >=20 > I have some server side backend exposing web services and storing data > in Postgres. The stored data are telegrams from smart metering > devices, lots of them, mostly small. The provided web services take > care of generating reports etc. based on those telegrams. [...] > In the easiest case, the newly created device would only need to store > some hundreds of telegrams per day in some known time window and > forward those telegrams afterwards. In most cases it would be those of > the same day only, but might be those of the last X few days as well > in case of problems. In the long term, though, that device should be > able to store telegrams for years and might generate reports on it's > own as well. Do you plan to move some of that reporting to the IoT devices? (Maybe equip them with a display with a dashboard, or something like that) Because for simply storing a few hundred records which are written and read sequentially, an RDBMS of any kind seems overkill. I'd simply write them to files. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --SkvwRMAIpAhPCcCJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl+BdzQACgkQ8g5IURL+ KF1tKA/9EIQIfHc3MgsSAKmKRXJlMg5aJiBKL1fV0H2kBp8lvRkgyiTVMYypflAD jGzby6pBp1Zp8dsQXg1bdkEsbaKrm36oIvpDRUBVwttiMp9PODP7INVdeMUuP9rg V+9qlrq2fllsFAgNoLLd5V0nOln/SIwrHSxJlXYS6ii2W95maOhLdXbKYILsxa/w Mr++tyQUcV+y46bh9DBAAEpRUsGXYyYZAUaCJ0TxNh0amLnq2GSPqbT1j4F08SaA 19vdVmvn8pKhpBK63QQE3O/0vX0aWSZ39JSFQa+N7qnF9HPkQN/E+0LLhMKyW7rn PURQFoqFyxpKBl6+lMzDVOXcNVwBW2Q9qhj/2W1GlsveGQ7RJdhlvPaWBdjN23mj 64zbAs9PjqZHUjo0KWnGixfvvLQPFph5jvP/JczSHw2Wof93YJ+GsloX9hGWQ3+T L94VyEy+RR+pYwOBIacPYwICzL/9ViIyoSeKzlTvqGmkys34tNGh48FVvUfYzosu ot3lTVV5WmgHJEtvQ1wEL1LYwiruEPXHxc986v40oPx7JSJaVcqfE30iugI2JESU ae9fKX8r0SPNX/VubsmSuRCbKgYisk7VtrQwbKeLs/ZCl/WE54iutVx7XlT9u4ml dbCXKzT3edR80alTI9UJyzDNaDa2qMPLU79q4xO8gbj8tYcQybo= =VuLx -----END PGP SIGNATURE----- --SkvwRMAIpAhPCcCJ--