create indexes first

Creating the indexes before inserting data allows the disabled journal
configuration to take effect. When I create the indexes after inserting
the data journaling is used and the load is very slow (several hours+).

I am unsure why the indexes need to be declared first. I would suspect
creating indexes first would slow inserts.