当前位置:网站首页>[Presto] common commands of Presto
[Presto] common commands of Presto
2022-07-28 17:27:00 【kiraraLou】
Preface
Connection command
java -jar presto-cli-0.269-SNAPSHOT-executable.jar --server localhost:8080 --catalog hive
–server yes presto Service address ;
–catalog Which data source is used by default , You can also switch later , If you want to connect mysql data source , Use mysql Data source name is enough ;
–user Is the user name ;
Check the information
View data sources (catalog)
show catalogs;
see schemas
show schemas from 'catalog_name';
see tables
show tables from 'catalog_name.schema_name'
JMX
Query memory pool information
SELECT freebytes, node, object_name
FROM jmx.current."com.facebook.presto.memory:*type=memorypool*";
Query the open and maximum file descriptor count of each node
SELECT openfiledescriptorcount, maxfiledescriptorcount
FROM jmx.current."java.lang:type=operatingsystem";
边栏推荐
- C# 导入Excel文件数据的几种方法
- Problem solution of code heartstrings Junior Group (official competition) of Dalian University of Technology (Development Zone campus) in 2021
- 《Kubernetes》你需要掌握的 Service 和 Ingress
- Difference between reconnaissance aircraft and early warning aircraft
- The actual combat of the beego framework of goweb development: Section III program execution process analysis
- 高速电路中电阻的选择
- How to protect image security during construction
- Verilog daily question (vl28 plus and minus counter)
- 一文了解 Kubernetes 中的服务发现
- 【CDH】通过 ClouderaManager 配置CDH组件用 prometheus 监控采集JMX信息
猜你喜欢

线性代数及矩阵论(七)

如何在构建阶段保护镜像安全

High speed circuit design practice -- Overview

22年多校第三场(F的证明

Gray code and binary conversion and typical examples (4bits gray code counter)

The practice of beego framework in goweb development: Section I Introduction to beego framework

Asynchronous circuit design -- principle and example of synchronous pulser

SNAT、DNAT 防火墙规则的备份和还原

Visual studio 2012/2015 releases web applications together with.Cs source code

MySQL数据库增删改查(基础操作命令详解)
随机推荐
Message Passing for Complex Question Answering over Knowledge Graphs
【impala】【报错解决】 Impala cannot read or execute the parent directory of dfs.domain.socket.path的解决方法
微服务架构-服务注册中心和服务网关(6.8) (转载)
2021年4月份自考
利用SQL Server代理作业对数据库进行定时还原
The actual combat of the beego framework of goweb development: Section III program execution process analysis
全链路灰度在数据库上我们是怎么做的?
【presto】presto 常用的命令
Valarray Library Learning
valarray数值库学习
Jupyter notebook win installation record
kubernetes service 原理解析
Verilog 每日一题(VL29 单端口RAM)
Linear algebra and matrix theory (VIII)
System clock failure of database fault tolerance
Vscode界面介绍
Verilog daily question (vl26 simple stopwatch)
Verilog 每日一题(VL2 异步复位的串联T触发器--牛客网)
【kibana】问题整理 kibana 7.x No indices match pattern “apm-*“
使用阿里云免费的SSL证书