Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2024 11:21:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 276931] ports-mgmt/pkg: writes big journal files
Message-ID:  <bug-276931-32340-OqPkDlkCIS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276931-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276931-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276931

--- Comment #5 from Ronald Klop <ronald@FreeBSD.org> ---
(In reply to Martin Birgmeier from comment #0)
I also found that vacuum does not shrink the db file much. But it does remo=
ve
the journal for me.

NB: Your files in /var/db/pkg are from Feb, 9th. That seems relatively old.
Just noticed that pkg nowadays stores the files in /var/db/pkg/repos/FreeBS=
D.

On my machine:
# ls -l /var/db/pkg/repos/FreeBSD/
total 60520
-rw-r--r--  1 root wheel 61919232 Jun 29 21:19 db
-rw-r--r--  1 root wheel        0 Jul  3 09:21 db-journal
-rw-r--r--  1 root wheel        2 Jul  3 09:21 groups.ucl
-rw-r--r--  1 root wheel        0 Jul 19 09:21 lock
-rw-r--r--  1 root wheel      172 Jun 29 21:19 meta

vs

# ls -l /var/db/pkg/repo*sqli*
-rw-r--r--  1 root wheel 61403136 Apr 26 04:10 /var/db/pkg/repo-FreeBSD.sql=
ite
-rw-r--r--  1 root wheel        0 Apr 28 18:21
/var/db/pkg/repo-FreeBSD.sqlite-journal

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276931-32340-OqPkDlkCIS>