How to shrink the ceilometer mongodb DB in case it is fragmented?
Issue
How to shrink the mongodb ceilometer DB in case it is fragmented?
[root@ctrl0 ~]# du -hs /var/lib/mongodb/
49G /var/lib/mongodb/
[root@ctrl1 ~]# du -hs /var/lib/mongodb/
56G /var/lib/mongodb/
[root@ctrl2 ~]# du -hs /var/lib/mongodb/
68G /var/lib/mongodb/
Environment
- Red Hat OpenStack 6.0
- Red Hat OpenStack 7.0
- Red Hat OpenStack 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.