일일 배움을 위한 Today I Learned !
PaaS-Ta
PaaS-Ta에서 파일을 분산 저장해 봤습니다.
for문으로 데이터를 넣었을 때 여러 서버에 분산되어 저장됩니다.
2021.11.09 - [컴퓨터 공부/PaaS-Ta] - [PaaS-Ta] : MongoS 프로세스
[PaaS-Ta] : MongoS 프로세스
Mongos 프로세스 mongo --host localhost --port 50001 구축된 config 서버 중 하나의 서버에 접속하여 각 Config 서버를 Replica Sets로 클러스터링 합니다. rs.initiate( { _id : "rptconfig", configsvr : tr..
ohju.tistory.com
MongoDB
Sharding을 구축하고 Replica Sets을 했습니다.
2021.11.09 - [Data Base/NOSQL] - [NOSQL] : Sharding 구축
[NOSQL] : Sharding 구축
시스템 환경 mongod --shardsvr --dbpath c:\mongodb\shard1 --port 40001 --bind_ip localhost mongod --shardsvr --dbpath c:\mongodb\shard2 --port 40002 --bind_ip localhost mongod --shardsvr --dbpath c:..
ohju.tistory.com
2021.11.09 - [Data Base/NOSQL] - [NOSQL] : Replica Sets 환경 설정
[NOSQL] : Replica Sets 환경 설정
파일을 먼저 생성해 줍니다. mongod --dbpath c:\mongodb\disk1 --port 10001 --bind_ip localhost --replSet rptmongo --oplogSize 10 Primary Server 활성화 시켜줍니다. mongod --dbpath c:\mongodb\disk2 -..
ohju.tistory.com
'발전소 > [T.I.L] : Today I Learned' 카테고리의 다른 글
[T.I.L] : 17 (0) | 2021.11.11 |
---|---|
[T.I.L] : 16 (0) | 2021.11.10 |
[T.I.L] : 14 (0) | 2021.11.08 |
[T.I.L] : 13 (0) | 2021.11.08 |
[T.I.L] : 12 (0) | 2021.11.06 |
댓글