arrow
Return

GaussDB-AISQL: a composable cloud-native SQL system with AI capabilities

delete2025-01-22
delete1
PRE
AI
C
Cheng Chen
W
Wenlong Ma
G
Gao, Congli
W
Wenliang Zhang
K
Kai Zeng
叶涛 (Terry Tao Ye)
陈跃国 cover
陈跃国 (Yueguo Chen) *
X
Xiaoyong Du
DOI:10.1007/s11704-024-40624-2delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Cloud-native data warehouses have revolutionized data analysis by enabling elasticity, high availability and lower costs. And the increasing popularity of artificial intelligence (AI) drives data warehouses to provide predictive analytics besides the existing descriptive analytics. Consequently, more vendors start to support training and inference of AI models in data warehouses, exploiting the benefits of near-data processing for fast model development and deployment. However, most of the existing solutions are limited by a complex syntax or slow data transportation across engines.In this paper, we present GaussDB-AISQL, a composable SQL system with AI capabilities. GaussDB-AISQL adopts a composable system design that decouples computing, storage, caching, DB engine and AI engine. Our system offers all the functionality needed by end-to-end model training and inference during the model lifecycle. It also enjoys the simplicity and efficiency by providing a SQL-like syntax and removes the burden of manual model management. When training an AI model, GaussDB-AISQL benefits from highly parallel data transportation by concurrent data pulling from the distributed shared memory. The feature selection algorithms in GaussDB-AISQL make the training more data-efficient. When running model inference, GaussDB-AISQL registers the trained model object in the local data warehouse as a user-defined-function, which avoids moving inference data out of the data warehouse to an external AI engine. Experiments show that GaussDB-AISQL is up to 19x faster than baseline approaches.
Keywords:
database system
data management
OLAP
cloud computing
AI
machine learning

Journal

Frontiers of Computer Science cover
Frontiers of Computer Science
IF:
4.6
Papers:
1.6K
Citations:
2.8K

Organization

H
huawei technologies
Scholars:
3.3K
Papers: 2.9K
Citations: 1
R
Renmin University of China
Scholars:
8.1K
Papers: 7.7K
Citations: 1.1W