Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

STL_UNDONE - Amazon Redshift

STL_UNDONE

Displays information about transactions that have been undone.

STL_UNDONE is visible to all users. Superusers can see all rows; regular users can see only their own data. For more information, see Visibility of data in system tables and views.

Some or all of the data in this table can also be found in the SYS monitoring view SYS_TRANSACTION_HISTORY. The data in the SYS monitoring view is formatted to be easier to use and understand. We recommend that you use the SYS monitoring view for your queries.

Table columns

Column name Data type Description
userid integer ID of the user who generated the entry.
xact_id bigint ID for the undo transaction.
xact_id_undone bigint ID for the transaction that was undone.
undo_start_ts timestamp Start time for the undo transaction.
undo_end_ts timestamp End time for the undo transaction.
table_id bigint ID for the table that was affected by the undo transaction.

Sample query

To view a concise log of all undone transactions, type the following command:

select xact_id, xact_id_undone, table_id from stl_undone;

This command returns the following sample output:

xact_id | xact_id_undone | table_id ---------+----------------+---------- 1344 | 1344 | 100192 1326 | 1326 | 100192 1551 | 1551 | 100192 (3 rows)
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.