dexie/Dexie.js

Performance issue when fetching/reading large data list using Table.get()

Open

#1,170 opened on Nov 13, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (10,304 stars) (625 forks)batch import
Help wanted

Description

Good day Sirs!

I'm a newbie in terms of using Dexie.js. So my issue is almost identical with #1167

I'm using v.3.0.1 and also in React.

In my case I need to read almost 50,000 items, which causes my whole page to be unresponsive for almost 10 secs. Is there a better solution against this? const data = db[table].get({ id: row }); //I'll just refer to the code of #1167 since I'm also using db.table.get()

Thank you so much in advance!

Contributor guide