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
- json
- devops
- git
- Spark
- MongoDB
- pyspark
- mcponaws
- Eclipse
- VPC
- list
- amazon q
- Python
- AWS
- ai assistant
- debug_toolbar
- debug toolbar
- nosql
- AI
- django
- SCALA APP
- Transit Gateway
- django-debug-toolbar
- tgw
- AWSKRUG
- coding with ai
- Amazon
- 툴바안뜸
- ubuntu
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