Optimize rethinkdb looading