Skip to Content
Trino 权威指南:原书第2版
book

Trino 权威指南:原书第2版

by Matt Fuller, Manfred Moser, Martin Traverso
July 2023
Intermediate to advanced
278 pages
5h 40m
Chinese
China Machine Press
Content preview from Trino 权威指南:原书第2版
74
5
生产环境部署
你已经在第
2
章中学会了使用
tar.gz
文件安装
Trino
的方法,并在第
4
章中熟悉了
Trino
的架构,现在可以学习
Trino
集群的安装细节了。有了这些知识,你将能够在生产环境
中部署具有一个协调器和多个工作节点的
Trino
集群。
5.1
配置细节
Trino
的配置由下文所讨论的多个文件所管理,这些文件默认都存放在安装目录下的
etc
目录中。
配置文件目录的默认位置以及各个配置文件的默认位置,都可以使用传给启动脚本的参
数覆盖(参见
5.6
节)
5.2
服务端配置
Trino
服务端的配置由
etc/config.properties
文件提供。
Trino
服务端可以充当协调器或工
作节点,也可以同时充当两种。每个集群只能有一台协调器。将一台单独的服务端程序
设定为只执行协调器的工作,并添加一系列其他服务端程序作为专用工作节点,这种配
置方式创建
Trino
集群可以提供最佳的性能。
上述配置文件的内容非常重要,特别是因为它们决定了服务端程序是工作节点角色还是
协调器角色,而这相应地会影响资源的使用和配置。
Trino
集群中的所有工作节点应该具有完全相同的配置。
Trino权威指南 1-6.indd 74Trino权威指南 1-6.indd 74 2023-8-4 13:58:322023-8-4 13:58:32
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

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
Three Essentials for Agentic AI Security

Three Essentials for Agentic AI Security

Paolo Dal Cin, Daniel Kendzior, Yusof Seedat, Renato Marinho
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111731603