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?

gefragt vor 2 Jahren900 Aufrufe
1 Antwort
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
EXPERTE
iwasa
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen