当前位置:网站首页>Opengauss AI capability upgrade to create a new AI native database
Opengauss AI capability upgrade to create a new AI native database
2022-06-11 15:47:00 【Gauss squirrel Club】
Database and AI What kind of sparks will burst out when combined ? Different database vendors 、 The open source community 、 Teachers and students in Colleges and universities don't understand the same . Although it is difficult to form a unified standard in terms of precise concept , However, the overall evolution idea is the same . about openGauss Come on , Since the first version of open source in the community ,openGauss They continue to evolve and contribute code in this field , For this open source openGauss 3.0.0 Version is no exception .
stay 3.0.0 In the version ,openGauss Of AI The field will evolve in many directions :
1. Integrate existing AI4DB function , Open source openGauss Database autonomy platform ;
2. Refactoring existing AI4DB Ability , Plug in implementation 、 Support service-oriented operation mode ;
3. Support Prometheus ecology ;
4. New slow SQL Root cause analysis 、 New features such as time series prediction , Optimize the existing AI Ability ;
5. DB4AI Function supports more algorithms .
DB4AI The native engine is further upgraded
stay openGauss 3.0.0 in ,DB4AI The native engine supports more machine learning algorithms , For example, support SVM Nonlinear kernel function of , Support XGBoost wait . meanwhile ,openGauss It also provides Explain Interface , The information of the model can be observed .
AI4DB Support service-oriented 、 pluggable
The original openGauss AI4DB Ability is an offline tool form , The database cannot be fully monitored in the background , Nor can you regularly find problems in the database . The latest version ,openGauss Realize the background monitoring service , And regularly check the status of the database system in the background , Thus, an autonomous database platform is formed DBMind. In the form of off-line calculation , Save the diagnosis results , The user can go through Grafana And other software for visualization , So as to find the problem at the first time and know the root cause of the problem .
Due to the need to monitor regularly in the background openGauss The running state of the database system , therefore , It is necessary to connect with the monitoring platform to collect database monitoring indicators and conduct offline calculation . so , stay 3.0.0 In the version ,openGauss Realized two exporter Used with Prometheus Dock with the platform , Its architecture is :

among ,openGauss-exporter It is used to obtain the monitoring indicators of the database system (metric),reprocessing-exporter Used to store in Prometheus The data in is processed again . The two above exporter The data of , Can pass Prometheus Collect data regularly .DBMind The system periodically starts from Prometheus Obtain timing data from , And in DBMind Parallel computing on the deployment machine . After the calculation is completed , Store the calculation results in the metabase (meta-database) in . after , The user can get the diagnosis results from the metabase , Further , Can be configured by Grafana And so on .

As shown in the figure above , It is based on the data in the metabase , use Grafana Examples of Visualization .
meanwhile ,openGauss It also fully integrates the existing AI Ability , And redesigned a plug-in mode . for example , The user wants to call the parameter tuning function , Debugging database parameters based on reinforcement learning , It can be realized by the following command :
gs_dbmind component xtuner tune …Through the above gs_dbmind command , You can call all AI function , adopt component Sons command , You can call specific AI function . The user can view the help details through the following commands :
gs_dbmind component --helpThrough the above design ,openGauss If community developers want to contribute some kind of database AI function , Then you only need to ensure that the interface can be gs_dbmind Just get it . meanwhile , The developed plug-in can also call DBMind All that's available API, For example, from Prometheus To get data dai (data access interface) Interface , To metabase (meta database) To insert data into dao (database access object) Interfaces, etc. .
AI4DB existing AI Comprehensive improvement of ability
In this release 3.0.0 In the version ,openGauss Recommend for existing indexes 、 Time series prediction and other functions have also been comprehensively upgraded . Added omission scenarios in previous versions . meanwhile , Slow delivery SQL Root cause analysis and recommendation function , help DBA Quickly identify slow SQL, And according to the monitored database operation indicators , adopt AI The feature library recognition algorithm innovatively gives slow recognition SQL Cause and confidence , Give optimization suggestions at the same time .
Develop a comprehensive database for the next step AI Lay the foundation for an autonomous platform
As mentioned above , stay openGauss 3.0.0 In the version , Innovatively completed the study of history AI Integration of capabilities , Discard the burden left by the process of historical research and development , go to the battle-front without any burden , Innovatively realize the serviceability 、 Offline type 、 Plug in 、 Freely assembled DBMind platform , And release it together with the database installation package . For the results after diagnosis , Users can use Grafana And other tools for custom Visualization ( Of course , We will also provide Grafana Example ).
This will help us further in the future DBMind Lay the foundation for platform upgrading , It is expected that this year openGauss Will be more AI Rich functions into the platform , At the same time, the platform is independent from the existing code warehouse , And provide native Web Front and rear display platforms , At the same time, it supports self repair function , Let users really experience the one click 、 Database autopilot out of the box .
- END -
边栏推荐
- 如何管理并发写入操作?带你快速上手
- Shuttle -- hero component
- [creation mode] prototype mode
- With a lamp inserted in the nostril, the IQ has risen and become popular in Silicon Valley. 30000 yuan is enough
- CF662B Graph Coloring题解--zhengjun
- GO语言数组和切片的区别
- 数据库资源负载管理(上篇)
- 让快递快到来不及退款的,真的不是人
- Hard core analysis lazy single case
- 【0006】title、關鍵字及頁面描述
猜你喜欢

openGauss 3.0.0版本正式发布,立即体验社区首个轻量版本

GO语言-Slice切片

ASEMI的MOS管25N120在不同应用场景的表现

【0006】title、關鍵字及頁面描述

将配置导出到FTP或TFTP服务器

Let me tell you the benefits of code refactoring
![[system safety] XLII PowerShell malicious code detection series (4) paper summary and abstract syntax tree (AST) extraction](/img/d9/67ad40ba63de8006b67e51b0c82a84.png)
[system safety] XLII PowerShell malicious code detection series (4) paper summary and abstract syntax tree (AST) extraction

Daily blog - wechat service permission 12 matters
![[系统安全] 四十二.Powershell恶意代码检测系列 (4)论文总结及抽象语法树(AST)提取](/img/d9/67ad40ba63de8006b67e51b0c82a84.png)
[系统安全] 四十二.Powershell恶意代码检测系列 (4)论文总结及抽象语法树(AST)提取

数据库资源负载管理(下篇)
随机推荐
Why are bugs changing more and more?
Docker uses redis image
MOS transistor 24n50 parameters of asemi, 24n50 package, 24n50 size
【创建型模式】抽象工厂模式
如何管理并发写入操作?带你快速上手
Learn automatic testing of postman interface from 0 to 1
Database design recommendations
我的代码变量名称统一 记录
[creation mode] prototype mode
将配置导出到FTP或TFTP服务器
Charles自动保存响应数据
Introduction to JVM basic concepts
测试9年,面试华为要薪1万,华为员工:公司没这么低工资的岗
openGauss 3.0.0版本正式发布,立即体验社区首个轻量版本
From 0 to 1, master the mainstream technology of large factories steadily. Isn't it necessary to increase salary after one year?
openGauss数据库ODBC环境连接配置(Windows)
线程实战入门【硬核慎入!】
openGauss并行解码浅谈
[Yugong series] June 2022 Net architecture class 077 distributed middleware schedulemaster loading assembly timing task
2022 Tibet's latest junior firefighter simulation test question bank and answers