View Users' Saved Queries as Redshift Admin?

0

I am an admin of our Redshift cluster. Is there a way for me to view (unshared) queries that have been saved by my Redshift users - especially decommissioned ones? I am worried that following the departure of some colleagues (and old roles that have been swapped out by our IT team), we may have lost very valuable queries that were saved via Query Editor. I am aware that I can view SOME recent query history via tables like STL_QUERY but I've already discovered there's pretty much no overlap between Saved Queries and that content.

질문됨 3달 전292회 조회
1개 답변
0

Hello William,

The saved queries in Query editor v2 are specific to the user who saves the query. You cant view these queries in any system table/views unless the queries are executed on the Redshift cluster. I would also recommend using SYS_QUERY_HISTORY to get all the key query metrics from a single view.

Please feel free to comment if you have any other questions.

AWS
전문가
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인