当前位置:网站首页>Dorissql syntax Usage Summary
Dorissql syntax Usage Summary
2022-07-24 09:13:00 【HD0do】
DDL sentence
1. Modify field comments , Field type
alter table dev_dws.dws_transaction_data_h modify column order_cnt bigint comment ' Number of orders '2. View the partition contents of the corresponding table
mysql> show partitions from dev_ads.ads_real_deal_view \G*************************** 1. row ***************************
PartitionId: 6942726
PartitionName: p20220524
VisibleVersion: 1
VisibleVersionTime: 2022-05-24 14:30:41
VisibleVersionHash: 0
State: NORMAL
PartitionKey: dt
Range: [types: [DATE]; keys: [2022-05-24]; ..types: [DATE]; keys: [2022-05-25]; )
DistributionKey: tenant_id, shop_id
Buckets: 32
ReplicationNum: 3
StorageMedium: HDD
CooldownTime: 9999-12-31 23:59:59
LastConsistencyCheckTime: NULL
DataSize: .000
IsInMemory: false
*************************** 2. row ***************************
PartitionId: 6942855
PartitionName: p20220525
VisibleVersion: 1
VisibleVersionTime: 2022-05-24 14:30:41
VisibleVersionHash: 0
State: NORMAL
PartitionKey: dt
Range: [types: [DATE]; keys: [2022-05-25]; ..types: [DATE]; keys: [2022-05-26]; )
DistributionKey: tenant_id, shop_id
Buckets: 32
ReplicationNum: 3
StorageMedium: HDD
CooldownTime: 9999-12-31 23:59:59
LastConsistencyCheckTime: NULL
DataSize: .000
IsInMemory: false
*************************** 3. row ***************************
PartitionId: 6942984
PartitionName: p20220526
VisibleVersion: 1
VisibleVersionTime: 2022-05-24 14:30:41
VisibleVersionHash: 0
State: NORMAL
PartitionKey: dt
Range: [types: [DATE]; keys: [2022-05-26]; ..types: [DATE]; keys: [2022-05-27]; )
DistributionKey: tenant_id, shop_id
Buckets: 32
ReplicationNum: 3
StorageMedium: HDD
CooldownTime: 9999-12-31 23:59:59
LastConsistencyCheckTime: NULL
DataSize: .000
IsInMemory: false
3. see doris node BE FE
see BE state
SHOW PROC '/backends';see FE state
SHOW PROC '/frontends';Reference resources : dorisApache Doris Common commands
4. Create table statement
ALTER TABLE table_name RENAME TO new_table_name
边栏推荐
- web安全入门-开源防火墙Pfsense安装配置
- 03_ UE4 advanced_ illumination
- S2b2b system standardizes the ordering and purchasing process and upgrades the supply chain system of household building materials industry
- Pulse netizens have a go interview question, can you answer it correctly?
- What is tiktok creator fund and how to withdraw it?
- Android系统安全 — 5.3-APK V2签名介绍
- After watching the documentary "pirate treasure on Adak Island", I thought of the lost treasure in Chinese history
- [assembly language practice] solve the unary quadratic equation ax2+bx+c=0 (including source code and process screenshots, parameters can be modified)
- 如何通过NFT GO,来简要判断、分析NFT市场?
- Map processing background management menu data
猜你喜欢

Open source summer interview | learn with problems, Apache dolphin scheduler, Wang Fuzheng

One click openstack single point mode environment deployment - preliminary construction

Interviewer: man, how much do you know about the read-write lock of go language?

gnuplot软件学习笔记

How to import CAD files into the map new earth and accurately stack them with the image terrain tilt model

Publish your own library on NPM

【翻译】使用gRPC和REST的微服务架构中的集成挑战

Unity solves the package manager "you see to be offline"

dp最长公共子序列详细版本(LCS)

The next stop of data visualization platform | gifts from domestic open source data visualization datart "super iron powder"
随机推荐
mysql URL
Xtrabackup realizes full backup and incremental backup of MySQL
Leetcode94 detailed explanation of middle order traversal of binary tree
C # briefly describe the application of Richter's replacement principle
在npm上发布自己的库
Wenxin big model raises a new "sail", and the tide of industrial application has arrived
SDUT compilation principle experimental code
Tongxin UOS developer account has supported uploading the HAP package format of Hongmeng application
Opencv Chinese document 4.0.0 learning notes (updating...)
How do tiktok merchants bind the accounts of talents?
Android system security - 5.2-apk V1 signature introduction
Tiktok shop platform will take disciplinary measures against sellers who violate rules and policies
SQL server2012 installation method details [easy to understand]
C# 简述里氏替换原则的应用
Using OpenCV to do a simple face recognition
JUC powerful auxiliary class
Problems and abuse of protocol buffers
DP longest common subsequence detailed version (LCS)
使用分区的优点
[example of URDF exercise based on ROS] use of four wheeled robot and camera