Skip to Content
高级Snowflake
book

高级Snowflake

by Muhammad Fasih Ullah
September 2025
Beginner to intermediate
210 pages
3h 1m
Chinese
O'Reilly Media, Inc.
Content preview from 高级Snowflake

第 7 章 下一步是什么? 下一步是什么?

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

在本章中,我将带您了解 Snowflake 的一些新产品,并简要介绍它们的功能,以及它们如何结合在一起,帮助您在 Snowflake 中提升数据工作负载。其中有几项是在 2025 年 Snowflake 峰会上宣布的,在本书出版时可能仍处于预览功能阶段。有关这些功能的最新信息,请参阅Snowflake 文档

废话不多说,让我们深入了解一些最激动人心的公告。

Snowflake 第 2 代仓库

Snowflake 宣布对其标准仓库进行性能提升,这一重大升级被称为 Snowflake 第 2 代(Gen2)标准仓库。 这是一个相当大的飞跃,结合了更快的底层硬件和智能软件优化。其实际效果是,大多数查询的运行速度都会更快,您可以处理更多的并发工作负载,而不会出现在同等标准仓库上可能出现的性能下降。

例如,如果您的 ETL 流水线以前在 大型MERGE 操作时需要花费数小时才能完成,那么在 Gen2 仓库中,您可能会发现这些操作的完成时间要快得多。同样,扫描大型数据集的复杂分析查询也会显著提速,尤其是当多个用户同时运行查询时。不过,实际的性能提升因具体的工作负载模式和仓库配置而有很大不同。有些人可能会看到显著的改进,而有些人可能只会体验到适度的提升。

要在 Snowflake 中创建 Gen2 仓库,您只需在创建仓库的 SQL 语句中添加资源约束即可:

create or replace warehouse my_gen2_wh
   resource_constraint = standard_gen_2
   warehouse_size = small
;

我强烈建议您在数据工作负载上进行测试。运行基准测试,看看是否有一些性能提升(成本和时间方面)。 一般来说,查询完成得越快,应该越便宜,因为 Snowflake 遵循的是基于消耗的模式,但 Gen2 仓库的信用消耗与标准仓库相比略高。Gen2 仓库正在慢慢推广到所有地区。您必须查看Snowflake 的地区可用性页面,以获得最新更新。

Snowflake 自适应计算

在同样与 Snowflake 计算和仓库有关的类似主题上,Snowflake 还宣布了对自适应计算的支持。 自适应计算是 Snowflake 解决不断调整仓库大小问题的解决方案。这意味着您不必再为调整仓库大小以适应不同的数据工作负载而烦恼。自适应计算将自动处理这些决策,智能地将查询路由到适当规模的集群。例如,如果您的团队通常混合运行快速仪表盘查询和繁重的 ETL 工作,Adaptive Compute 将自动为仪表盘提供较小的集群,为 ETL 工作提供较大的集群,所有集群都来自您账户中的共享资源池。令人兴奋,不是吗?

Snowflake Openflow

如果就我个人而言,Snowflake Openflow 可能是 2025 年 Snowflake 峰会上我最喜欢的公告。 Snowflake Openflow 是一个可管理的 Apache NiFi 服务,可处理不同数据源与目的地的大规模连接。Openflow 可以处理从传统数据库表到图像、视频、音频文件和传感器数据流等一切数据,是企业使用生成式人工智能的关键组件。

如果你把这里放大一点,想想 Snowflake 从数据仓库组织到成为 AI 数据云的历程,那么 Openflow 的发布正是来自这一转变的核心。在您治理的数据环境中,无需额外的基础设施,就能以安全的方式快速移动数据?我报名! ...

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

用数据进行沟通

用数据进行沟通

Carl Allchin
可解释人工智能实践指南

可解释人工智能实践指南

Michael Munn, David Pitman

Publisher Resources

ISBN: 9798341671003