Creating indexes after loading data is much faster. If you load data into a table with indexes, loading will be very slow due to constant index updates. If you create the index later, it can only be effectively populated once (which, of course, can take some time, but the total should be less).
Similar logic applies to constraints. Also enable them later (unless you expect the data to nullify the constraints and want to know what at an early stage).
source share