본문 바로가기 메뉴 바로가기

데브포유

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

데브포유

검색하기 폼
  • ※ 데브포유 둘러보기 (1242)
    • Dev4u Life (687)
      • 일상 (210)
      • 여행 (25)
      • 투자 (6)
      • Generative AI (11)
    • Database (342)
      • ClickHouse (5)
      • CockroachDB (19)
      • MariaDB (14)
      • mongoDB (63)
      • Oracle (146)
      • PostgreSQL(EDB) (3)
      • Presto (14)
      • SAP IQ (Sybase) (16)
      • yugabyteDB (7)
      • ETC (55)
    • Dev4u S/W (11)
      • Android App (3)
      • iPhone App (1)
      • WASMonitor (3)
      • ZtermManager (1)
    • Developer (198)
      • Android (7)
      • C & C++ (12)
      • Data Mining (4)
      • JFreeChart (4)
      • iPhone (4)
      • Java, Kotlin (35)
      • Node.js (2)
      • Python (15)
      • Rust (8)
      • Spark (10)
      • Unix Shell (12)
      • Util (31)
      • Web (16)
      • Weka (4)
      • ETC (34)
    • === E.N.D === (0)
  • 방명록

전체 글 (1243)
[MongoDB] Update Operators

The following modifiers are available for use in update operations; e.g. in db.collection.update() and db.collection.findAndModify().Specify the operator expression in a document of the form:{ : { : , ... }, : { : , ... }, ... } NOTEFor details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.Update OperatorsFieldsNameDescription$inc..

Database/mongoDB 2017. 3. 21. 23:16
[MongoDB] Query Selector & Operator

Query SelectorsComparisonFor comparison of different BSON type values, see the specified BSON comparison order.NameDescription$eqMatches values that are equal to a specified value.$gtMatches values that are greater than a specified value.$gteMatches values that are greater than or equal to a specified value.$ltMatches values that are less than a specified value.$lteMatches values that are less t..

Database/mongoDB 2017. 3. 21. 23:13
[MongoDB] SQL vs Aggregation Framework

SQL Terms, Functions, and ConceptsMongoDB Aggregation OperatorsWHERE$matchGROUP BY$groupHAVING$matchSELECT$projectORDER BY$sortLIMIT$limitSUM()$sumCOUNT()$sumjoin$lookupNew in version 3.2.ExamplesThe following table presents a quick reference of SQL aggregation statements and the corresponding MongoDB statements. The examples in the table assume the following conditions:The SQL examples assume t..

Database/mongoDB 2017. 3. 21. 23:10
MongoDB 교육을 받으며..

2~3년 전에 몽고디비를 회사에서 쓸뻔해서 공부해 보고자 책을 여러권 샀었다. 지금보니 너무 많이 ㅠㅠ "몽고디비 IN ACTION", "몽고디비 완벽가이드", "몽고디비 활용가이드", "NoSQL & MongoDB" ... 책을 잔쯕 사놓고 회사에서 사용을 하지 않으니 금새 내 기억에서 사라졌다는... 이번에 기회가 되어서 몽고디비 교육을 받고 있는데 , 음~~ 대박이다. 7년전 DW용 DBMS인 "Sybase IQ"를 처음 만져본 느낌이랄까. 몽고디비가 2017년 정도에 나왔으니 이제 10살쯤인 제품인데, 예전 보다 현재 3.4 버전에 많은 기능이 추가되어서 잘 사용하면 쓸모가 무지 많을 것 같다. 당장 DW용 DBMS로 사용해도 손색이 없을 것 같다는 느낌을 받았다. 그리고 Scale-out이 너무..

Dev4u Life 2017. 3. 21. 22:59
[MongoDB] Aggregate FrameWork

# Aggregation FrameWrok db.employees.find().pretty(); db.employees.aggregate({$match : { $and: [{deptno: 10},{sal : {$gte: 500, $lte:3000}}]}},{$match : { $or: [{job:"CLERK"},{job:"SALESMAN"}]}},{$project :{ _id : 0, empno : 1, ename : {$toLower :"$ename"}, substr_nm : {$substr: ["$ename",1,2]} }}).pretty() >> comm필드를 서브다큐먼트로 저장db.employees.aggregate({$match : {deptno:30}},{$project: {_id : 0,em..

Database/mongoDB 2017. 3. 21. 17:06
[MongoDB] 데이터타입 예제

# 데이터 타입# objectid는 24자리, 사용자가 직접 지정하는 것은 권장하지 않음. p = { "_id" : ObjectId("201703210012345678901201"), "v_date" : ISODate("2017-03-21T15:00:00"),"v_bin" : BinData(0,"2222"),"v_char" : "moonsun","v_num" : 1234567,"v_arr" : ["www.naver.com","www.google.com"],"v_bignum" : NumberLong(12345)} db.data_att.save(p)db.data_att.find() - EOF -

Database/mongoDB 2017. 3. 21. 15:21
[MongoDB] 데이터 입력/수정/삭제

# 데이터 입력/수정/삭제 > use tset> m={ ename : "smith"}> db.things.save(m)> db.things.insert({empno:1101, ename:"king"})> db.things.find()> for(var n=1103; n db.things.find({empno:1101})> db.things.update({empno:1101},{$set:{ename:"test"}})> db.things.remove({})> db.things.drop() -EOF -

Database/mongoDB 2017. 3. 21. 15:06
[MongoDB] 처음 시작하기...

>>실행위치시스템환경변수에 추가C:\Program Files\MongoDB\Server\3.2\bin >>데이터파일 위치C:\MONGODB\TEST >> 서버 32bit 실행하기.. (journal 과 스토리지 옵션은 32bit만 필요)C:\Program Files\MongoDB\Server\3.2\bin>mongod --journal --dbpath C:\MONGODB\TEST --storageEngine mmapv1 >>클라이언트 접속mongo localhost:27017 >>db보기show dbs >>db 변경use test >>db 종료use admindb.shutdownSerer() >> 로그아웃db.logout() >> collection 생성db.createCollection("emp", {..

Database/mongoDB 2017. 3. 21. 14:34
이전 1 ··· 58 59 60 61 62 63 64 ··· 156 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • ORACLE BASE
  • Oracle Tutorial
  • The Logical Optimizer
  • 데이터베이스-모델링(예제)
  • 한국 러스트 사용자 그룹
  • Ruste By Exsample
  • SQL튜닝
  • 나이파이 커스텀 프로세서
TAG
  • 화분벌레
  • 별잉 빛나는 밤
  • 매직 트랙패드2
  • 카카오 에드
  • Sybase IQ
  • 별이 빚나는 밤
  • weka
  • 유가바이트디비
  • Life Chair
  • GKRS
  • VARIDESK
  • 고체 향수
  • node.js
  • 톡토기
  • 르세라핌
  • 남설 팔찌
  • 배당급
  • 빈센트 반 고흐
  • 증권정보포털
  • 홈 오피스
  • 코라나 19
  • 오미크론
  • 루미큐브 종류
  • 솔리드 쿨론
  • 파나소닉 비데 DL-EH10KWS
  • Pixel Pals
  • JMW 헤어드라이기기
  • yugabyteDB
  • 브리다 정수기
  • 로니카 BCS
more
«   2025/12   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바