issues
search
hi-min-study
/
cs-study-for-tech-interview
기술 면접을 위한 CS 스터디 ❤️🔥
13
stars
0
forks
source link
11_DB확장
#57
Open
Yiseull
opened
7 months ago
Yiseull
commented
7 months ago
수직적 확장과 수평적 분할
Master/Slave
Sharding, Partitioning
CAP 이론
born-A
commented
7 months ago
예상 질문
DB 확장을 하는 두가지 방법이 무엇인가요 ?
(꼬리질문) 수직적 확장에 대해서 설명해주세요.
(꼬리질문) 수평적 확장에 대해서 설명해주세요.
Master/Slave란 무엇인가요 ?
(꼬리질문) Master/Slave의 동작 원리에 대해 설명해주세요.
(꼬리질문) Master/Slave의 장단점에 대해 설명해주세요.
DB 분할 방법에는 어떤것이 있나요 ?
(꼬리질문) Partitioning에 대해서 설명해주세요.
(꼬리질문) Sharding에 대해서 설명해주세요.
CAP 이론이란 무엇인가요 ?
면접 질문
db를 scale up과 scale out하는 경우에 대해 각각 설명해주세요
각각 어떤 상황에서 쓸 수 있는지 설명해주세요
분산 시스템에 대해서 설명해주세요
scale out하면 일관성을 보장하지 못하나요?
scale out 기법의 예시를 설명해주세요
master-slave 구조에 대해 설명해주세요
어떤 이점이 있나요?
slave에 복제는 어떻게 진행하나요?
DB 분산
master-slave외 scale out에 대해 말씀해주세요
클러스터링과 레플리케이션의 차이점은 무엇인가요?
클러스터링이 구체적으로 무엇을 말하는건가요?
파티셔닝에 대해서 설명 부탁드립니다.
파티셔닝은 왜 진행 하는 건가요?
샤딩에 대해서도 말씀해주세요
수평 파티셔닝과 샤딩이 같은 말인가요?
샤딩을 했을 때 단점은 무엇인가요?
샤딩이 되어 있는 시스템에 사용자가 질의 할 때 데이터베이스에서 어떻게 데이터를 가져오는지 말씀해주세요
샤딩을 하는 이유는 무엇인가요?
CAP
CAP이론에 대해서 간략하게 설명 부탁드립니다.
일반적인 mysql에서 CAP에서 어떤 부분을 포기하나요?
CP, AP 각각 대표적인 예를 설명해주세요
eventually consitency 개념에 대해 말씀 해주세요
파티셔닝 분할 기준에 대해 말씀해주세요
hi-june
commented
7 months ago
예상 질문
수직적 확장과 수평적 확장에 대해서 설명해주세요
데이터베이스 시스템에 많은 요청이 들어올 경우, 어떤 식으로 처리할 수 있을까요?
db를 master-slave로 나눴을 경우 insert, update, delete 요청이 올 때마다 동기화를 시켜야되나요?
db 파티셔닝의 장단점에 대해서 설명해주세요
cap 이론에 대해서 설명해주세요.
c, a, p에 대해서 각각 설명해주세요
Yiseull
commented
7 months ago
예상 질문
트래픽이 높아질 때, DB는 어떻게 관리를 할 수 있을까요?
수직적 확장과 수평적 확장의 차이점을 설명해주세요.
어떤 상황에서 수직적 확장을 선택해야 하고 어떤 상황에서 수평적 확장을 선택해야 할까요?
수평적 확장을 구현할 때 어떤 문제점이 발생할 수 있나요?
Master/Slave 구조는 어떤 경우에 사용되나요? 그리고 이 구조의 장단점은 무엇인가요?
Master/Slave 구조에서 마스터 서버가 다운되었을 때 어떻게 처리해야 하나요?
Clustering과 Master-Slave Replication의 차이점은 무엇인가요?
Partitioning과 Sharding의 차이점은 무엇인가요?
Sharding의 장점과 단점은 무엇인가요?
CAP 이론에 대해 설명해주세요.
CAP 이론에서 일관성(Consistency), 가용성(Availability), 분할 허용성(Partition tolerance) 세 가지 중 어떤 것을 선택하면 좋을까요? 그 이유는 무엇인가요?
Eventual Consistency에 대해서 설명해주세요.
면접 질문
만약에 트래픽이 예상보다 높게 발생한다고 가정하면, 어떤 식으로 DB를 관리하실 건가요?
데이터 베이스 분산에 대해 더 자세하게 말씀해주세요
scale out에는 어떤게 있나요?
레플리케이션에 대해 조금 더 자세하게 설명해주세요
마스터/슬레이브로 나눌 경우에 insert, update, delete와 같은 갱신 요청이 올 때 마다 동기화 요청을 하는건가요?
마스터/슬레이브 구조에서 동기적으로 하는 경우와 비동기적으로 하는 경우 각각 어떤식으로 동작하나요?
파티셔닝과 샤딩의 차이점에 대해서 설명해주세요
수평적으로 확장할 때 나누는 기준
샤딩의 단점은?
CAP 이론에 대해서 설명해주세요
CA, AP, CP의 대표적인 예시를 들어주세요
CA의 한계
CAP는 결국 어떤 것을 의미하는건가요?
샤딩이 되어 있는 시스템에서 사용자가 데이터를 탐색하는 질의를 보냈을 때 어떻게 찾아가는지 간략하게 설명해주세요
분산이 되어 있어서 join과 같은 연산에 있어서 추가비용이 드는데 이렇게 관리하는 이유가 무엇인가요?
샤딩의 성능이 좋지 않는 특수한 상황이라는게 어떤 경우인가요?
Curry4182
commented
7 months ago
예상 질문
수직적 확장과 수평적 확장에 대해 말씀해주세요
수직적 확장과 수평적 확장을 선택하는 기준에 대해 말씀해주세요
Master/Slave 아키텍처는 무엇이고 주요 장점은 무엇인가요?
Master/Slave 아키텍처의 한계점은 무엇인가요?
어떤 상황에서 Master/Slave 아키텍처를 사용하는 것이 적합한가요?
데이터베이스 샤딩(Sharding)과 파티셔닝(Partitioning)의 차이점은 무엇인가요?
각각 어떤 상황에서 사용하는 것이 좋은가요?
CAP 이론이란 무엇인가요?
분산 시스템 설계 시 어떻게 적용해야 하나요?
CAP이론에서 현실적으로 CA가 안되는 이유에 대해 말씀해주세요