简体   繁体   中英

Fastest Way To Add Large Data Samples to an Aurora RDS

I have a quick question regarding migrating large data sample sets from my local device to an Amazon Aurora RDS (no DMS approach).

So basically I am working on a Proof of Concept and I need to populate an Amazon Aurora DB with 2 Million rows of data. I have generated an SQL file with 2 Million INSERT commands. Now I need to get this sql file to the RDS. What is the best (by best I mean fastest) option to do this, can anyone suggest?

Something to consider if your data was loaded in S3 at some point. You could skip a few steps, and load directly from S3.

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.LoadFromS3.html

Obviously, this only applies if it makes sense for your data pipeline?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM