Improve performance of database migration massively.