-
MongoDB 공부 시작~!공부/MongoDB 2022. 1. 2. 02:27
[ MongoDB 구조 ]
Database - Collections - Documents (JSON(BSON)형식)
Documents를 JSON 형식으로 작성하면 MongoDB server가 BSON으로 변환하여 저장함
Collection은 SQL 기반의 데이터베이스와 달리 schemaless 이므로 flexibility👍
[ MongoDB 설치 ]
https://www.mongodb.com/ 에서 Community Server 설치
나는 윈도우 유저여서 윈도우 버전 설치~!
설치 완료!
MongoDB Server가 자동으로 실행되는 것을 확인함
이제 MongoDB client를 실행시켜보자
MongoDB가 설치된 폴더의 bin 폴더에서 mongo.exe를 실행시키면 된다.
편의성을 위해 MongoDB shell도 설치해보자.
https://www.mongodb.com/products/shell
cmd 창에서 mongosh 명령어를 입력해서 MongoDB shell을 실행해보자
mongoimport tool을 사용하기 위해서 MongoDB Database Tools도 설치하자
https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools
'공부 > MongoDB' 카테고리의 다른 글
[MongoDB] find( ) (0) 2022.01.09 [MongoDB] CRUD Operations (0) 2022.01.09 [MongoDB] document의 _id를 지정해서 데이터 삽입하기 (0) 2022.01.03 [MongoDB] MongoDB 서버 실행 (0) 2022.01.02 [MongoDB] 데이터 삽입 및 조회 (0) 2022.01.02