When write+optimize are done during import, it is better to CLUSTER the tables before CREATE INDEX.
This avoids:
creating the index twice
additional storage for the index during CLUSTER
A quick test shows a clustering time divided by 2 on my setup on Paris region extract, and indexing time is identical.
Total extract import is done in 2'40" instead of 3'45".
When write+optimize are done during import, it is better to CLUSTER the tables before CREATE INDEX. This avoids:
A quick test shows a clustering time divided by 2 on my setup on Paris region extract, and indexing time is identical. Total extract import is done in 2'40" instead of 3'45".