All Products
Search
Document Center

Tablestore:Operations on local transactions

Last Updated:Jun 17, 2026

After you enable the local transaction feature for a data table, you can create a local transaction within a specific partition key value to perform read and write operations on the data.

API operations

The following table lists the API operations for local transactions.

Item

API

Description

Create a local transaction

StartLocalTransaction

Creates a local transaction for data that shares the same partition key value.

Commit a local transaction

CommitTransaction

Commits a local transaction to save the data modifications after read and write operations are complete.

Abort a local transaction

AbortTransaction

Aborts a local transaction to discard data modifications, or waits for the transaction to time out.