当前位置:网站首页>First experience of tryme in opengauss
First experience of tryme in opengauss
2022-07-27 08:22:00 【openGauss】
stay openGauss2022 At the developer conference ,openGauss The community has launched an online experience and learning platform TryMe.TryMe The platform aims to provide a lightweight online operation platform for database enthusiasts , be based on openGauss Community openGauss-webclient Open source project creation , use Go Language development , With web The way of service provides services for developers , Help want to know and learn openGauss Quick contact with users openGauss.
As a programmer with a strong curiosity for new things , Of course, the author also went to play TryMe platform . Now the author will share with the majority of friends the first use TryMe Some experience of the platform .
TryMe The official website of the platform is https://tryme.opengauss.org, After logging into the official website, the first thing you see is the login page , As shown below :

You can see from the login page ,TryMe Provides a variety of login authentication methods ,BUT, As a procedural ape , Of course, the first choice is to Gitee Login by authentication . Input Gitee Your account and password , After authorization, I entered TryMe The operation page of .

First you can see TryMe The page of is very clear and concise , For the author who has a paranoid aesthetic hobby , The page looks quite pleasing . Now let me lead you to experience TryMe The function of .
Get into TryMe Behind the platform , The first thing I see is SQL Operation page . At the top of the page is a big SQL Edit window area , Several function buttons in the middle , The lower part is the execution result display area . stay SQL There is data on the left side of the operation 、 Table structure 、 Index and constraint tabs , On the right side, there are two tabs, operation history and session .
Click the data tab , The prompt box shown below pops up , Prompt the user to select a table first .

Try clicking on the table structure 、 Index and constraint tabs , The same prompt message pops up . That's understandable , After all, these attributes are related to specific tables . Of course , It also shows that ,TryMe Display database or Schema Level index and constraint statistics .
Click the operation history on the right , You can see that the display operation history is empty , That's for sure , I haven't done anything yet .

Then click the session tab , You can see which sessions are currently connected to the database . As shown in the figure below , From the information shown, you can see the database connected by the session , The start time of the query in the session 、 Query execution status and query statement .

After reading the tab , Let's take a look at the functions of the sidebar .

As shown in the figure above , The sidebar provides for tables 、 View 、 Materialized view and menu display of sequence . You can see ,TryMe For the convenience of users , Preset in advance 6 A watch . The author clicks on one of them named bank_card After the table of , The data tab on the right automatically displays except bank_card Table data , meanwhile , Below the sidebar , It also shows some statistical information of the current table .

The data page provides the function of selecting and filtering data , You can select the columns to be filtered 、 Filter method and set filter value , For example, for b_type The column after filtering out the savings card is shown as follows .

Right click on the sidebar to display bank_card Table name , You can see TryMe The function of exporting data and the functions of emptying and deleting tables are provided for tables . Data can be exported as JSON、CSV as well as XML Three formats , It also supports exporting to SQL file .

Click export as SQL file , See what this function is . Open the exported SQL Results file , You can see that its content is to use gs_dump Exported logical backup statement . This file can be used gs_restore Directly in another openGauss Execution on node , To recover completely consistent data .

Let's use what we first saw SQL Operation function . Let's check client In the customer information listed in the table , Bank card account number and account category of each customer , stay SQL Enter the query statement in the edit window
```select client.c_name, client.c_phone, bank_card.b_number from client join bank_card on client.c_id = bank_card.b_c_id;```
In the process of entering a statement , The author was pleasantly surprised to find ,TryMe Of SQL In the operation window , Unexpectedly, it provides the function of Lenovo completion , It can be said to be very convenient and easy to use .
Enter the query statement and click execute , You can see the specific query results . And the result of the query , You can click in the middle JSON、CSV、XML Three buttons , Export the result value to the corresponding file format .

Explain queries and analyze queries , They correspond to each other openGauss Medium explain and analyze Two ways of execution . For example, select and click analysis query , In the result display box, you can see the execution plan of the query statement , And click csv Export the query results as CSV file .

The functions of explanation query and analysis query are SQL It is very useful in the development process , In particular, it needs to be positioned SQL The performance bottleneck of statement execution , The output of the execution plan can support developers to locate and repair problems quickly and effectively .
Okay , The above is about TryMe Simple experience of the platform for the first time , Welcome to login TryMe After experiencing on the platform , Scan the QR code below to enter openGauss TryMe Use the exchange group to discuss the experience of using the platform .

openGauss TryMe The platform uses communication groups
Welcome to visit openGauss Official website

openGauss Open source community official website :
https://opengauss.org
openGauss Organization warehouse :
https://gitee.com/opengauss
openGauss Mirror warehouse :
https://github.com/opengauss-mirror

Scan the code and follow us
WeChat official account |openGauss
Wechat community assistant |openGauss-bot
This article is from WeChat official account. - openGauss(openGauss).
If there is any infringement , Please contact the [email protected] Delete .
Participation of this paper “OSC Source creation plan ”, You are welcome to join us , share .
边栏推荐
- Leetcode56. Consolidation interval
- The code interface is a little automated
- Plato farm is expected to further expand its ecosystem through elephant swap
- 1024 | in the fourth year officially called Menon, the original intention is still there, and continue to move forward
- [MRCTF2020]Ezpop 1
- openGauss之TryMe初体验
- All in one 1353 -- expression bracket matching (stack)
- Kalibr calibration realsensed435i -- multi camera calibration
- 我用字符画出了一个谷爱凌!
- Lua iterator
猜你喜欢

信息化项目风险控制与应用

好吃难吃饱七分为宜;好喝难喝醉三分为佳

海量数据肖枫:共建共治openGauss根社区,共享欣欣向荣新生态
![[target detection] yolov6 theoretical interpretation + practical test visdrone data set](/img/ad/78835eea4decc15e0981e6561b875f.png)
[target detection] yolov6 theoretical interpretation + practical test visdrone data set

An ordinary autumn recruitment experience
Development of three database general SQL code based on PG Oracle and MySQL

Record a PG master-slave setup and data synchronization performance test process

regular expression

Eval and assert execute one sentence Trojan horse

Attack and defense world MFW
随机推荐
Installation and use of beef XSS
Data extraction 2
How does kettle handle text data transfer as' 'instead of null
XxE & XML vulnerability
File name wildcard rules for kettle
[applet] how to get wechat applet code upload key?
[MRCTF2020]Ezpop 1
opengauss从库停掉,发现主库无法写入数据
QT creator code style plug-in beautifier
ERP生产作业控制 华夏
Graph node deployment and testing
CommonTitleBar hide left right
Breadth first search
Interviewer: what is scaffolding? Why do you need scaffolding? What are the commonly used scaffolds?
借生态力量,openGauss突破性能瓶颈
Attack and defense World Lottery
Notes in "PHP Basics" PHP
Bandwidth and currency
Shell script learning day01
docker 安装mysql后进入容器内部发现登录不了mysql