INFORMATION FROM RELEASE NOTES
Vertica now provides powerful methods for database administrators to view and control sessions. The methods vary according to the type of session:
You can view a list of currently active sessions (including internal sessions) and can interrupt or close external sessions when necessary.
Viewing Sessions
There are two virtual tables that you can use to view the session status of your database: VT_SESSION and VS_SESSION. Both tables have the same set of columns, as described in the SQL Reference Manual. However:
These virtual tables have the same query limitations as all other virtual tables:
Reviewers:
Re: "The VT_SESSION table typically reports the state returned by the initiator node of each session, though if a bug or race condition caused a session to be closed on the initiator while it was still open on an executor, it would show in the VT_SESSION with the executor node listed in the node column."
We don't talk about intiator vs. executor nodes in the doc. Is this information important enough to warrant doing so?
Interrupting and Closing Sessions
These actions are provided in the form of SQL functions:
These functions are described in detail in the SQL Reference Manual.
Is this true?
SELECT statements that call these functions return when the interrupt or close message has been delivered to all nodes, not after the interrupt or close has completed.
END OF INFORMATION FROM RELEASE NOTES
Logging
Logging at the INFO level consists of a message indicating that the cancel command was received, a message on each node upon receipt of the cancel command, and a final message indicating the result of the cancel command that will be reported to the client (success or error code).
What is the relationship of a "cancel message" to the SQL functions? Examples needed.