I am working on a mobile game that uses Couchbase mobile on the client and Iris Couch to store data on the cloud. In order for the app to work off line each user has a database on the server which is replicated on the device. Everything looks promising except for one detail: when the data is replicated on the deice it takes too much disk space. For example, a remote database contains 400 documents and it is approximately 100 MB, the replicated database on the device is approximately 390 MB with the same number of documents. Has anyone experienced such issue? Any help would be appreciated.
Couchbase Mobile (ios) replicated data size too large
204 views Asked by thmr At
1
There are 1 answers
Related Questions in COUCHAPP
- Coach marks jetpack compose Android
- CouchDB query to get the doc with MAX timestamp
- Why is my couchapp not displaying on Safari 11.1?
- Unicodedecode Error when pushing to CouchDB: 'utf8' codec can't decode byte 0xe9
- Getting older documents even after Deleting and closing database in Couch base lite
- fatal error: 'Python/Python.h' file not found while installing couchapp
- CouchDB 2.1.1: Internal Server Error
- CouchDB: This database failed to load / No DB shards could be opened (logged in as admin)
- is there way add new field/value in couchdb existed document
- Progressdialog stuck using couchbase
- I need to customize the open source couch app in couchdb that is index.html for my project requirement. Kindly help me in this
- CouchDB 3rd Party Login / Signup (Facebook, Twitter, etc)
- Is jQuery still included in CouchDB?
- Pouchdb how can I putAttachment in a for loop?
- Rewrite URLs in CouchDB/PouchDB-Server
Related Questions in COUCHBASE
- Couchbase Sync Gateway randomly failing to authenticate using mTLS
- how to fetch data when package structure deleted in source, but in couchbase document, _class with old package structure is present
- Recommended way for deleting "_txn" documents from Couchbase?
- How to query an array within an array with couchbase
- Cloudron Custom App (Couchbase) install fails: ECONNREFUSED
- Does couchbase eventing service stores events indefinitely?
- ClassNotFoundException while connecting to Couchbase
- i cannot use let or for clauses in my query, it always says its a reserved keyword
- Couchbase backup to S3 with Kubernetes service account role attachment is possible?
- Flutter & Couchbase in Android Studio: Process 'command 'C:/Program Files/Git/bin/bash'' finished with non-zero exit value 35
- Different Lcb wait3 API flags meaning
- Why is GSI creation so slow?
- Index creation and memory issue on Couchbase version 6.6
- ECS task Failed With couchbase database
- Couchbase Why a simple query is slow on nodejs?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
TouchDB stores data in a completely different format than CouchDB — it actually writes into SQLite tables. Another factor that may be coming into play is the lack of snappy compression on the TouchDB side, which CouchDB recently added and significantly decreased its on-disk requirements.
Considering your documents seem to be relatively large, I suspect that the difference you are seeing may be mostly compressed vs. raw related. You could try filing a feature request for similar compression to be implemented on the TouchDB project if you can determine that this is indeed where the difference is coming from.