dexie/Dexie.js

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

Open

#1170 aperta il 13 nov 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (625 fork)batch import
Help wanted

Metriche repository

Star
 (10.304 star)
Metriche merge PR
 (Merge medio 2g 5h) (3 PR mergiate in 30 g)

Descrizione

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!

Guida contributor