"Reading Database" takes too long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
dpkg (Debian) |
New
|
Unknown
|
Bug Description
Binary package hint: apt
I know that the step Reading Database depends on the number of packages i have installed. But now it is taking so long that it is unbereable. For me to install a small program, it takes more time reading database than anything else.
I have two sugestions to speed up that process, i dont know if they can help, but here they are:
* Cache the database information in some kind of file. Just like the 'updatedb' and 'locate'.
* multithread the aplication to read the database from the start of the process, so that it downloads and reads at the same time. clearly these two things are independent and this would probably save some time.
And please can someone inform me why is it so slow? does it check your hardrive on every single package?
How many packages a clean ubuntu has? mine has 229452 files and directories currently installed. (i have ubuntu-
thank you very much.
Using apt 0.7.20.2ubuntu6 for i386 compiled on Apr 17 2009 04:25:29
Ubuntu 9.04 Jaunty
tags: | added: apt |
Changed in dpkg (Debian): | |
status: | Unknown → New |
Changed in apt (Ubuntu): | |
status: | Confirmed → Fix Released |
I recently notices a significant slow down in the "reading database" operation after updating to Jaunty. This is most probably a similar issue, though not necessarily identical.