当前位置:网站首页>[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";
边栏推荐
- Microservice Architecture - service registry and service gateway (6.8) (Reprint)
- The practice of the beego framework for goweb development: Section V project construction and user registration
- Function接口之andThen
- 利用SQL Server代理作业对数据库进行定时还原
- 【kibana】问题整理 kibana 7.x No indices match pattern “apm-*“
- In some cases, error: (XX, XX) failed to resolve: XXXXXX.
- Net framework
- Codeforces round 770 (Div. 2) e. fair share
- wpf命令按钮透明样式
- Verilog daily question (simple implementation of VL30 RAM)
猜你喜欢

The practice of beego framework developed by goweb: Section 4 database configuration and connection

What does the service grid that has been popular for two years bring to microservices? (Reprinted)

LNMP源码编译安装

Atcoder regular contest 133 d.range XOR (digital dp+ classification discussion)

The 16th program design competition of Dalian University of Technology (Problem Solver)

Using SQL server agent job to restore the database regularly

Verilog 每日一题 (VL27 可置位计数器)

The actual combat of the beego framework of goweb development: Section III program execution process analysis

Selection and application of inductors in high speed circuits

Linear algebra and matrix theory (IX)
随机推荐
【sqoop】sqoop1.4.7 安装集成CDH5.13
线性代数及矩阵论(七)
Shopee code League 2022 - qualification round p3.connecting the numbers (segment tree / bipartite graph determination, to be discussed)
22年多校第三场(F的证明
Verilog 每日一题 (VL28 加减计数器)
Codeforces round 770 (Div. 2) F. Fibonacci additions (construction + difference)
DGL Chapter 1 (official tutorial) personal notes
Difference between reconnaissance aircraft and early warning aircraft
Verilog daily question (vl14 vending machine 1 -- FSM common question types)
Message Passing for Complex Question Answering over Knowledge Graphs
GEAR: Graph-based Evidence Aggregating and Reasoning for Fact Verification
我为什么选择使用Go语言?
How to protect image security during construction
Source code of voice live broadcast app
Iris framework practice of goweb development: project summary and review
CNSA与CASC和CASIC的区别
Selection of resistance in high speed circuit
【CDH】通过 ClouderaManager 配置CDH组件用 prometheus 监控采集JMX信息
使用阿里云免费的SSL证书
Solve the problem of exclusive SQL Server database