It may be faster to create indices (apart from the one corresponding to insert order) after populating the tables.