当前位置:网站首页>【presto】presto 常用的命令
【presto】presto 常用的命令
2022-07-28 16:24:00 【kiraraLou】
前言
连接命令
java -jar presto-cli-0.269-SNAPSHOT-executable.jar --server localhost:8080 --catalog hive
–server 是presto服务地址;
–catalog 是默认使用哪个数据源,后面也可以切换,如果想连接mysql数据源,使用mysql数据源名称即可;
–user 是用户名;
查看信息
查看数据源(catalog)
show catalogs;
查看schemas
show schemas from 'catalog_name';
查看tables
show tables from 'catalog_name.schema_name'
JMX
查询内存池信息
SELECT freebytes, node, object_name
FROM jmx.current."com.facebook.presto.memory:*type=memorypool*";
查询每个节点的打开和最大文件描述符计数
SELECT openfiledescriptorcount, maxfiledescriptorcount
FROM jmx.current."java.lang:type=operatingsystem";
边栏推荐
- Several methods of importing excel file data by C #
- Janus series article 3 API usage guide videoroom creating a new video room
- Function接口之andThen
- Azure Devops developed by visual studio 2015 team
- Some notes on how unity objects move
- Steps to configure V530 switch
- MySQL数据库增删改查(基础操作命令详解)
- Using SQL server agent job to restore the database regularly
- Educational codeforces round 126 (rated for Div. 2) f.teleporters (two sets and two points)
- Unity shader texture animation
猜你喜欢

Steps to configure V530 switch

Reasoning Over Semantic-Level Graph for Fact Checking

valarray数值库学习

Round 1C 2022 - Code jam 2022 b.square (Mathematics, thinking)

Janus series article 3 API usage guide videoroom creating a new video room

Games101-assignment05 ray tracing - rays intersect triangles

Application of Pegasus d200s UAV and airborne lidar in large-scale DEM construction

Using MVC in the UI of unity

kubernetes service 原理解析

线性代数及矩阵论(九)
随机推荐
Ugui learning notes (VI) get the information of the clicked UI
微服务架构-服务注册中心和服务网关(6.8) (转载)
Reasoning Over Semantic-Level Graph for Fact Checking
Verilog daily question (vl8 uses generate... For statement to simplify code)
Soft exam review summary
Goweb开发之Beego框架实战:第三节 程序执行流程分析
【kibana】问题整理 kibana 7.x No indices match pattern “apm-*“
System clock failure of database fault tolerance
Verilog 每日一题 (VL5 信号发生器)
QR code generation of wechat applet with parameters
Source code of voice live broadcast app
Codeforces Round #750 (Div. 2) F.Korney Korneevich and XOR (easy&&hard version)(dp)
Verilog 每日一题 (VL30 RAM的简单实现)
【atlas】atlas 编译报错整理(全)
Verilog daily question (simple implementation of VL30 RAM)
Verilog 每日一题(VL29 单端口RAM)
Iris framework practice of goweb development: project summary and review
22年多校第三场(F的证明
The practice of beego framework developed by goweb: Section 4 database configuration and connection
线性代数及矩阵论(八)