Fixed an issue that INSERT is too slow