Database connection (_Connect)
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The _Connect VST displays information about two-phase commit, batch user, and device connections.
Note: If you connect to a database on UNIX through a Telnet session using
-S port -H localhost, then a TTY session ID is appended to the field.| Field name | Data type | Description |
|---|---|---|
| _Connect-2phase | INTEGER | Displays a two-phase commit flag:
|
| _Connect-Batch | CHARACTER | Displays the status of batch users. |
| _Connect-CacheInfoType | CHARACTER | Displays the client database-request statement cache types, which include:
|
| _Connect-CacheInfo[32] | CHARACTER | Contains tracing information based on the the type (_Connect-CacheInfoType):
|
| _Connect-CacheLineNumber[32] | INTEGER | Contains line numbers based on the type (_Connect-CacheInfoType):
|
| _Connect-CacheLastUpdate | CHARACTER | The current date and time of the client database-request statement cache, for example Thu Dec 23 16:24:20 2021. |
| _Connect-CacheLastUpdate-TZ | TIMESTAMP | The current date and time of the client database-request statement cache. The datetime displays in datetime-tz format, for example, 12/23/2021 16:24:20.881-05:00. |
| _Connect-CachingType | INTEGER | The type of client database-request statement caching performed by the client. This field includes:
|
| _Connect-ClientType | CHARACTER | The client type for remote and local clients connected to the database. The field contains one of the following values:
|
| _Connect-Details | CHARACTER | Connection data in the format :<hostname>:<pid>:<sessionid>. The session ID identifies a unique session when a multi-session PAS for OpenEdge agent is connected. |
| _Connect-Device | CHARACTER | Device from which the user has connected to the database. Note: If you are connecting to a database on UNIX through a Telnet session using -S port -H localhost, then a TTY session ID is appended to the field. |
| _Connect-Disconnect | INTEGER | Displays a disconnect flag. |
| _Connect-DomainId | INT64 | Domain ID of the connection. |
| _Connect-Id | INT64 | User number. |
| _Connect-Interrupt | INTEGER | Displays an interrupt flag. |
| _Connect-IPAddress | CHARACTER | Displays the IP address of a remote client connection. |
| _Connect-LastNotifyCheck | CHARACTER | Datetime when the user last checked for notifications, for example, Thu Dec 23 16:24:20 2021. |
| _Connect-LastNotifyCheck-TZ | TIMESTAMP | Datetime when the user last checked for notifications. The datetime displays in datetime-tz format, for example, 12/23/2021 16:24:20.881-05:00. |
| _Connect-Misc | CHARACTER | User updatable field. |
| _Connect-Name | CHARACTER | Displays the user name used for the connection. |
| _Connect-Notifications | CHARACTER | Note:
Displays notification codes. Schema recache is indicated by R. Valid codes include:This field is deprecated in this release. Use _Connect-NotifyTime and _Connect-LastNotifyCheck fields instead.
|
| _Connect-NotifySeq | INTEGER | The sequence value of the last database notification handled by the user. |
| _Connect-NotifySeqChecked | INTEGER | The sequence value of the last database notification checked by the user. |
| _Connect-NotifyTime | INTEGER | The current user notification polling time in seconds. A value of zero (0) indicates that notification is not enabled. |
| _Connect-NotifyVers | INTEGER | An internal version identifier that shows the types of database notifications supported by the client. Valid values include:
|
| _Connect-NumSeqBuffers | INTEGER | The number of private buffers specified by -Bp. |
| _Connect-NumTrans | INT64 | The number of transactions for this connection. |
| _Connect-PartitionId | INTEGER | Displays the partition ID. This field is valid if the database is enabled for table partitioning, and the wait type is REC or RGET. |
| _Connect-Pid | INTEGER | Displays the process ID of the user session. |
| _Connect-Resync | INTEGER | Displays a flag that indicates the database is resynchronizing. |
| _Connect-SemId | INTEGER | Displays the semaphore ID. |
| _Connect-SemNum | INTEGER | Displays the semaphore number. |
| _Connect-Server | INTEGER | Identifies the server by server number if the connection is remote. |
| _Connect-ServerPid | INTEGER | Displays the process ID of the client's server. |
| _Connect-ServerTid | INTEGER | Displays the thread ID of the client's server. |
| _Connect-ServerUsrNum | INTEGER | Displays the user number of the client's server if the connection is remote. |
| _Connect-TenantId | INTEGER | Tenant ID for the user. |
| _Connect-Tid | INTEGER | Displays the thread ID of the user session. |
| _Connect-Time | CHARACTER | Time when the user connected to the database, for example, Thu Dec 23 16:24:20 2021. |
| _Connect-Time-TZ | TIMESTAMP | Time when the user connected to the database.The datetime displays in datetime-tz format. for example: 12/23/2021 16:24:20.881-05:00. |
| _Connect-Timestamp | INTEGER | Timestamp of the user's schema cache. |
| _Connect-TransId | INTEGER | Displays the current transaction ID. |
| _Connect-Type | CHARACTER | Displays the connection type: SELF, REMC, BROK, SERV, or BTCH. |
| _Connect-UsedSeqBuffers | INTEGER | The number of private (-Bp) buffers in use. |
| _Connect-UserMisc | CHARACTER(32) | User updateable field (32 byte maximum). |
| _Connect-Usr | INTEGER | Displays the user number. |
| _Connect-Wait | CHARACTER | Displays the shared-memory resource on which the user is waiting. |
| _Connect-Wait1 | INT64 | The ID of a resource on which the process is waiting if _Connect-Wait has a value. For example, if waiting on a record lock, this field contains rowid:partition. |
| _Connect-Wait2 | INTEGER | Displays additional information based on the value of _Connect-Wait1.
|