Skip to content

db.Range() is too slow #276

@nicewook

Description

@nicewook

I stored 1,000,000 logs to bolt db using storm.
then I tried to use db.Range for time.Time field (using index)

  1. it is very slow. around 20-40 seconds for Limit(10000)
  2. if the range is not fulfill 10000 records, it seems to search the whole data.

Question. is it normal behavior? or I can improve in some way. I think it is because of db.Range not using index

I am not sure here is the right place to ask. if not, sorry about it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions