비관계형 데이터베이스 (NoSQL)

기존의 테이블 방식이 아닌 다양한 형식으로 데이터를 저장하는 유연한 데이터베이스 모델.

클라우드 컴퓨팅과 빅데이터 시대에 필수적인 기술로, 수많은 노드에 데이터를 분산 저장하여 높은 성능을 유지할 수 있습니다.

        graph LR
  Center["비관계형 데이터베이스 (NoSQL)"]:::main
  Rel_encryption_at_rest["encryption-at-rest"]:::related -.-> Center
  click Rel_encryption_at_rest "/terms/encryption-at-rest"
  Rel_nosql["nosql"]:::related -.-> Center
  click Rel_nosql "/terms/nosql"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5살도 이해할 수 있게 설명

고정된 칸이 있는 서랍장 대신, 무엇이든 담을 수 있고 필요할 때마다 크기를 키울 수 있는 큰 상자라고 생각하면 됩니다.

🤓 Expert Deep Dive

문서형(MongoDB), 키-값(Redis), 와이드 컬럼(Cassandra), 그래프(Neo4j) 데이터베이스로 나뉩니다. 분산 환경에서의 성능을 위해 CAP 이론에 따라 일관성보다는 가용성과 분산 허용치를 우선시하는 경우가 많습니다. 데이터 구조가 자주 바뀌는 서비스에 적합합니다.

❓ 자주 묻는 질문

Does NoSQL mean 'No SQL'?

No, it stands for 'Not Only SQL', indicating that these systems can coexist with or use query languages similar to SQL.

When should I use NoSQL instead of SQL?

Use NoSQL when your data is unstructured, your schema changes frequently, or you need to scale horizontally across many servers.

📚 출처