Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- django-debug-toolbar
- MongoDB
- Python
- AWS
- 툴바안뜸
- list
- Spark
- AWSKRUG
- ubuntu
- ai assistant
- debug_toolbar
- tgw
- json
- AI
- Transit Gateway
- amazon q
- devops
- coding with ai
- git
- SCALA APP
- debug toolbar
- pyspark
- nosql
- mcponaws
- Amazon
- Eclipse
- django
- VPC
Archives
- Today
- Total
목록nosql (1)
STACKBASE
mongodb 사용법
1. 'root' 권한 유저 생성 # admin 데이터베이스 선택 use admin db.createUser({user:'root', pwd:'password', roles:['root'] 2. mongodb 로그인 mongo -u 'username' -p 'password123' --authenticationDatase 'admin' 3. DB/Collection 생성 use createdatabse # 데이터베이스 확인 show dbs # collection 생성 db.createCollection("collectionName") # collection 확인 show collection db.collection_name.stats() # collection capped 설정하여 collection 생..
카테고리 없음
2021. 10. 11. 21:17