跳到主要内容

Transaction

This page provides a comprehensive overview of Transaction operations in Databend, organized by functionality for easy reference.

Transaction Control

CommandDescription
BEGINStarts a new transaction
COMMITCommits the current transaction and makes all changes permanent
ROLLBACKAborts the current transaction and discards all changes

Transaction Information

CommandDescription
SHOW LOCKSDisplays information about active locks in the system
备注

Transactions in Databend ensure data consistency by grouping SQL operations into atomic units that either completely succeed or completely fail, maintaining database integrity.

开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册