Closed Bug 696822 Opened 13 years ago Closed 9 years ago

IndexedDB: add experimental support for IDBObjectStore.openKeyCursor/getAllKeys

Categories

(Core :: Storage: IndexedDB, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sicking, Unassigned)

References

Details

In a situation when a objectStore contains large value objects, we can significantly reduce IO by letting the page only read in the actual key data as it's iterating over a set of entries.

This is especially valuable when we support arrays-as-keys as the key can contain more valuable information.

In fact, people could even add additional values to the arrays just to enable faster access by just getting key data. This is a common way to improve performance in SQL, where adding columns to the primary key can significantly speed up reads which just use those columns.
Component: DOM → DOM: IndexedDB
Version: Trunk → unspecified
This was fixed a long time ago.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.