1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
1
To get the number of queries executed by each IAM account in Amazon Redshift, you can query the STL_QUERY table. This table contains information about queries, including the user ID of the account that executed the query. By using the STL_QUERY table, you can track the number of queries executed by each IAM account. Here is an example SQL query to retrieve the number of queries executed by each IAM account:
SELECT userid, COUNT(*) AS num_queries FROM stl_query GROUP BY userid;
This query will provide the count of queries executed by each IAM account.
respondido hace 4 meses
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
Please accept the answer if it is useful.