将表中历史数据给删除了 只保留了近一个季度的数据
删除前
"count" : 1379345, # 总数"size" : 3823247286, # 大小"nindexes" : 4,"totalIndexSize" : 86913024, # 索引大小"indexSizes" : { "_id_" : 12873728, "created_at_1" : 17534976, "storage_time_1" : 7397376, "guid_1" : 49106944 },
删除后
"count" : 453978,"size" : 2478837459,"nindexes" : 4,"totalIndexSize" : 89522176,"indexSizes" : { "_id_" : 12873728, "created_at_1" : 18096128, "storage_time_1" : 7397376, "guid_1" : 51154944 },
删除前 VS 删除后
count: 1379345 VS 453978 diff: 925,367
size: 3823247286 VS 2478837459 diff: 1,344,409,827
totalIndexSize: 86913024 VS 89522176 diff: -2,609,152
为什么删除了这么多数据后索引大小反而变大了呢?