SVCS_STREAM_SEGS
Lists the relationship between streams and concurrent segments.
This table 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 |
---|---|---|
userid | integer | ID of the user who generated the entry. |
query | integer | Query ID. The query column can be used to join other system tables and views. |
stream | integer | The set of concurrent segments of a query. |
segment | integer | Number that identifies the query segment. |
Sample Queries
To view the relationship between streams and concurrent segments for the most recent query, type the following query:
select * from svcs_stream_segs where query = pg_last_query_id(); query | stream | segment -------+--------+--------- 10 | 1 | 2 10 | 0 | 0 10 | 2 | 4 10 | 1 | 3 10 | 0 | 1 (5 rows)