db.printCollectionStats()db.collection.stats()메서드 주위에 래퍼를 제공합니다. 모든 collection에서 3개의 하이픈 문자로 구분된 통계를 반환합니다.참고
The
db.printCollectionStats()method run inmongoshdoes not return JSON. Usedb.printCollectionStats()for manual inspection, anddb.collection.stats()in scripts.
호환성
이 메서드는 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.
- MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
참고
This command is supported in all MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.
MongoDB Enterprise: MongoDB의 구독 기반 자체 관리 버전
MongoDB Community: MongoDB의 소스 사용 가능 무료 자체 관리 버전