Skip to content

tmas0/dba_mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dba_mongodb

DBA scripts for MongoDB

Requirements

  • The pymongo module is required.

Usage

  • Show fragmentation:
	python fragmentation.py --host <your host> -s
    Total fragmentation = 337.1GiB

	python fragmentation.py --host <your host> -d thedatabase
	thedatabase =  78.0MiB
  • Compact:
	python fragmentation.py --host <your host> -d thedatabase -A compact

About

DBA scripts for MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages