Red Hat Bugzilla – Bug 1302316
rpm database access slow as hell
Last modified: 2016-02-19 03:29:33 EST
This seems to be a reinvention of this Bug:
Description of problem:
Systeminfo: 4x XEON 1230v3 10 GB ram and SSD drives and next to no io at that moment :
[root]# time rpm -qa >/dev/null
We use a software to determin which version of the kernel and other services are installed, to give the server owner an information. This problem slows down this simple task, which takes seconds normally.
We have 1061 packages installed.
Interesstingly, it does not always take so long. From time to time, it behaves normally, but in the last days it was extrem anoying.
Version-Release number of selected component (if applicable):
How reproducible: 85%
my fault, i just opened too much bugs for my fedora 23 desktop system ;)
seem to be fixed with : rpm -v --rebuilddb
This is probably to some issues with bdb5. As we are going to move a way from bdb in the future and bdb5 is outdated we are not changing anything there.
Yes, rpm -v --rebuilddb recreates the db and should solve the problem by creating fresh structures that have not yet have been fragmented.