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.”

SVV_ACTIVE_CURSORS

Focus mode
SVV_ACTIVE_CURSORS - Amazon Redshift

SVV_ACTIVE_CURSORS displays details for currently open cursors. For more information, see DECLARE.

SVV_ACTIVE_CURSORS 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. A user can only view cursors opened by that user. A superuser can view all cursors.

Table columns

Column name Data type Description
user_id integer The ID of the user who created the cursor.
cursor_name varchar(128) The name of the cursor.
transaction_id bigint(128) The ID of the transaction.
session_id integer The ID of the process with the active cursor.
declare_time timestamp The time the cursor was declared.
total_bytes bigint The size of the cursor result set, in bytes.
total_rows bigint The number of rows in the cursor result set.
fetched_rows bigint The number of rows currently fetched from the cursor result set.
cursor_storage_limit_used_percent integer The percentage of disk space currently used by the cursor.

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.