From: Christopher Baines <mail@cbaines.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Getting a copy of the Cuirass (berlin.guixsd.org) database
Date: Wed, 06 Mar 2019 19:08:43 +0000 [thread overview]
Message-ID: <877edbg6ro.fsf@cbaines.net> (raw)
In-Reply-To: <87fts0jh6c.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Danny,
>
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
>> On Wed, 13 Feb 2019 22:00:06 +0100
>> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:
>>
>>> I'm not sure if anybody else responded to you, but I have a database
>>> around. I got it last year from Clement Lassieur. It is 1.6 GB in size,
>>> I made a tar.xz an that is only 86 MB! I wonder if there is anything
>>> wrong or it is just thaaat compressible!
>>
>> I think we didn't set up the infrastructure to VACUUM the database.
>>
>> The default in sqlite is not to VACUUM ever, so we probably should
>> either stop the entire thing and vacuum it once a week or we could
>> set up autovacuum to incremental or full (the latter would vacuum
>> at each commit) if we ever ran out of space.
>
> What would it take to enable autovacuum? Sounds like something we
> should do. :-)
I think vacuum can result in the rowid values changing [1], and in at
least one place (the build ids), the rowid values are exposed to users.
1: https://www.sqlite.org/lang_createtable.html#rowid
I think by creating a explicit column for the id, it's possible to avoid
them changing during the vacuum, so it might be good to do that before
vacuuming.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
prev parent reply other threads:[~2019-03-06 19:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 13:21 Getting a copy of the Cuirass (berlin.guixsd.org) database Christopher Baines
2019-02-13 21:00 ` Björn Höfling
2019-02-14 0:07 ` Christopher Baines
2019-02-21 20:30 ` Danny Milosavljevic
2019-02-22 16:54 ` Björn Höfling
2019-03-06 12:55 ` Ludovic Courtès
2019-03-06 19:08 ` Christopher Baines [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877edbg6ro.fsf@cbaines.net \
--to=mail@cbaines.net \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.