V$SESSION
V$SESSION displays all session information about the current session.
| Name | Type | Description |
|---|---|---|
| sid | Bigint | OID of the background process of the current activity |
| serial# | Integer | Sequence number of the active background process, which is 0 in GaussDB(DWS). |
| user# | OID | OID of the user that has logged in to the background process |
| username | Name | Name of the user that has logged in to the background process |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.