Trong DB sample_analytics, chọn 2 collection bất kỳ. Với mỗi collection, lấy totalIndexSize() và stats().storageSize. So sánh tỷ lệ dung lượng index / dung lượng lưu trữ và nhận xét collection nào phụ thuộc index nhiều hơn.
sample_analytics
totalIndexSize()
stats().storageSize
Đang tải editor...