Skip to Content
Presto实战
book

Presto实战

by Matt Fuller, Manfred Moser, Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from Presto实战
82
6
这两个连接器所展示的
schema
在结构上包括了相同的数据集:
SHOW SCHEMAS FROM tpch;
Schema
--------------------
information_schema
sf1
sf100
sf1000
sf10000
sf100000
sf300
sf3000
sf30000
tiny
(10 rows)
6-1
显示了不同的
schema
如何在
orders
等事务性表中包含越来越多的记录。
6-1:不同TPCH schema中订单表的记录数示例
schema count
tiny 15 000
sf1 1 500 000
sf3 4 500 000
sf100 150 000 000
如第
8
章和第
9
章所述,你可以使用这些数据集来学习更多
Presto
所支持的
SQL
,而无须
连接另一个数据库。
这些连接器的另一个重要使用场景是获得简单可用的数据。可以将这些连接器用于开发和
测试,甚至在
Presto
的生产部署中使用
。由于易于获得很大的数据量,因此你可以构建查
询并在
Presto
集群上施加很大负载
。这可以使你更好地了解集群性能,调整和优化它,并
确保即使发生了跨版本更新或其他变更,它也可以正常工作。
6.4
 用于分布式存储数据源的
Hive
连接器
1.5
节所述,
Presto
是为了在
Facebook
这样的体量上运行快速查询而设计的。鉴于
Facebook
在其
Hive
数据仓库中拥有海量的存储
Hive
连接器自然成为
Presto
最早开发的
连接器之一。 ...
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

大数据项目管理:从规划到实现

大数据项目管理:从规划到实现

Ted Malaska, Jonathan Seidman
机器学习流水线实战

机器学习流水线实战

Hannes Hapke, Catherine Nelson

Publisher Resources

ISBN: 9787115560056