프로그래밍/DB
-
MySQL 데이터베이스 스키마를 쉽게 정리해서 전달하는 방법프로그래밍/DB 2025. 4. 27. 12:40
mySQL을 사용하다 보면, 데이터베이스 스키마를 다른 사람에게 전달해야 하는 상황이 종종 생긴다.예를 들어 신규 개발자가 합류했을 때, 외주 작업을 맡겼을 때, 또는 단순히 데이터베이스 구조를 백업하거나 문서화할 필요가 있을 때다.나도 최근에 이걸 정리하면서, 효율적으로 스키마를 정리해서 전달할 수 있는 방법을 몇 가지 정리해봤다.특히 자주 쓰게 되는 방법은 크게 두 가지다.(1) 스키마 SQL 파일로 추출하는 방법, 그리고 (2) 테이블 구조를 요약해서 문서로 정리하는 방법이다. 1. mysqldump로 스키마만 추출하기가장 간단한 방법은 MySQL이 기본으로 제공하는 mysqldump 명령어를 이용하는 것이다.mysqldump에 --no-data 옵션을 주면, 데이터 없이 테이블 구조만 뽑아낼 수..
-
윈도우에서 postgreSQL 시작하기 - pgvector 윈도우 설치하기프로그래밍/DB 2024. 8. 20. 19:30
윈도우에서 pgvector 사용하기 윈도우에서 pgvector를 설치하고 사용하는 과정을 기록해보겠습니다. https://github.com/pgvector/pgvector?tab=readme-ov-file GitHub - pgvector/pgvector: Open-source vector similarity search for PostgresOpen-source vector similarity search for Postgres. Contribute to pgvector/pgvector development by creating an account on GitHub.github.com https://learn.microsoft.com/en-us/cpp/build/building-on-the..
-
윈도우에서 postgresql 시작하기 - postgresql 설치 및 pgAdmin 사용방법프로그래밍/DB 2024. 8. 19. 14:48
postgreSQL 다운로드 https://www.postgresql.org/download/windows/ PostgreSQL: Windows installersWindows installers Interactive installer by EDB Download the installer certified by EDB for all supported PostgreSQL versions. Note! This installer is hosted by EDB and not on the PostgreSQL community servers. If you have issues with the website it's hostewww.postgresql.org 위 사이트에서 Download the insta..