Hi @kevinadi ,
Thank you for your response, please find below details to reproduce. Also if you can share any document or test that shows how these compression level worked, for our case it did nothing.
case 1:
- From MongoDB 4.2 we dump around 25 GB of data using mongodump.
- launch multiple mongod for 4.2, 5.0 (22, 10, 15, 6 – different compression level )
- restore the same data to all these versions to check what compression we are getting.
case2:
- we inserted bulk fresh dummy data in all these mongo, but found no difference in compresion.
- Sample document for this dummy data is:
{
"_id" : ObjectId("62cc6f86b504c0604570bf9e"),
"Traceid" : 1.0,
"BillNO" : "Trace1",
"CreatedDate" : ISODate("2020-08-27T21:04:35.967Z"),
"CustID" : 11.0,
"SystemType" : "Card",
"DisplayID" : "123",
"TraceNo" : "12231",
"ManyDeliveryGroupID" : "123AS45",
"traceSource" : "",
"AdminBy" : "admin",
"DeliveryNumber" : "121",
"OriginType" : "abcdefg",
"ProdInfo" : {
"Vol" : {
"Wt" : 55.555,
"Ut" : null
},
"Size" : {
"Wd" : null,
"Len" : null,
"Ht" : null,
"Ut" : null
}
},
"ReatInfo" : [
{
"Reat" : "Test",
"SellerAddress" : "Test,Test",
"ReatNo" : 8888.0,
"ReatBillN" : "5655656",
"ReatDate" : ISODate("2019-09-21T14:17:46.625Z"),
"BillPri" : 101.0,
"InvNo" : null,
"GainSrN" : "2455",
"ReatSrN" : "4554"
}
],
"SubSNo" : "12323",
"ProvideType" : "JJJ",
"Amount" : 45.0,
"TraceType" : "",
"CollectDetails" : {
"Addr" : [
{
"Type" : "Sec",
"Name" : "ABC",
"Address" : "123,XYZ",
"City" : "XYZ",
"State" : "AB"
}
],
"ConnectInfo" : [
{
"Cate" : "",
"Mob" : "1234567890"
}
],
"CollectDate" : null,
"CollectTime" : {
"Src" : null,
"Dest" : null
},
"IsCollected" : null,
"CollectCode" : "AB123",
"Long" : null,
"Lat" : null,
"Loc" : null
},
"TraceDelivery" : "",
"TraceParameter" : "",
"TeacePrice" : 146.0,
"MentionPrice" : 223.0,
"ItemPrice" : 8290.0,
"Comment" : "Valide Trace Data",
"TransactionType" : "Card",
"DisctinctID" : "",
"CollectType" : "Vendor",
"PCollectCode" : "12333",
"DestDetails" : {
"Addresses" : [
{
"Cate" : "PPP",
"Name" : "dsdwidm",
"Address" : "LMN",
"City" : "LMN",
"State" : "AB"
}
],
"ConnectInfo" : [
{
"Cate" : "",
"Mob" : "2234566078"
}
],
"Submit" : ISODate("2020-10-31T19:33:14.892Z"),
"SubTime" : {
"Src" : null,
"Dest" : null
},
"Long" : null,
"Lat" : null,
"Loc" : null
},
"RetnInfo" : {
"Addr" : [
{
"Cate" : "Sec",
"Name" : "tyty",
"Address" : "dfdfd",
"City" : "dfdf",
"State" : "AA"
}
],
"ConnectInfo" : [
{
"Cate" : "PPP",
"MoB" : "123456777"
}
]
},
"TraceRNo" : "",
"TraceDevCli" : "",
"TeaceGID" : "",
"TraceOAmt" : "",
"Cust" : ""
}