Using sync off and journal mode delete while bulk learn

This helps us to improve the learn speed