AWS Prescriptive Guidance Archiving data in Amazon RDS for MySQL, Amazon RDS for MariaDB,
and Aurora MySQL-Compatible
Table of Contents
Introduction ..................................................................................................................................... 1
Overview ......................................................................................................................................................... 1
Targeted outcomes .......................................................................................................................... 2
Archive from partitioned tables ..................................................................................................... 4
Archive from unpartitioned tables ................................................................................................. 6
Move data to Amazon S3 ................................................................................................................ 7
Use SELECT INTO OUTFILE S3 .................................................................................................................. 7
Use Data Pipeline ......................................................................................................................................... 8
Use AWS Glue ............................................................................................................................................... 8
Accessing archived data ................................................................................................................ 12
Standard storage class .............................................................................................................................. 12
S3 Glacier storage classes ........................................................................................................................ 13
Best practices .............................................................................................................................................. 14
Cleanup ........................................................................................................................................... 16
Resources ........................................................................................................................................ 17
Appendix I ...................................................................................................................................... 18
Appendix II ..................................................................................................................................... 20
Document history .......................................................................................................................... 23
Glossary .......................................................................................................................................... 24
# ..................................................................................................................................................................... 24
A ..................................................................................................................................................................... 25
B ..................................................................................................................................................................... 28
C ..................................................................................................................................................................... 30
D ..................................................................................................................................................................... 33
E ..................................................................................................................................................................... 37
F ..................................................................................................................................................................... 39
G ..................................................................................................................................................................... 40
H ..................................................................................................................................................................... 41
I ...................................................................................................................................................................... 42
L ..................................................................................................................................................................... 45
M .................................................................................................................................................................... 46
O .................................................................................................................................................................... 50
P ..................................................................................................................................................................... 52
Q .................................................................................................................................................................... 55
iii