当前位置:网站首页>Come with me to understand gaussdb (for opengauss) [Gauss is not a mathematician this time]
Come with me to understand gaussdb (for opengauss) [Gauss is not a mathematician this time]
2022-06-10 16:20:00 【Hua Weiyun】
1、 brief introduction
GaussDB(for openGauss) It is a self-developed enterprise level distributed relational database built by Huawei , This product has the ability of enterprise level complex transaction mixed load , At the same time, it supports excellent distributed transactions , Across the city AZ Deploy , data 0 The loss of , Support 1000+ Expand capabilities ,PB Enterprise class database features such as mass storage . Have high availability on the cloud , Highly reliable , High security , Stretch and stretch , One key deployment , Fast backup recovery , Monitoring, warning and other key capabilities , It can provide comprehensive functions for enterprises , Stable and reliable , Extensibility is strong , Enterprise database service with superior performance . At the same time, Huawei is open source openGauss Stand alone active / standby community version , Encourage more partners 、 Developers will jointly prosper China's database ecology .

2、 The overall architecture
GaussDB(for openGauss) The overall architecture of the distributed form is as follows :

3、 Product advantage
3.1、 High security
GaussDB(for openGauss) Have TOP Level commercial database security features : Data dynamic desensitization ,TDE Transparent encryption , Row level access control , Dense state calculation . It can meet the needs of government and enterprises & The core security demands of financial customers .

3.2、 High availability
Support cross machine room 、 Same city 、 Off site 、 More flexible and more available , Support distributed strong consistency , data 0 The loss of (RPO=0 PTO<30 second ).

3.3、 High expansion
Through distributed global transaction consistency optimization , Break the traditional distributed performance bottleneck , Realize the free horizontal scalability of computing and storage , At the same time, it supports the data online of new partitions .

3.4、 High performance
Strong performance ,32 Node size provides up to 1500 ten thousand tpmC Transaction processing capabilities of .3 node TPCH Standard performance pressure test ,500GB < 200s,1000GB < 500s, The maximum data volume of a single cluster exceeds 4PB.

4、 Application scenarios
4.1、 Transactional applications
Big concurrent 、 Large amount of data 、 Transaction oriented application based on online transaction processing , Such as government affairs 、 Finance 、 Online retailers 、O2O、 telecom CRM/ Billing, etc , Service capability supports high expansion 、 Elastic expansion and contraction , Applications can choose different deployment scales as required .

4.2、 Detailed list inquiry
Have PB Level data load capacity , Through memory analysis technology to meet the requirements of massive data storage and query , For safety 、 telecom 、 Finance 、 Detailed order inquiry business in the Internet of things and other industries .

5、 Operation instruction
5.1、 technological process
flow chart

5.2、 Log in to the console
Operation steps
- Log in to the administration console .
- Click... In the upper left corner of the administration console , Select areas and projects .

- Click... In the upper left corner of the page , choice “ database > Cloud database GaussDB”. Get into Cloud database GaussDB Information page .

2. In the left navigation bar, select GaussDB(for openGauss) > Instance management .
Get into GaussDB(for openGauss) Information page .
5.3、 Purchase instance
- stay “ Instance management ” page , single click “ Purchase database instance ”.

- On the create instance page , Select billing mode , Fill in and select the instance related information , single click “ Buy now ”.
chart 1 Billing mode and basic information

chart 2 Specification and storage

Network and database configuration

For on-demand instances , Confirm the specification .

