Amazon Athena查询历史记录报告

0

【以下的问题经过翻译处理】 Amazon Athena查询历史记录报告

profile picture
EXPERT
asked 5 months ago21 views
1 Answer
0

【以下的回答经过翻译处理】 通过编程方式检索和保存查询历史记录:

  1. 使用Athena ListQueryExecutions API动作或list-query-executions CLI命令检索查询ID。
  2. 使用Athena GetQueryExecution API动作或get-query-execution CLI命令根据其ID检索有关每个查询的信息。
  3. 使用Amazon S3 PutObject API动作或put-object CLI命令将信息保存在Amazon S3中。

请查看使用查询结果、输出文件和查询历史记录了解更多细节。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions