1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Hi nmakb,
I believe you can construct query or view for what you're looking by basing a query off of a UNION of query system log table pg_catalog.stl_scan jointed to a few other table for all table in Redshift storage UNIONEed with a query of svl_s3query smilarly joined to a few other tables to get the query text and the table and schema name.
Basically stl_scan tracks all table scan operators against table in Redshift storage for in all query plans and svl_s3query effectively does the same because all Spectrum sub-queries are single table in nature and produce equivalent scan results returned to the slices from the Spectrum layer.
I hope this helps you develop the result set you're looking for.
Regards,
-Kurt
respondido há 5 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos