Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Snowflake Cookbook
Snowflake Cookbook

Snowflake Cookbook: Techniques for building modern cloud data warehousing solutions

Arrow left icon
Profile Icon Hamid Mahmood Qureshi Profile Icon Hammad Sharif
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (17 Ratings)
Paperback Feb 2021 330 pages 1st Edition
eBook
Mex$737.99 Mex$820.99
Paperback
Mex$1025.99
Subscription
Free Trial
Arrow left icon
Profile Icon Hamid Mahmood Qureshi Profile Icon Hammad Sharif
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (17 Ratings)
Paperback Feb 2021 330 pages 1st Edition
eBook
Mex$737.99 Mex$820.99
Paperback
Mex$1025.99
Subscription
Free Trial
eBook
Mex$737.99 Mex$820.99
Paperback
Mex$1025.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Snowflake Cookbook

Chapter 2: Managing the Data Life Cycle

This chapter provides a set of recipes that introduce you to data management in Snowflake. The chapter talks about common database concepts and introduces you to nuances specific to Snowflake. We'll look at common operations that are required to manage and structure data in a database. Snowflake is not very different from traditional databases and provides similar capabilities, but since Snowflake has been designed for the cloud from the ground up, it has small configurations that allow control over how data is managed in a database or a table and how temporary data is maintained and destroyed when not required. These capabilities are required when designing an ETL system or structuring data according to a data model.

The following recipes are given in this chapter:

  • Managing a database
  • Managing a schema
  • Managing tables
  • Managing external tables and stages
  • Managing views in Snowflake

Technical requirements

The chapter assumes that you have a Snowflake account already set up. It also requires you to have access to an Amazon S3 bucket to use to get hold of external data and use it within Snowflake.

The code for this chapter can be found at the following GitHub URL:

https://github.com/PacktPublishing/Snowflake-Cookbook/tree/master/Chapter02

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Build and scale modern data solutions using the all-in-one Snowflake platform
  • Perform advanced cloud analytics for implementing big data and data science solutions
  • Make quicker and better-informed business decisions by uncovering key insights from your data

Description

Snowflake is a unique cloud-based data warehousing platform built from scratch to perform data management on the cloud. This book introduces you to Snowflake's unique architecture, which places it at the forefront of cloud data warehouses. You'll explore the compute model available with Snowflake, and find out how Snowflake allows extensive scaling through the virtual warehouses. You will then learn how to configure a virtual warehouse for optimizing cost and performance. Moving on, you'll get to grips with the data ecosystem and discover how Snowflake integrates with other technologies for staging and loading data. As you progress through the chapters, you will leverage Snowflake's capabilities to process a series of SQL statements using tasks to build data pipelines and find out how you can create modern data solutions and pipelines designed to provide high performance and scalability. You will also get to grips with creating role hierarchies, adding custom roles, and setting default roles for users before covering advanced topics such as data sharing, cloning, and performance optimization. By the end of this Snowflake book, you will be well-versed in Snowflake's architecture for building modern analytical solutions and understand best practices for solving commonly faced problems using practical recipes.

Who is this book for?

This book is for data warehouse developers, data analysts, database administrators, and anyone involved in designing, implementing, and optimizing a Snowflake data warehouse. Knowledge of data warehousing and database and cloud concepts will be useful. Basic familiarity with Snowflake is beneficial, but not necessary.

What you will learn

  • Get to grips with data warehousing techniques aligned with Snowflake s cloud architecture
  • Broaden your skills as a data warehouse designer to cover the Snowflake ecosystem
  • Transfer skills from on-premise data warehousing to the Snowflake cloud analytics platform
  • Optimize performance and costs associated with a Snowflake solution
  • Stage data on object stores and load it into Snowflake
  • Secure data and share it efficiently for access
  • Manage transactions and extend Snowflake using stored procedures
  • Extend cloud data applications using Spark Connector

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 25, 2021
Length: 330 pages
Edition : 1st
Language : English
ISBN-13 : 9781800560611
Category :
Languages :
Concepts :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Feb 25, 2021
Length: 330 pages
Edition : 1st
Language : English
ISBN-13 : 9781800560611
Category :
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Mex$ 3,097.97
Snowflake Cookbook
Mex$1025.99
Data Engineering with Apache Spark, Delta Lake, and Lakehouse
Mex$1004.99
Data Engineering with Python
Mex$1066.99
Total Mex$ 3,097.97 Stars icon

Table of Contents

11 Chapters
Chapter 1: Getting Started with Snowflake Chevron down icon Chevron up icon
Chapter 2: Managing the Data Life Cycle Chevron down icon Chevron up icon
Chapter 3: Loading and Extracting Data into and out of Snowflake Chevron down icon Chevron up icon
Chapter 4: Building Data Pipelines in Snowflake Chevron down icon Chevron up icon
Chapter 5: Data Protection and Security in Snowflake Chevron down icon Chevron up icon
Chapter 6: Performance and Cost Optimization Chevron down icon Chevron up icon
Chapter 7: Secure Data Sharing Chevron down icon Chevron up icon
Chapter 8: Back to the Future with Time Travel Chevron down icon Chevron up icon
Chapter 9: Advanced SQL Techniques Chevron down icon Chevron up icon
Chapter 10: Extending Snowflake Capabilities Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(17 Ratings)
5 star 58.8%
4 star 23.5%
3 star 0%
2 star 17.6%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Gary Mersy May 28, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good introduction to data modeling and snowflake modeling.
Feefo Verified review Feefo
Nandkishor Aher Apr 10, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am amazed to go through this book. Authors has put their experience in simple yet detailed words that the concepts are easier to understand. I must say, I like the simplicity, to point guidance. I can sense the depth knowledge and have listed small small important aspects very neatly. This book is really a bible one can follow. I am happy with this..hope other would like to experience this too. I congratulate author and Publication team a huge success.
Amazon Verified review Amazon
Tea Anemone Apr 10, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Snowflake is gaining popularity and no wonder I was excited to get a hold of this book as an introduction to Snowflake’s capabilities. Overall, it provides a good overview of Snowflake functionality, covering a wide range of topics - from basic setup of a Snowflake instance (for free with trial!), data lifecycle management, security, cost management (important topic not to be overlooked in enterprise environment), all the way to advanced tasks such as integrating your Snowflake data warehouse with the rest of your data processing platform.This cookbook is a good find for anyone who wants to educate themselves in basic data warehousing principles: the recipes illustrate day to day data engineering tasks. It is interesting to go over the recipe and compare the functionality of a Snowflake instance with, for example, an Azure Synapse SQL pool instance. I guarantee you'll learn something new even if you were in data engineering field for a while.My only disappointment was that all recipes pertaining to external data storage refer to AWS. If you use a different platform (Snowflake supports Azure and Google Cloud as well) - prepare to invest additional time into figuring out how to setup and connect to those sources, because those specifics are completely omitted from the recipes.
Amazon Verified review Amazon
Martin Apr 27, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Ive been using snowflake for a year and I wish I’d had this book from day 1.Cookbooks are as good as the recipes and this one gets you up and running really quickly.How much it will be as reference is open to debate once you get up to speed, I’ll maybe add to the review later, but for those new to Snowflake it does clearly give you details on things that are maybe not that obvious in Snowflake help.One thing I found, following the practical steps you may often be last asking the question “Why?”As it isn’t always clear at the time. But the “How it works sections” afterwards clears thing up in straightforward fashion.I really liked this book, it’s well written and would recommend to help get you started on some pretty cool stuff.
Amazon Verified review Amazon
Dwight Gunning Apr 11, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am not an expert in Snowflake, but I am a mid-career data scientist/engineer who needs to keep current with popular and emerging technologies. So, this book turns out to be a great bookshelf read I can skim at a high level or drop into actually coding using the examples in the book. I am also a contractor so having this Snowflake book for when I need it adds to my value. But it’s not just for experts or mid career people - the Getting Started chapter is easy to read and work through as a beginner. The code examples aren’t too complicated, there are numbered steps and pictures to guide you through the examples. There is also a companion Github repo with examples. So if you are getting started in data engineering and will be working in Snowflake I recommend this book.For people who are already working in Snowflake and consider themselves experts then this Snowflake book might be too easy of high level. But it is great if you want to get productive fast.Overall the book is well written and easy to read, and the hands on examples will get you going in Snowflake. So I recommend this book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.