GRANT (Monitor Form) Statement| SQL Data Control Language | Teradata Vantage - GRANT (Monitor Form) - Analytics Database - Teradata Vantage

SQL Data Control Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
sgu1628111251052.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dvv1472243528022
lifecycle
latest
Product Category
Teradata Vantageā„¢

Grants system-wide performance monitoring privileges.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have MONITOR privileges to use the monitor form of GRANT.

These privileges should be granted only to those users who are cleared to monitor all applications on all sessions.

There is no lower level of MONITOR privilege: its scope is always global. For example, the database administrator cannot grant user Addams the ability to do session-level monitoring of her applications only. Instead, the DBA would have to grant Addams the permission to do session-level monitoring of all applications by all sessions.

To determine who is currently using the MONITOR partition, issue the following query:

SELECT UserName, IFPNo
FROM DBC.SessionInfoV
WHERE partition = 'MONITOR';

The GRANT statement is used only to assign specific privileges.

To transfer ownership of a database or user, see GIVE.