Book Contents

Book Index

Next Topic

Home

Managing Sessions

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:

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.