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

데브포유

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

데브포유

검색하기 폼
  • ※ 데브포유 둘러보기 (1238)
    • Dev4u Life (683)
      • 일상 (206)
      • 여행 (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)
  • 방명록

Database (342)
[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] 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
2017년 DB-ENGINE 순위

RDMS가 아직은 주류이지만, NoSQL DB의 성장도 눈여겨 볼만 합니다. MongoDB와 Cassandra가 주도를 하고 있네요. MongoDB는 Document Store 형식이고 Cassandra는 Wide Column Store 방식이라 둘다 각각의 Database Model에서 선두로 봐야 할 것 같습니다. 출처: http://db-engines.com/en/ranking

Database/ETC 2017. 3. 21. 12:20
[eXERD] xscript에서 정규표현식 사용하기

* 엔티티 물리 속성명이 "_CD"나 "_DIV"로 끝나면 파일로 저장하는 예제 var file = promptSaveFile();var out = file.getOutputStream(); select(function(it) { return it.get("type") == "column"}).each(function(it) { var matcher = compilePattern(".*(_CD$|_DIV$)").matcher(it.get("physical-name")); if (matcher.matched()) {out.printf("%s - %s \n", it.get("table").get("physical-name"), it.get("physical-name"));} }); out.close()fil..

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

티스토리툴바