R&D/database 10

MongoDB 4.4 서비스 종료(2024-02-29)

가장 많은 개발자들이 사용하는 NoSQL Database 중에 하나가 MongoDB 일 것이다. 현재 가장 최신 버전은 7.0 인데 아직도 4.x를 사용하는 사람들이 많이 있을 것 같다. MongoDB Release History 버전 Release Year 7.0 2023~ 6.0 2022~ 5.0 2021~ 4.4 2022~ 4.2 2019~ 4.0 2018~ 2024년 2월 29일이 MongoDB 4.4 의 End Of Life (EOL) 이라고 합니다. 5.0으로의 업그레이드는 Application 의 변경은 필요 없다고 합니다. 주요 Feature Version 5.0 Stable API, designed to preserve application behavior through upgrades ..

R&D/database 2024.01.23

mysql datetime

MySQL 에서 datetime 이라는 data type 이 존재한다.형식은 YYYY-MM-DD HH:MM:SS MySQL stores TIMESTAMP in UTC value. However, MySQL stores the DATETIME value as is without timezone. Let’s see the following example.First, set the timezone of the current connection to +00:00.1SET time_zone = '+00:00'; GMT로 저장된 데이터를 Asia/Seoul로 변경해서 출력하고 싶을 때SELECT CONVERT_TZ(displaytime,'GMT','right/Asia/Seoul'); Where 절에서 시간을 변경해..

R&D/database 2018.10.06

Graph DB Neo4J

Graph DB정의 Cypher Query명령어 start 그래프에서 출발점 match create 노드 및 관계를 생성 delete 노드 및 관계, 속성을 제거 python driver Version >=3 이상을 권장한다.pip install py2neo Database 에 접속하기 from py2neo import Graphgraph = Graph(host="192.168.1.145", password="1234") 노드를 생성create (company {name:"MyCompany"}) return company; Reference주요 명령어 http://woner.tistory.com/25py2neo http://py2neo.org/v4/database.html

R&D/database 2018.04.08