Skip to Content
高度な Snowflake
book

高度な Snowflake

by Muhammad Fasih Ullah
September 2025
Beginner to intermediate
210 pages
3h 24m
Japanese
O'Reilly Media, Inc.
Content preview from 高度な Snowflake

第2章. Snowflakeの概要

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

この章では、マルチレイヤーのSnowflakeアーキテクチャの説明やSnowflakeオブジェクトの簡単な導入部など、Snowflakeの概要を説明する。

Snowflakeアーキテクチャ

Snowflakeアーキテクチャは階層化されており、最適化ストレージレイヤー、エラスティック・マルチクラスター・コンピュートレイヤー、クラウドサービスレイヤーの3つのレイヤーを中核としている(図2-1)。

ストレージレイヤー

Snowflakeストレージレイヤーは、クラウド ストレージレイヤー またはデータベースストレージレイヤーとも呼ばれ、データへの高速かつシームレスなアクセスを可能にするハイブリッドカラムデータベースストレージである。 クラウドのパワーを利用して、弾力性と無限のストレージ拡張を可能にする。マイクロパーティション分割を使用し、バックグラウンドでデータのクラスタリングと配置を行うことで、データアクセス時に最高のパフォーマンスを提供する。

コンピュート・レイヤー

Snowflakeのエラスティック・マルチクラスター・コンピュートレイヤーは、単にコンピュートレイヤーとも呼ばれ、すべてのデータプロセスが行われるコアレイヤーである。 クエリの実行を担う。ストレージレイヤーと分離されている最大の利点は、リソースの分離である。ストレージレイヤーと同様に、コンピュートレイヤーもクラウドリソースを使用して無限拡張することができる。データのプロセスにはSnowflakeウェアハウスを使用する。

クラウドサービス層

クラウドサービス層は、アカウント全体のメタデータを管理する層だ。 また、アクセス制御、セキュリティ、インフラ管理、クエリの最適化も提供する。クエリが実行されると、クラウド・サービス・レイヤーはそのクエリの解析、最適化、クエリ・プランの生成、セキュリティとアクセスのチェックを行い、コンピュート・レイヤーに渡して実行させる。

クラウドに依存しないレイヤー

Cloud-Agnosticレイヤーは、Snowflakeインスタンスを好みのクラウドプロバイダー上で実行できるようにするベースとなるSnowflakeレイヤーである。 Amazon Web Services(AWS) 、Google Cloud Platform(GCP)、Microsoft Azureから選択できる。 これにより、複数の環境を管理し、セキュリティを確保する手間を省くことができる。その結果、ネイティブアプリケーションを含め、Snowflakeで構築されたものはすべてクラウドに依存しない。

Diagram of Snowflake's multilayered architecture showing the cloud services layer, elastic multi-cluster compute layer, and optimized storage layer with features like performance optimization, management, sharing, and security.
図2-1. Snowflakeの多層アーキテクチャ(出典:Snowflake)

最適化ストレージレイヤーの機能

最適化ストレージレイヤーについてはすでに少し学んだだろう。次に、このレイヤーのさまざまな機能を簡単に見てみよう。

圧縮とマイクロパーティション

Snowflakeはすべてのデータをマイクロパーティション分割でストアする。静的なテーブルパーティションに依存する従来のウェアハウスとは異なり、Snowflakeではマイクロパーティションを使用する。マイクロパーティションは、50MB~500MBの非圧縮データを含む連続したストレージ単位である。このデータはカラムナー形式でストアされ、マイクロパーティションのデータはSnowflakeによって自動的に管理される。このようなパーティション分割の最大の利点は、クラウドサービス層によって行われるクエリの最適化中に起こるデータの刈り込みである。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

PythonによるWebスクレイピング 第2版

PythonによるWebスクレイピング 第2版

Ryan Mitchell, 黒川 利明, 嶋田 健志
Advanced Snowflake

Advanced Snowflake

Muhammad Fasih Ullah
カオスエンジニアリング ―回復力のあるシステムの実践

カオスエンジニアリング ―回復力のあるシステムの実践

Casey Rosenthal, Nora Jones, 堀 明子, 松浦 隼人

Publisher Resources

ISBN: 9798341670976