Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#5328 - pacman+GDBM patch for review
Attached to Project:
Pacman
Opened by Martin Devera (devik) - Thursday, 31 August 2006, 22:43 GMT
Last edited by Dan McGee (toofishes) - Sunday, 17 February 2008, 01:31 GMT
Opened by Martin Devera (devik) - Thursday, 31 August 2006, 22:43 GMT
Last edited by Dan McGee (toofishes) - Sunday, 17 February 2008, 01:31 GMT
|
DetailsHi,
after fighting with pacman to take minutes on our servers (and making it yet worse) I decided to spend evening and add GDBM support. Not it can work with both. Database shrank from 46MB to 1.5M and times from minutes to a few seconds. You can select format by UseGDBM flag in pacman.conf. Just now it works for me, -y op loads tar directly into DB (!) so no fragmentation of fs occurs. I store whole text fragments into db to be maximaly compatible. The only thing is to handle install script - it is not detected as I filled bad db->path.. well it is late here ;-) Makefile changes are not in diff just now but they are easy. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 17 February 2008, 01:31 GMT
Reason for closing: Won't implement
Additional comments about closing: Too old to implement. If anyone wants to take a stab at it, then go right ahead, but we need to refactor libalpm a bit to accept multiple backends.
Sunday, 17 February 2008, 01:31 GMT
Reason for closing: Won't implement
Additional comments about closing: Too old to implement. If anyone wants to take a stab at it, then go right ahead, but we need to refactor libalpm a bit to accept multiple backends.
pacman1.diff
But I think that this will be only implemented in pacman 3.1. :( But then. I would like to see db based on sqlite.
I'll try to port it to new pacman code one I find some time.