From: raf <raf@raf.org>
To: pgsql-general@lists.postgresql.org
Subject: Re: Which is the setup with lowest resources you know Postgres is used in?
Date: Thu, 8 Oct 2020 08:14:40 +1100
Message-ID: <20201007211440.kmzqb4wmknv2ww3q@raf.org> (raw)
In-Reply-To: <CAAfz9KOoyS8a5s4z_yU=utahuhoWgF4r8RkBGrkQxvfO+_YpAA@mail.gmail.com>
References: <63892727.20201007095054@am-soft.de>
<CAAfz9KOoyS8a5s4z_yU=utahuhoWgF4r8RkBGrkQxvfO+_YpAA@mail.gmail.com>
On Wed, Oct 07, 2020 at 01:53:44PM +0300, Dmitry Igrishin <dmitigr@gmail.com> wrote:
> In many cases concurrency is not a problem and in fact SQLite may
> handle concurrent requests faster than Postgres. Since SQLite is
> server-less and access overhead is near to zero (compared to Postgres)
> each writer does its work quickly and no lock lasts for more than a
> few dozen milliseconds.
> On the other hand, Postgres is better in cases of really high concurrency.
Presumably, this is no longer a problem, but many years
ago (between 14 and 10 years ago) I was using sqlite
for a low traffic website (probably no more than 40
users at a time), and the database became corrupted so
often that I had had to automate rebuilding it from the
latest backup and my own sql logs. I was very silly.
Switching to postgres was the real solution.
cheers,
raf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: raf@raf.org
Subject: Re: Which is the setup with lowest resources you know Postgres is used in?
In-Reply-To: <20201007211440.kmzqb4wmknv2ww3q@raf.org>
References: <63892727.20201007095054@am-soft.de> <CAAfz9KOoyS8a5s4z_yU=utahuhoWgF4r8RkBGrkQxvfO+_YpAA@mail.gmail.com> <20201007211440.kmzqb4wmknv2ww3q@raf.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox