Skip to content

Commit

Permalink
add hyperlinks for sql commands
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <stdrc@outlook.com>
  • Loading branch information
stdrc committed Dec 12, 2024
1 parent b1d5f98 commit 4977f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processing/sql/transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Transactions in databases refer to logical units of work that consist of one or

RisingWave supports read-only transactions, where all reads within a transaction are executed against the consistent Hummock snapshot. Hummock is the LSM-Tree-based storage engine in RisingWave that is specifically optimized for streaming workloads.

To initiate a transaction, use either the `START TRANSACTION READ ONLY` or `BEGIN READ ONLY` command. Subsequently, you can execute queries to read data from the consistent snapshot. To finalize the transaction and submit the queries as a single unit, use the `COMMIT` command.
To initiate a transaction, use either the [`START TRANSACTION READ ONLY`](/sql/commands/sql-start-transaction) or [`BEGIN READ ONLY`](/sql/commands/sql-begin) command. Subsequently, you can execute queries to read data from the consistent snapshot. To finalize the transaction and submit the queries as a single unit, use the [`COMMIT`](/sql/commands/sql-commit) command.

Please note that data modifications are not allowed while a transaction is initiated but not yet committed. The statements listed below are not allowed within a transaction:

Expand Down

0 comments on commit 4977f52

Please sign in to comment.