-
-
Save jaimemin/ebc264f214e6025ed57e488632037a72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// local 데이터베이스 수정할 권한이 있는 ㄴ사용자를 사용 | |
// oplog 현재 크기 확인 | |
> use local | |
> db.oplog.rs.stats(1024*1024).maxSize | |
// 복제 셋 멤버의 oplog 크기 변경 | |
> db.adminCommand({replSetResizeOplog: 1, size: 16000}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment