skip to main content
Querying data stores with SQL : Catalog tables : SYSTEM_REMOTE_SESSIONS catalog table
  

Try Now

SYSTEM_REMOTE_SESSIONS catalog table

The system table named SYSTEM_REMOTE_SESSIONS stores information about the each of the remote sessions that are active for a given data store. The values in the SYSTEM_REMOTE_SESSION table are read-only.
The following table defines the columns of the SYSTEM_REMOTE_SESSIONS table, which is sorted on the following columns: SESSION_ID and SCHEMA.
Table 205. SYSTEM_REMOTE_SESSIONS catalog table
Column name
Data type
Description
SESSION_ID
INTEGER, NOT NULL
The connection (session) id with which the remote session is associated.
SCHEMA
VARCHAR(128), NOT NULL
The schema name that is mapped to the remote session.
TYPE
VARCHAR(30), NOT NULL
The remote session type. The current valid type is Salesforce.
INSTANCE
VARCHAR(128)
The remote session instance name or null if the remote data source does not have multiple instances. The Salesforce value for INSTANCE has the following form:Organization_Name [Sandbox]where Organization_Name is the organization name of the instance to which the connection is established. If the connection is established to a sandbox of the organization, then the word Sandbox is added to the end of the name.
VERSION
VARCHAR(30), NOT NULL
The version of the remote data source to which the session is connected. For Salesforce, this is the version of the Web Service API the driver is using to connect to Salesforce.
CONFIG_OPTIONS
LONGVARCHAR, NOT NULL
The configuration options used to define the remote data model to relational data model mapping.
SESSION_OPTIONS
LONGVARCHAR, NOT NULL
The options used to establish the remote connection. This typically is information needed to log into the remote data source. The password value is not displayed.
WS_CALL_COUNT
INTEGER, NOT NULL
The number of Web service calls made through this remote session. The value of the WS_CALL_COUNT column can be reset using the ALTER SESSION statement.
WS_AGGREGATE_CALL_COUNT
INTEGER, NOT NULL
The total of all of the Web service calls made to the same remote data source by all active connections using the same server name and user ID.
REST_AGGREGATE_CALL_COUNT
INTEGER, NOT NULL
The number of REST calls made by this connection. REST calls are used for bulk operations, invoking reports, and describing report parameters.