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实战
118
8
8.2
 
Presto
系统表
Presto
系统表
不需要配置
catalog
文件,所有的
schema
和表都在
system
catalog
中自动提供。
你可以使用
8.1
节中提到的语句来查询
schema
和表
,以了解更多关于
Presto
运行实例的信息。
可用的数据包括运行时、节点、
catalog
等,这些信息可以让你更好地理解和使用
Presto
PrestoWeb UI
是一个基于网页的用户界面,它显示了系统表的相关信息。更
多详细信息参见
12.1
节。
系统表包含的
schema
SHOW SCHEMAS IN system;
Schema
--------------------
information_schema
jdbc
metadata
runtime
(4 rows)
为了进行查询调优,表
system.runtime.queries
system.runtime.tasks
是最有用的:
DESCRIBE system.runtime.queries;
Column | Type | Extra | Comment
------------------------------+----------------+-------+---------
query_id | varchar | |
state | varchar | |
user | varchar | |
source | varchar | |
query | varchar | |
resource_group_id ...
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.
Start your free trial

You might also like

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

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

Ted Malaska, Jonathan Seidman
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield

Publisher Resources

ISBN: 9787115560056