Query Id: ddfe7caf-be98-4c33-a2f1-b50502a22961

0

My query is showing time out error in athena I want list of s3 objects in csv format from my bucket

질문됨 2년 전184회 조회
2개 답변
1

You need to consider the volume of data you're trying to scan - not just the amount you expect to retrieve, but how much data will have to be scanned to gather the retrieved data. If you have a lot of data you'll need to partition it and limit your query to target less partitions to avoid timeouts and long queries. As an example, see this blog post about using Partition Projection for Athena queries on CloudTrail logs in S3 - https://www.linkedin.com/pulse/using-athena-partition-projection-query-cloudtrail-other-kinsman/?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_post_details%3Brq0yhJ20SQKlSN9blwev9g%3D%3D

전문가
답변함 2년 전
AWS
전문가
검토됨 2년 전
0

Hi, if you want to understand some specific information on a query execution, your best option is to open a support case.

Athena has a default timeout set to 30 minutes, you can submit a request to change it if you expect the query to run longer that.

Please, clarify the type of Query, possibly sharing it and the DDL of the table as well, if you would like a more precise answer.

Also, please refer to the answer to your other question considering Amazon S3 Inventory , if that could help in your use case.

AWS
전문가
답변함 2년 전

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

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

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

관련 콘텐츠