On the IO characteristics of the SQLite Transactions
- Title
- On the IO characteristics of the SQLite Transactions
- Author
- 원유집
- Keywords
- SQLite; Android; IO Stack; Real-time IO Characteristics; Measurement; EXT4
- Issue Date
- 2016-05
- Publisher
- ACM
- Citation
- MOBILESoft '16 Proceedings of the International Conference on Mobile Software Engineering and Systems, Page. 214-224
- Abstract
- This work is dedicated to study the IO characteristics of SQLite transaction in Android platform. We collect the block level IO trace from for six months. We develop an elaborate pattern matching algorithm. It allows us to identify the individual SQLite transactions from the raw IO trace, which is essentially an interleaved mixture of IO requests from concurrently running smartphone applications. Among the various observations obtained from the study, we can summarize the key findings as follows. We carefully believe that these deserve special attention. First, SQLite transaction is under extreme inefficiency. In an SQLite transaction, the IO's for SQLite journaling and EXT4 filesystem journaling account for over 75% of the entire IO volume in a transaction. Second, the suspend and the wakeup feature of the smartphone can leave the SQLite transaction to an extreme delay, a few minutes. Third, in fair number of occasions, the SQLite transactions are being used in inconsiderate manner. We find that a single SQLite transaction inserts 17.5 MByte of data to the database. It turns out to be the operation of initializing the map database. We hope that the findings obtained in this study are bifurcated to various efforts to makes the SQLite related IO more efficient and effective.
- URI
- https://dl.acm.org/citation.cfm?doid=2897073.2897093https://repository.hanyang.ac.kr/handle/20.500.11754/70333
- ISBN
- 978-1-4503-4178-3
- DOI
- 10.1145/2897073.2897093
- Appears in Collections:
- COLLEGE OF ENGINEERING[S](공과대학) > COMPUTER SCIENCE(컴퓨터소프트웨어학부) > Articles
- Files in This Item:
There are no files associated with this item.
- Export
- RIS (EndNote)
- XLS (Excel)
- XML