dexie/Dexie.js

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

Offen

#1.170 geöffnet am 13.11.2020

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (625 Forks)batch import
Help wanted

Repository-Metriken

Stars
 (10.304 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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