BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

What stays where? Bahmni Connect Static and Transactional data storage

Type of contentWhere does it stay
Static files (JS, HTML, CSS, Images)Chrome extension: BundledAndroid: Bundled
Configs (app.json, extension.json, locales, validation, etc concatenated into a single file per module i.e. one for Registration, one for Clinical etc.)Chrome extension: Love fieldAndroid: SQLite
Global propertiesChrome extension: Love fieldAndroid: SQLite
Some of the REST data (List to be updated):Chrome extension: Love fieldAndroid: SQLite
Master dataAddress hierarchyConceptsChrome extension: Love fieldAndroid: SQLite
Transactional dataPatient informationVisits and EncountersChrome extension: Love fieldAndroid: SQLite

Storage Options and limitations:

  • Lovefield uses indexedDB internally and gives relational capabilities. We are using this for chrome extension for storing data. There are no limitations for lovefield, but after 2GB, we see performance issues.
  • SQLite is used as transactional database to store data in SD card of Android tablet. Going forward, we will give configurable option of storage for android table to store either in SD card or internal storage. Limitations of SQLite are discussed here.
  • Android APK allows publish limit of 100MB. On more storage requirements, two (2) APK Expansion Files, each up to 2 GB in size (stored in SD card), for each APK.
  • Chrome extension has size limited to 2GB, so that is the limit for bundling apps.
  • Right now the size of static content of bahmniapps in production with all modules is approximately 60MB. 
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