Why does $rethinkdb.table(:foobar).sample(1)[0] run slow? Table :foobar only has 10,000 records/documents
Slow, as in a few milliseconds. Close to a second actually. Normally, retrieving a single record from 10k should be instant. At least on other db solutions.
Why does
$rethinkdb.table(:foobar).sample(1)[0]run slow? Table:foobaronly has 10,000 records/documentsSlow, as in a few milliseconds. Close to a second actually. Normally, retrieving a single record from 10k should be instant. At least on other db solutions.