Big size of nodebb.sessions in MongoDB
-
Hi. I have a little problem with MongoDB storage - my collection named "nodebb.sessions" grows too fast after only few month of live working
{
"name": "nodebb.sessions",
"count": 2821032,
"size": 687468454,
"avgObjSize": 243,
"storageSize": 304398336,
"totalIndexSize": 215842816,
"indexSizes": {
"id": 188940288,
"expires_1": 26902528
}
}
can I truncate it? or something else happened with forum? or its normal& thanks in advise. -
Thanks. here is output
.......
{
"_id" : "zudIEAcDN-TdO1EoY8ezdf_TEd6btx3a",
"session" : "{"cookie":{"originalMaxAge":1209600000,"expires":"2017-11-18T15:29:02.913Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-18T15:29:02.913Z")
}
{
"_id" : "yoLR3qVOSjfv3_lEjza0FKKcgagQJ24P",
"session" : "{"cookie":{"originalMaxAge":1209600000,"expires":"2017-11-23T06:12:31.671Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-23T06:12:31.671Z")
}
{
"_id" : "15-HQ7qqcI6mlu2I7w569qtteZm2fkIm",
"session" : "{"cookie":{"originalMaxAge":1209599999,"expires":"2017-11-30T12:25:04.445Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-30T12:25:04.445Z")
}
.......
what do you think - is everything normal?