Skip to content

Why is .sample() slow? #1520

Description

@krzkrzkrz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions