DV_SESSION_LONGOPS
DV_SESSION_LONGOPS displays the progress of ongoing operations. Users can access this view only after being authorized. In the multi-tenancy scenario, global information is returned if this view is accessed in a non-PDB, and information about a PDB is returned if this view is accessed in the PDB.
| Name | Type | Description |
|---|---|---|
| sid | bigint | OID of the running backend thread. |
| serial# | integer | Sequence number of the running backend thread, which is 0 in GaussDB. |
| sofar | integer | Completed workload, which is null in GaussDB. |
| totalwork | integer | Total workload, which is null in GaussDB. |