SET SESSION COLLECTION - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ynh1604715438919.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

Sets the session collection rate period.

Syntax

SET SESSION { COLLECTION | COLL } n
n
period in seconds.
Valid rates range from 0 through 3600.

Usage Notes

If the SET SESSION COLLECTION command is set to OFF, monitoring of the session rate is disabled. However, if you type a Set Session Collection rate between 0 and 3600, the monitoring is enabled automatically.

For more information, see “SET SESSION RATE” in Teradata Vantage™ - Application Programming Reference, B035-1090.

Example: Setting the session collection rate

In this example, the session collection rate is set to 10 seconds on the current system.

set session collection 10

Monitor Session Rate set to 10 seconds, prior rate was disabled.