5.4、 The connection instance
- Log in to the elastic ECS of the application .
- On the elastic ECS of the application , Upload the client toolkit and configure gsql Execution environment variable of .
- With root The user logs in to the client machine .
- establish “/tmp/tools” Catalog .
mkdir /tmp/tools- obtain GaussDB(for openGauss) software package “GaussDB_opengauss_client_tools.zip” And extract the .
- Enter different directories according to the operating system architecture of the applied elastic ECs , obtain “GaussDB-Kernel-xxx-EULER-64bit-gsql.tar.gz”, And upload it to the elastic ECS of the application “/tmp/tools” Under the path .
- Unzip the file .
f. cd /tmp/toolstar -zxvf GaussDB-Kernel-xxx-EULER-64bit-gsql.tar.gzxxx Version number , Please replace according to the actual situation .
Set the environment variable .
open “~/.bashrc” file .
vi ~/.bashrcPress down i Key in INSERT Pattern , Enter the following into it , single click “ESC” Exit edit mode , Use “:wq!” Command save and exit .
export PATH=/tmp/tools/bin:$PATHexport LD_LIBRARY_PATH=/tmp/tools/lib:$LD_LIBRARY_PATHMake the environment variable configuration work .
source ~/.bashrc- Execute the following instructions , Enter the password as prompted , Connect to database .
After the database is created successfully , The default generation name is postgres The database of .
gsql -d postgres -h 10.0.0.0 -U root -p 8000Password for user root:postgres The name of the database to be connected ,10.0.0.0 Distributed as CN Of IP Address , The primary and standby versions are primary DN Of IP Address ,root Is the user name to log in to the database ,8000 by CN Port number .
SSL Connect
- Log in to the administration console .
- stay “ Instance management ” page , Click the instance name to enter “ essential information ” page , single click “ database information ” modular “SSL” Situated , Download the root certificate or bundle .
- Upload the root certificate to the required connection GaussDB(for openGauss) Elastic ECS of the instance , Or save to a device that can access the database instance .
Import the root certificate into the elastic ECs Linux operating system , Please see the Import the root certificate into Windows/Linux operating system .
4. Connect GaussDB(for openGauss) example . With Linux System as an example , Set the environment variable , Execute the following command .
5. export PGSSLMODE=<sslmode>export PGSSLROOTCERT=<ca-file-directory>5. Set the environment variable , Use root user SSL Connect postgres Database instance , Examples are as follows :
export PGSSLMODE="verify-ca"export PGSSLROOTCERT="/home/Ruby/ca.pem"gsql -d postgres -h 10.0.0.0 -U root -p 8000Password for user root:6. After logging into the database , The following information appears , Said by SSL Successful connection .
SSL connection (cipher: DHE-RSA-AES256-GCM-SHA384, bits: 256)【 Gauss is not a mathematician this time 】 The award-winning essay solicitation is in full swing :https://bbs.huaweicloud.com/blogs/345260
边栏推荐
- 「技术干货」工业触摸屏之驱动开发及异常分析(连载)
- 安霸CV2FS/CV22FS获得ASIL C芯片功能安全认证,超越市场同类芯片水平
- MapReduce案例之聚合求和
- Unified certification center oauth2 certification pit
- PV operation daily question - black and white chess question (variant)
- RGB颜色空间、色调、饱和度、亮度、HSV颜色空间详解
- Conversion between localdate and date
- 2D human posture estimation for posture estimation - numerical coordinate progression with revolutionary neural networks (dsnt)
- 【第六节 函数】
- Jerry's interface for obtaining ble broadcast package and profile data [chapter]
猜你喜欢

服务器运维环境安全体系(下篇)

"Bloom Cup" 5g Application Award grand slam! Several joint projects of guanghetong won the first, second and third prizes in the general product theme competition

I used Matlab to reproduce the trembling sonic boom Fire Games Apple snake

Detailed explanation of RGB color space, hue, saturation, brightness and HSV color space

Missing setjarbyclass() when running MapReduce task. No class found

SQL language

Opencv 4 handwriting recognition: perfect self built training set

Analysis of different dimensions of enterprise reviewers: enterprise growth of Hunan Great Wall Science and Technology Information Co., Ltd

直播預告 | 解構OLAP!新型多維分析架構範式全公開!Apache Doris 將帶來五個重磅議題!

Code implementation of partition case of MapReduce
随机推荐
Cube 技术解读 | Cube 渲染设计的前世今生
sm59远程连接,如果提示没有host,则在服务器上加上host,然后重启sap_SAP刘梦
torch. utils. data. Dataloader() details [pytoch getting started manual]
Save a window with a specific size, resolution, or background color
Code implementation of partition case of MapReduce
2D human pose estimation for pose estimation - simdr: is 2D Heatmap representation even necessity for human pose estimation?
torch.utils.data.DataLoader()详解【Pytorch入门手册】
作用域和闭包
Code implementation of sorting and serializing cases in MapReduce
[object].
This and object prototypes
[section 14 STL container II]
Use of hardware instruments
PV operation daily question - exam questions
Fortex Fangda releases the electronic trading ecosystem to share and win-win with customers
安霸CV2FS/CV22FS获得ASIL C芯片功能安全认证,超越市场同类芯片水平
Implementation of word count case code in MapReduce
姿态估计之2D人体姿态估计 - Simple Baseline(SBL)
2290. Minimum Obstacle Removal to Reach Corner
Opencv 4 handwriting recognition: perfect self built training set