Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce indexedDB file size #41

Open
ctoph3r opened this issue Jan 18, 2013 · 2 comments
Open

Reduce indexedDB file size #41

ctoph3r opened this issue Jan 18, 2013 · 2 comments
Assignees

Comments

@ctoph3r
Copy link

ctoph3r commented Jan 18, 2013

I have a lot of records which are stored on indexeddb.. in firefox, the size of the indexeddb file is 4.09MB but storing the same data in safari, it is 20.3MB

@jtr3icio
Copy link

jtr3icio commented Jun 3, 2013

Firefox implements the IndexedDB so the shim isn't needed and won't be used. In Safari however there is no implementation of IndexedDB so the shim will be used. This shim uses WebSQL and has to serialize all data on it's on, also it has to keep a system database for storing information like the databases. So there will always be a overhead, but 20.3MB is really big.

@brettz9 brettz9 changed the title indexedDB size Reduce indexedDB file size Oct 18, 2016
@brettz9
Copy link
Collaborator

brettz9 commented Jan 20, 2017

It'd be interesting, @axemclion to have a high level understanding of the encoding approach. I wonder whether there are any inefficiencies there that could help this out.

@brettz9 brettz9 assigned brettz9 and axemclion and unassigned brettz9 Jan 20, 2017
@brettz9 brettz9 added this to the 4.0.0 milestone Jan 20, 2017
@brettz9 brettz9 modified the milestones: 4.0.0, 5.0.0, Low priority Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants