Snowflake Architecture
Snowflake Architecture
Datab
ase Storage:
Whenever data loading into snowflake, the Snowflake reorganizes the data into its
internal optimized, compressed, columnar format. Snowflake stores this optimized
in cloud storage.
The data objects stored by Snowflake are not directly visible nor accessible by
customers. They are only accessible through SQL query operations run using
Snowflake.
Query Processing:
Query execution is performed by Query processing layer.
Query processing queries using "virtual warehouses".
Warehouses are required for queries, as well as all DML operations, including
loading data into tables.
A warehouse is defined by its size.
Increasing the size of a warehouse does not always improve data loading
performance. Data loading performance is influenced more by the number of files
being loaded (and the size of each file) than the size of the warehouse.
Each server stored to each storage point, so the performance will not be going
down. It works effectively. When storage is too high but server very low means it
will not work properly again it will slow. If we want performance high means we
should increase both server and storage.
It is decoupled those all are not connected with each other.
Multi cluster shared data architecture:
Snowflake followed this one and it is decoupled. Query processing layer and data
storage layer both not connected with each other, both are separated. So that is the
reason warehouse cost is separate and storage cost is separate.
If without connect each layer then query processing layer how data has pick from
storage layer. Which is done by cloud service layer. It is a brain of the Snowflake
architecture.
Whatever our body will do before the brain only decided., same concept applicable
here.
Cloud service layer has Metadata service. So, it will connect with each layer.
Whenever we write the query it will directly go to cloud service layer. The query
will ask the exact address of the layer where it has stored.
Then will optimize the query.
Snowflake Prizing:
https://www.snowflake.com/pricing/
Query Running Time VWH Credits per Sec Edition Edition Price Total Price Total Price INR
10.87 L 0.0022 BC 4 0.095656 7.65248
2.26 XS 0.0003 BC 4 0.002712 0.21696
Note:
• Snowflake is not charging if we are querying the Metadata information
• Snowflake is not charging DDL statements also
• Azure Does not support the VPN account