Improve performance of various background database schema updates.