Comments on: How to Reclaim Disk Space in Percona Server for MongoDB https://www.percona.com/blog/how-to-reclaim-disk-space-in-percona-server-for-mongodb/ Tue, 20 Feb 2024 14:53:17 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: hcymysql https://www.percona.com/blog/how-to-reclaim-disk-space-in-percona-server-for-mongodb/#comment-10974272 Tue, 20 Feb 2024 14:53:17 +0000 https://www.percona.com/blog/?p=81961#comment-10974272 m5_rs1:PRIMARY> db.serverStatus().version
5.0.23-20
m5_rs1:PRIMARY> db.version()
5.0.23-20
m5_rs1:PRIMARY> db.runCommand({compact: “t1” })
{
“ok” : 0,
“errmsg” : “will not run compact on an active replica set primary as this
 is a slow blocking operation. use force:true to force”, “$clusterTime” : {
“clusterTime” : Timestamp(1708440622, 1),
“signature” : {
“hash” : BinData(0,”SHVL8Gc3Cic+mKsY65WnE/k8YDg=”),
“keyId” : NumberLong(“7327091310781792261”)
}
},
“operationTime” : Timestamp(1708440622, 1)
}

]]>
By: hcymysql https://www.percona.com/blog/how-to-reclaim-disk-space-in-percona-server-for-mongodb/#comment-10974271 Tue, 20 Feb 2024 14:51:28 +0000 https://www.percona.com/blog/?p=81961#comment-10974271 m5_rs1:PRIMARY> db.serverStatus().version
5.0.23-20
m5_rs1:PRIMARY> db.version()
5.0.23-20
m5_rs1:PRIMARY> db.runCommand({compact: “t1” })
{
“ok” : 0,
“errmsg” : “will not run compact on an active replica set primary as this
 is a slow blocking operation. use force:true to force”, “$clusterTime” : {
“clusterTime” : Timestamp(1708440622, 1),
“signature” : {
“hash” : BinData(0,”SHVL8Gc3Cic+mKsY65WnE/k8YDg=”),
“keyId” : NumberLong(“7327091310781792261”)
}
},
“operationTime” : Timestamp(1708440622, 1)
}

]]>
By: Dharmendra https://www.percona.com/blog/how-to-reclaim-disk-space-in-percona-server-for-mongodb/#comment-10973694 Mon, 01 Aug 2022 17:01:13 +0000 https://www.percona.com/blog/?p=81961#comment-10973694 I would like to appreciate the blog post written in a very compactful manner to explain the compact behaviour.

It would have been better if you have mentioned how much time it took to successfully perform compact on this 96TB of data?

Also have you seen any replication lag between the nodes in specific shard?

]]>