NoSQL in a Mobile World: Benchmarking Embedded Mobile Databases
نویسندگان
چکیده
In this paper, we evaluate three types of embedded data storage models on mobile devices. SQLite is a relational database, CouchLite is a key-value NoSQL database and DbO4 is an object-oriented databases. Mobile phones are becoming powerful enough to do a large amount of processing without leveraging cloud services. Most mobile applications are data driven and their performance depends on data availability. We developed a comprehensive set of benchmarks to test each database in an Android application. The results from our tests clearly show that the relational model has superior performance on mobile phones; however, there may be situations where only key-based lookups are necessary that a NoSQL solution would suffice. Background The popularity of NoSQL databases for cloud computing has inspired initiatives to install NoSQL databases on mobile devices. There are several reasons why such a solution is attractive: including replication, cloud synchronization, and the document data model. However, most NoSQL solutions are designed for large data centers with access to substantial computational power and network infrastructure. Little work has been done testing how a NoSQL databases preforms on the limited hardware of a mobile devices. The motivation for this project comes from the design of the next version Open Data Kit, an Android based tool set for mobile data collection and processing. We have been migrating the tools over from native Android code to HTML5 and Javascript. One discussion that arose during this switch was migrating from SQLite to CouchDB. We were unable to find performance metrics for any NoSQL database on mobile devices. This work is of particular importance to the research in our lab because we deploy technology solutions in developing countries where infrastructure support is never a guarantee. This means that an always on network connection cannot be assumed and a local copy of the data should be present on the phone. At the same time it is also important to maximize battery life because the interval between phone charging could be large. Reduced battery life on modern smart phones is already a big issue in low resource environments and requiring the phone to do even more by running a NoSQL or SQL database could reduce it more. We want to make sure we pick the technology that the best performance. Related Work There are several standard benchmarks out there. OLTP and OLAP style benchmarks [2, 3, 4] are for large data-center level systems rather than mobile environment. TPC-C and TPC-E are benchmarks for SQL based enterprise applications [5]. YCSB is a benchmark, made by Yahoo, for evaluation of NoSQL based cloud serving systems [6]. In general, there are no standard benchmarks for mobile based datastores. There is some recent work in proposing evaluation of SQL based embedded databases on mobile phones [7, 8]. However, there is no work which compares locally installed NoSQL database like CouchDB with SQL databases like SQLite.
منابع مشابه
Performance Analysis Of Scalable Sql And Nosql Databases : A Quantitative Approach
PERFORMANCE ANALYSIS OF SCALABLE SQL AND NOSQL DATABASES: AQUANTITATIVE APPROACHby HARISH BALASUBRAMANIANMay 2014Advisor: Dr.Weisong ShiMajor: Computer ScienceDegree: Master of Science Benchmarking is a common method in evaluating and choosing a NoSQL database.There are already lots of benchmarking reports available in internet and research papers. Most ofthe ben...
متن کاملData Synchronization Model for Heterogeneous Mobile Databases and Server-side Database
Mobile devices, because they can be used to access corporate information anytime anywhere, have recently received considerable attention, and several research efforts have been tailored towards addressing data synchronization problems. However, the solutions are either vendor specific or homogeneous in nature. This paper proposed Heterogeneous Mobile Database Synchronization Model (HMDSM) to en...
متن کاملEmerging Technologies For Big Data Processing: NOSQL And NEWSQL Data Stores
In this incessant science and technological era, where advances in web technology and the production of mobile devices and sensors connected to the Internet are resulting to voluminous amount of structured, semi-structured and unstructured data, called Big Data, the demand for technologies with extensive processing and storage requirements is rising to persuasively process such data i.e. Big Da...
متن کاملGeohashed Spatial Index Method for a Location-Aware WBAN Data Monitoring System Based on NoSQL
The exceptional development of electronic device technology, the miniaturization of mobile devices, and the development of telecommunication technology has made it possible to monitor human biometric data anywhere and anytime by using different types of wearable or embedded sensors. In daily life, mobile devices can collect wireless body area network (WBAN) data, and the co-collected location d...
متن کاملNoSQL OLTP Benchmarking: A Survey
In recent years, various distributed NoSQL datastores have been developed that offer horizontal scalability and higher availability than traditional relational databases, but fewer querying options and only reduced consistency guarantees. The diversity of the design space makes it difficult to understand the performance implications of individual system designs. Existing benchmarking tools meas...
متن کامل