Database Manual / Reference / Database Commands

Sessions Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

CommandDescriptionAtlas Support

abortTransaction

Abort transaction.

Yes

commitTransaction

Commit transaction.

Yes

endSessions

Expire sessions before the sessions' timeout period.

Yes

killAllSessions

Kill all sessions.

No support for Flex clusters, M0, and M10 clusters.

killAllSessionsByPattern

Kill all sessions that match the specified pattern

No support for M0 and Flex clusters.

killSessions

Kill specified sessions.

No support for M0 and Flex clusters.

refreshSessions

Refresh idle sessions.

Yes

startSession

Starts a new session.

Yes