[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
Óscar Fuentes |
Subject: |
Re: sqlite3 |
Date: |
Tue, 14 Dec 2021 10:57:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> As for the sqlite part of this: My initial benchmarking of this was
> wrong. I thought sqlite3 was going to be a real advantage for this
> thing, since I'd benchmarked excellent performance (more than 50K
> updates per second, for instance). But that's only when not committing
> after every transaction, which we want to do here, really.
>
> But it turns out that sqlite3 is actually slower
Surprise! :-)
> for this particular use
> case than just writing the data to a file (i.e., using the file system
> as the database; one file per value). So multisession.el now offers two
> backends (`files' and `sqlite'), and defaults to `files'.
I'm pretty sure SQlite is providing stronger persistence guarantees than
the file system.
For persisting data to disk, you either have a fast db or a robust db.
Not both.
OTOH, the "one file per value" part above sounds somewhat scary :-)
- Re: sqlite3, (continued)
- Re: sqlite3, Howard Melman, 2021/12/12
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/12
- Re: sqlite3, Philip Kaludercic, 2021/12/12
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/12
- Re: sqlite3, Qiantan Hong, 2021/12/12
- Re: sqlite3, Teemu Likonen, 2021/12/12
- Re: sqlite3, Qiantan Hong, 2021/12/12
Re: sqlite3, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3,
Óscar Fuentes <=
- Re: sqlite3, Óscar Fuentes, 2021/12/14
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3 usage for multisession variable storage, Robin Tarsiger, 2021/12/14
- Re: sqlite3 usage for multisession variable storage, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3 usage for multisession variable storage, Robin Tarsiger, 2021/12/14
- Re: sqlite3 usage for multisession variable storage, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3 usage for multisession variable storage, Eli Zaretskii, 2021/12/15
- Re: sqlite3 usage for multisession variable storage, Lars Ingebrigtsen, 2021/12/15
Re: sqlite3, Qiantan Hong, 2021/12/14