improve performance of mysql-native reader