<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>WiredTiger on nanmu42</title><link>https://nanmu.me/en/tags/wiredtiger/</link><description>Recent content in WiredTiger on nanmu42</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>i@nanmu.me (nanmu42)</managingEditor><webMaster>i@nanmu.me (nanmu42)</webMaster><copyright>Copyright &amp;copy;{year} LI Zhennan</copyright><lastBuildDate>Sun, 31 May 2020 10:48:05 +0800</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><sy:updateFrequency>weekly</sy:updateFrequency><atom:link href="https://nanmu.me/en/tags/wiredtiger/index.xml" rel="self" type="application/rss+xml"/><item><title>A Practical Guide to Reclaim Disk Space from MongoDB</title><link>https://nanmu.me/en/posts/2020/a-practical-guide-to-reclaim-disk-space-from-mongo-db/</link><pubDate>Sun, 31 May 2020 10:48:05 +0800</pubDate><author>i@nanmu.me (nanmu42)</author><atom:modified>Tue, 06 Aug 2024 10:39:07 +0800</atom:modified><guid>https://nanmu.me/en/posts/2020/a-practical-guide-to-reclaim-disk-space-from-mongo-db/</guid><description>Dedicated to Ops who are weighed down with worry about high-disk usage of MongoDB.
This post applies to MongoDB 3.2 or better and all following operations run on Mongo Shell. You need to confirm your Mongo&amp;rsquo;s engine is WiredTiger:
1 2 db.serverStatus().storageEngine // expect output: { &amp;#34;name&amp;#34; : &amp;#34;wiredTiger&amp;#34; } Where to start Find the main concern, use show dbs to locate the biggest databases, and then locate the biggest collections after use your_biggest_db:</description><dc:creator>nanmu42</dc:creator><category>MongoDB</category><category>WiredTiger</category><category>Notes and Discussions</category></item></channel></rss>