dexie/Dexie.js

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

Open

#1.170 aberto em 13 de nov. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (625 forks)batch import
Help wanted

Métricas do repositório

Stars
 (10.304 stars)
Métricas de merge de PR
 (Mesclagem média 2d 5h) (3 fundiu PRs em 30d)

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!

Guia do colaborador