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版
28
|
2
要配置
TPC-H
连接器,需要创建一个
catalog
属性文件
etc/catalog/tpch.properties
,并将
连接器配置为
tpch
connector.name=tpch
每个
catalog
文件都必须有
connector.name
属性。额外的属性由对应
Trino
连接器的实
现决定。这些内容在
Trino
的文档中都有介绍,你也可以在第
6
章和第
7
章中了解更多
信息。
本书仓库包含了一系列
catalog
文件来帮助你学习
Trino
2.4
运行
Trino
现在你终于真正准备好启动
Trino
了。安装目录下包含了启动脚本,你可以用它们来启
Trino
$ bin/launcher run
run
命令将
Trino
启动为前台进程,
Trino
的日志和其他输出将写入标准输出流(
stdout
和标准错误流(
stderr
。成功启动后会有一条日志,一段时间后你应该可以看到以下
输出:
INFO main io.trino.server.Server ======== SERVER STARTED ========
在前台运行
Trino
有助于测试和快速检验进程能否正确启动,以及它是否使用了期望的
配置。可以使用
Ctrl+C
组合键结束服务器进程。
5.6
节和
5.3
节分别介绍了有关启动器脚本和日志的更多信息。
2.5
小结
本章的内容让你了解到安装和启动
Trino
非常容易,现在可以启动它并将其投入使用了。
在第
3
章中,你将了解如何与
Trino
交互并使用它查询配置好的数据源目录。你也可以
直接跳到第
6
章和第
7
章来学习多种其他的连接器,并为自己添加更多数据源目录。 ...
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