Get collection size for data and indexesĭb.storageSize() // Total size of document stored in the collectionĭb.totalSize() // Total size in bytes for both collection data and indexesĭb. and related umber of operations performed Latency statistics for read, writes operations including average time taken for reads, writes Implicit session: session ) // Exclude field1 Once your MongoDB client successfully connects to the MongoDB server, then you will find below output along with other output:Ĭonnecting to: mongodb://127.0.0.1:27017/?compressors=disabled
0 Comments
Leave a Reply. |