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实战
66
5
接下来介绍
Presto
服务端的一些基础设置属性。在之后的章节中,当讨论认证、授权和资
源组等特性时,我们将介绍额外的可选属性。
coordinator=true|false
设置
Presto
实例是否作为协调器运行,这样可以接受来自客户端的查询请求并管理查询
执行。默认值为
true
,值设为
false
会使服务端程序作为工作节点运行。
node-scheduler.include-coordinator=true|false
设置是否将调度工作运行于协调器上,默认为
true
。对于更大的集群,我们建议将此
属性设为
false
。在协调器上执行的处理工作会影响查询性能,因为服务端的资源可能
被其占用而无法进行服务调度、管理和监控查询执行等重要工作。
http-server.http.port=8080
http-server.https.port=8443
指定服务端使用的
HTTP/HTTPS
连接端口。
Presto
使用
HTTP
进行内部和外部通信。
query.max-memory=5GB
查询可以使用的分布式内存的最大值,第
12
章会详细介绍。
query.max-memory-per-node=1GB
查询在单个机器上可以使用的用户内存的最大值,第
12
章会详细介绍。
query.max-total-memory-per-node=2GB
查询在任何一台服务器上可以使用的用户内存和系统内存加起来的最大值。系统内存是
在执行过程中由读取器、写入器和网络缓冲等组件所使用的内存,第
12
章会详细介绍。
discovery-server.enabled=true ...
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