[DP-203] Data Storage : Data Redundancy

Becoming a Data Engineer ·2024년 3월 6일
0

Azure

목록 보기
17/27
post-thumbnail

Data Redundancy, 데이터 중복성


Overview of Azure Storage

Data Redundancy는 데이터 엔지니어링을 다루는 부분뿐만 아니라 일반적으로 Azure Storage 에 내장되어 있다.

Azure Storage 는 ..

  • Always Replicated
    Azure Storage creates multiple copies of your data by default

  • Redundany(중복) 옵션을 활용하여 Meet your availability(가용성) and durability(내구성) targets


Region Redundancy 옵션


Primary Region Redundancy (기본지역) : LRS, ZRS

LRS와 ZRS 모두 하나의 Region 안 에서만 이루어진다.

1) LRS, Locally Redundant Storage

단일 물리적 위치, 즉 하나의 데이터 센터 내에서 세 개의 동기화된 복사본을 생성한다.

3 synchronous copies within a single physical location.

  • 중복성을 위한 가장 저렴한 옵션이지만, 가용성이 가장 낮다.

    랙 또는 드라이브의 고장에 대해 보호하지만, 데이터센터에 화재와 같은 사건이 발생하면 데이터의 세 개의 복사본 모두가 손실된다.

2) ZRS, Zone Redundant Storage

이 지역의 Azure 가용성 영역에 걸쳐 동기화된 세 개의 복사본을 가지고 있다.

3 synchronous copies across Azure availability zones in this region.

  • 하나의 데이터 센터가 손상되더라도, 여전히 다른 두 데이터 센터에 복사본이 존재한다.

  • ZRS는 Azure Data Lake Storage Gen2가 사용을 권장하는 방법이다.

Secondary Region Redundancy (보조지역) : GRS, GZRS

1) GRS, Geo-Redundany Storage

LRS와 2차 region 내의 단일 물리적 위치로의 비동기 복사본이다.

LRS PLUS an asynchronous copy to a single physical location in the secondary region.

2) GZRS, Geo-Zone-Redundant Storage

ZRS와 2차 region 내의 단일 물리적 위치로의 비동기 복사본이다.

ZRS PLUS an asynchronous copy to a single physical location in the secondary region.

GRS와 GZRS의 공통점과 차이점

  • 차이점

    GRS는 기본 지역에서 LRS를 사용하고, GZRS는 ZRS를 사용한다.

  • 공통점

    • 보조 지역을 선택하지 않는다.

      Storage 계정을 생성할 때 기본 지역을 선택하면, 선택한 기본 지역을 기반으로 보조 지역이 자동으로 선택되며 선택된 보조 지역은 변경할 수 없다.

    • 보조 지역에 생성된 복사본들은 기본적으로는 읽을 수 없다.

      복사본들을 읽기 위해서는 RA 버전의 RA-GRS 와 RA-GZRS를 사용해야 한다. RA는 Read Access를 의미한다.


Review


  • LRS creates 3 copies in one data center.

  • ZRS spreads the copies across 3 availability zones in the primary region.

  • GRS is ...
    LRS in the primary region PLUS LRS in a secondary region.

  • GZRS is ...
    ZRS in primary region PLUS LRS in the secondary.

  • RA-GRS and RA-GZRS add the ability to have readable copies in the secondary region.

profile
I want to improve more 👩🏻‍💻

0개의 댓글