Menu
Amazon Redshift
Database Developer Guide (API Version 2012-12-01)

STV_SLICES

Use the STV_SLICES table to view the current mapping of a slice to a node.

The information in STV_SLICES is used mainly for investigation purposes.

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

Table Columns

Column Name Data Type Description
node integer Cluster node where the slice is located.
slice integer Node slice.

Sample Query

To view which cluster nodes are managing which slices, type the following query:

Copy
select * from stv_slices;

This query returns the following sample output:

Copy
node | slice ------+------- 0 | 2 0 | 3 0 | 1 0 | 0 (4 rows)

On this page: