I need to move data from my rds' one table of one account to another account, in the same region using VPC peering. I know how to establish a vpc-peering but after that, I don't understand how routing table will help to move data specifically of a single table.
I don't want to move all of the data, just one table.
private static Connection dbConnFrom;
private static Connection dbConnTo;
static {
try {
dbConnFrom = DriverManager.getConnection("..address 1....");
dbConnTo = DriverManager.getConnection("..address 2....");
} catch (SQLException e) {
e.printStackTrace();
}
}