Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Snowflake Cookbook

You're reading from  Snowflake Cookbook

Product type Book
Published in Feb 2021
Publisher Packt
ISBN-13 9781800560611
Pages 330 pages
Edition 1st Edition
Languages
Authors (2):
Hamid Mahmood Qureshi Hamid Mahmood Qureshi
Profile icon Hamid Mahmood Qureshi
Hammad Sharif Hammad Sharif
Profile icon Hammad Sharif
View More author details

Table of Contents (12) Chapters

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

Identifying and reducing unnecessary Fail-safe and Time Travel storage usage

Through this recipe, we will learn how to identify tables that may be used for ETL-like workloads and therefore do not need Fail-safe and Time Travel storage capabilities. Such tables can be altered to remove Fail-safe and Time Travel storage, resulting in lower overall storage costs.

Getting ready

You will need to be connected to your Snowflake instance via the web UI or the SnowSQL client to execute this recipe.

How to do it…

We will simulate a fictitious ETL process in which we use a temporary table for holding some data. Data from the interim table is then processed and aggregated into a target table. Once the target table is loaded, the ETL process deletes the data from the temporary table. The purpose of this is to explain what the best table type for interim ETL tables is. The steps for this recipe are as follows:

  1. We will start by creating a new database and a table that will...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}