Athena Migration

0

I have Athena tables, views created on S3 in an account which I want to migrate to another account. What is the best possible way to migrate?

已提問 2 年前檢視次數 900 次
1 個回答
0

Hi, @Ajeeth K

There are no migration methods available, so you'll have to do the extraction and copying yourself.

You can get the metadata structure of the table used by Athena with aws glue get-table.
Then, by deleting unnecessary fields and changing the parameters for the acquired structure and doing aws glue create-table, you can copy the structure to another database and use it from Athena.

The unnecessary fields are:

  • DatabaseName
  • CreateTime
  • UpdateTime
  • CreatedBy
  • IsRegisteredWithLakeFormation
  • CatalogId
  • CatalogId
profile picture
專家
iwasa
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南