In addition to Ajax's suggestions I would recommend you compact the new database after each db is appended; if you run the update queries for each db as you load them then you can empty the Origin_ID fields after the foreign keys have been updated.
Cheers,
Vlad