SET SESSION COLLECTION - Analytics Database - Teradata Vantage

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantage™

Sets the session collection rate period.

Syntax

SET SESSION { COLLECTION | COLL } n

Syntax Elements

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.

See also the information about the SET SESSION RATE statement 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.