Bug 1680089
| Summary: | smaller rpmdb (in general but particularly for the more minimal UBI container) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Frantisek Kluknavsky <fkluknav> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.1 | CC: | fedoraproject, ffesti, mjenner, walters |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1669675 | Environment: | |
| Last Closed: | 2019-03-12 11:30:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1669675 | ||
|
Description
Frantisek Kluknavsky
2019-02-22 17:13:06 UTC
Hi, please, as stated in the original request, is it possible to make rpm database smaller, while keeping rpm and microdnf (mostly) working? If you have control over what/dnf rpm instances are running you can delete these /var/lib/rpm/__db.* files after all instances have finished. Oh, on thinking a bit harder: You can delete everything except the Packages file. RPM rebuilds the other files if they are missing. In theory rpm could try harder to minimize the rpmdb. One way would be compressing the headers in the Packages file. But this is out of scope here. You can try to put it on a compressed file system, though. Closing. |