Shashank's Blog

Skip to content
  • General
  • Programming Language
    • Python
  • Database
    • SQL
    • MySQL
    • Postgresql
  • Web Framework
    • Django
  • Linux/Unix
    • Linux Commands
Search

collection size in mongodb

collection size in mongodb

July 30, 2017 / Shashank vivek / Leave a comment

Lets say i have a collection named testsize, using below command will give me > db.testsize.totalSize() 200 total size in bytes of the data in the collection plus the size of every indexes on the collection. For more information read official mongodb doc here.  

Translate

Recent Posts

  • Bose NC 700 HP Review – Noise cancellation headphone. July 11, 2022
  • Using Python to execute MySQL Insert and Update queries July 11, 2022
  • Setup Oracle in Ubuntu 20.04 July 5, 2022
  • Create a folder in Python of Current date format June 26, 2022
  • Dump only Data in PostgreSQL table backup April 6, 2020

RSS Feed

  • RSS - Posts

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
  • Follow Following
    • Shashank's Blog
    • Already have a WordPress.com account? Log in now.
    • Shashank's Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy