{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2022,12,29]],"date-time":"2022-12-29T05:22:06Z","timestamp":1672291326678},"reference-count":62,"publisher":"Association for Computing Machinery (ACM)","issue":"7","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2019,3]]},"abstract":"<jats:p>\n            In this work, we propose\n            <jats:italic>Database Shadowing,<\/jats:italic>\n            or\n            <jats:italic>DASH,<\/jats:italic>\n            which is a new crash recovery technique for SQLite DBMS. DASH is a hybrid mixture of classical shadow paging and logging. DASH addresses four major issues in the current SQLite journal modes: the performance and write amplification issues of the rollback mode and the storage space requirement and tail latency issues of the WAL mode. DASH exploits two unique characteristics of SQLite: the database files are small and the transactions are entirely serialized. DASH consists of three key ingredients\n            <jats:italic>Aggregate Update, Atomic Exchange<\/jats:italic>\n            and\n            <jats:italic>Version Reset.<\/jats:italic>\n            Aggregate Update eliminates the redundant write overhead and the requirement to maintain multiple snapshots both of which are inherent in the out-of-place update. Atomic Exchange resolves the overhead of updating the locations of individual database pages exploiting order-preserving nature of the metadata update operation in modern filesystem. Version Reset makes the result of the Atomic Exchange durable without relying on expensive filesystem journaling. The salient aspect of DASH lies in its simplicity and compatibility with the legacy. DASH does not require any modifications in the underlying filesystem or the database organization. It requires only 451 LOC to implement. In Cyclomatic Complexity score, which represents software complexity, DASH renders 33% lower (simpler) mark than PERSIST and WAL modes of SQLite. We implement DASH for SQLite on Android and extensively evaluate it on widely used smartphone devices. DASH yields 4x performance gain over PERSIST mode (default journaling mode). Compared to WAL mode (the fastest journaling mode), DASH uses only 2.5% of the storage space on average. The transaction latency of DASH at 99.9% is one fourth of that of WAL mode.\n          <\/jats:p>","DOI":"10.14778\/3317315.3317321","type":"journal-article","created":{"date-parts":[[2019,5,1]],"date-time":"2019-05-01T13:27:58Z","timestamp":1556717278000},"page":"793-806","source":"Crossref","is-referenced-by-count":1,"title":["DASH"],"prefix":"10.14778","volume":"12","author":[{"given":"Youjip","family":"Won","sequence":"first","affiliation":[{"name":"KAIST, Daejeon, Korea"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sundoo","family":"Kim","sequence":"additional","affiliation":[{"name":"Hanyang University, Seoul, Korea"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Juseong","family":"Yun","sequence":"additional","affiliation":[{"name":"Hanyang University, Seoul, Korea"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Dam Quang","family":"Tuan","sequence":"additional","affiliation":[{"name":"Hanyang University, Seoul, Korea"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jiwon","family":"Seo","sequence":"additional","affiliation":[{"name":"Hanyang University, Seoul, Korea"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2019,3]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"An introduction to gluster architecture. http:\/\/docs.gluster.org.  An introduction to gluster architecture. http:\/\/docs.gluster.org."},{"key":"e_1_2_1_2_1","unstructured":"Rename system call. http:\/\/man7.org\/linux\/man-pages\/man2\/rename.2.html.  Rename system call. http:\/\/man7.org\/linux\/man-pages\/man2\/rename.2.html."},{"key":"e_1_2_1_3_1","unstructured":"Samsung galaxy s7 edge specification. http:\/\/www.samsung.com\/in\/smartphones\/galaxy-s7\/hardware\/.  Samsung galaxy s7 edge specification. http:\/\/www.samsung.com\/in\/smartphones\/galaxy-s7\/hardware\/."},{"key":"e_1_2_1_4_1","unstructured":"Samsung gear s3. http:\/\/www.samsung.com\/global\/galaxy\/gear-s3\/.  Samsung gear s3. http:\/\/www.samsung.com\/global\/galaxy\/gear-s3\/."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2749441"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/319996.319998"},{"key":"e_1_2_1_7_1","volume-title":"Concurrency Control and Recovery in Database Systems","author":"Bernstein P. A.","year":"1987","unstructured":"P. A. Bernstein , V. Hadzilacos , and N. Goodman . Concurrency Control and Recovery in Database Systems . Addison-Wesley Longman Publishing Co., Inc. , Boston, MA, USA , 1987 . P. A. Bernstein, V. Hadzilacos, and N. Goodman. Concurrency Control and Recovery in Database Systems. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1987."},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735479.2735483"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522726"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1629575.1629589"},{"key":"e_1_2_1_11_1","volume-title":"Proc. of USENIX FAST 2003","author":"Craig A.","year":"2003","unstructured":"A. Craig , G. Soules , J. Goodson , and G. Strunk . Metadata Efficiency in Versioning File Systems . In Proc. of USENIX FAST 2003 , San Francisco, CA, USA , 2003 . A. Craig, G. Soules, J. Goodson, and G. Strunk. Metadata Efficiency in Versioning File Systems. In Proc. of USENIX FAST 2003, San Francisco, CA, USA, 2003."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2897073.2897093"},{"key":"e_1_2_1_13_1","unstructured":"developer.android.com. Safetynet. https:\/\/developer.android.com\/training\/safetynet\/verify-apps.  developer.android.com. Safetynet. https:\/\/developer.android.com\/training\/safetynet\/verify-apps."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/602259.602261"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/12.1.1"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2675113"},{"issue":"2","key":"e_1_2_1_17_1","first-page":"3","article-title":"Varieties of concurrency control in IMS\/VS fast path","volume":"8","author":"Gawlick D.","year":"1985","unstructured":"D. Gawlick and D. Kinkade . Varieties of concurrency control in IMS\/VS fast path . IEEE Database Eng. Bull. , 8 ( 2 ): 3 -- 10 , 1985 . D. Gawlick and D. Kinkade. Varieties of concurrency control in IMS\/VS fast path. IEEE Database Eng. Bull., 8(2):3--10, 1985.","journal-title":"IEEE Database Eng. Bull."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/289.291"},{"key":"e_1_2_1_19_1","unstructured":"I. Heuner. Persistent subsystem. https:\/\/at.project.genivi.org.  I. Heuner. Persistent subsystem. https:\/\/at.project.genivi.org."},{"key":"e_1_2_1_20_1","volume-title":"Proc. of USENIX winter 1994","volume":"94","author":"Hitz D.","year":"1994","unstructured":"D. Hitz , J. Lau , and M. A. Malcolm . File system design for an nfs file server appliance . In Proc. of USENIX winter 1994 , volume 94 , 1994 . D. Hitz, J. Lau, and M. A. Malcolm. File system design for an nfs file server appliance. In Proc. of USENIX winter 1994, volume 94, 1994."},{"key":"e_1_2_1_21_1","unstructured":"https:\/\/wearos.google.com\/. Anrdoid wear. http:\/\/www.android.com\/wear\/.  https:\/\/wearos.google.com\/. Anrdoid wear. http:\/\/www.android.com\/wear\/."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735496.2735502"},{"key":"e_1_2_1_23_1","volume-title":"Proc. of USENIX ATC 2013","author":"Jeong S.","year":"2013","unstructured":"S. Jeong , K. Lee , S. Lee , S. Son , and Y. Won . I\/O Stack Optimization for Smartphones . In Proc. of USENIX ATC 2013 , Berkeley, CA, USA , 2013 . S. Jeong, K. Lee, S. Lee, S. Son, and Y. Won. I\/O Stack Optimization for Smartphones. In Proc. of USENIX ATC 2013, Berkeley, CA, USA, 2013."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465326"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3052973.3053018"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2872362.2872392"},{"key":"e_1_2_1_27_1","volume-title":"Proc. of USENIX FAST 2014","author":"Kim W.-H.","year":"2014","unstructured":"W.-H. Kim , B. Nam , D. Park , and Y. Won . Resolving journaling of journal anomaly in Android I\/O: Multi-version B-tree with lazy split . In Proc. of USENIX FAST 2014 , Santa Clara, CA, USA , 2014 . W.-H. Kim, B. Nam, D. Park, and Y. Won. Resolving journaling of journal anomaly in Android I\/O: Multi-version B-tree with lazy split. In Proc. of USENIX FAST 2014, Santa Clara, CA, USA, 2014."},{"key":"e_1_2_1_28_1","first-page":"273","volume-title":"Proc. of USENIX FAST 2015","author":"Lee C.","year":"2015","unstructured":"C. Lee , D. Sim , J. Hwang , and S. Cho . F2fs: A new file system for flash storage . In Proc. of USENIX FAST 2015 ), pages 273 -- 286 , Santa Clara, CA, USA , 2015 . C. Lee, D. Sim, J. Hwang, and S. Cho. F2fs: A new file system for flash storage. In Proc. of USENIX FAST 2015), pages 273--286, Santa Clara, CA, USA, 2015."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2380356.2380367"},{"key":"e_1_2_1_30_1","volume-title":"Proc. of USENIX ATC 2015","author":"Lee W.","year":"2015","unstructured":"W. Lee , K. Lee , H. Son , W.-H. Kim , B. Nam , and Y. Won . WALDIO: Eliminating the filesystem journaling in resolving the journaling of journal anomaly . In Proc. of USENIX ATC 2015 , Santa Clara, CA, USA , 2015 . W. Lee, K. Lee, H. Son, W.-H. Kim, B. Nam, and Y. Won. WALDIO: Eliminating the filesystem journaling in resolving the journaling of journal anomaly. In Proc. of USENIX ATC 2015, Santa Clara, CA, USA, 2015."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2819001.2819007"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/320521.320540"},{"key":"e_1_2_1_33_1","volume-title":"Proc. of USENIX HotStorage 2014","author":"Luo H.","year":"2014","unstructured":"H. Luo , L. Tian , and H. Jiang . qNVRAM: quasi non-volatile ram for low overhead persistency enforcement in smartphones . In Proc. of USENIX HotStorage 2014 , Philadelphia, PA, USA , 2014 . H. Luo, L. Tian, and H. Jiang. qNVRAM: quasi non-volatile ram for low overhead persistency enforcement in smartphones. In Proc. of USENIX HotStorage 2014, Philadelphia, PA, USA, 2014."},{"key":"e_1_2_1_34_1","unstructured":"lwn.net. Exchanging two files. https:\/\/lwn.net\/Articles\/569134\/.  lwn.net. Exchanging two files. https:\/\/lwn.net\/Articles\/569134\/."},{"key":"e_1_2_1_35_1","first-page":"21","volume-title":"Proc. of the Linux symposium 2007","author":"Mathur A.","year":"2007","unstructured":"A. Mathur , M. Cao , S. Bhattacharya , A. Dilger , A. Tomas , and L. Vivier . The new ext4 filesystem: current status and future plans . In Proc. of the Linux symposium 2007 , pages 21 -- 33 , 2007 . A. Mathur, M. Cao, S. Bhattacharya, A. Dilger, A. Tomas, and L. Vivier. The new ext4 filesystem: current status and future plans. In Proc. of the Linux symposium 2007, pages 21--33, 2007."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1976.233837"},{"key":"e_1_2_1_37_1","first-page":"221","volume-title":"Proc. of USENIX ATC 2015","author":"Min C.","year":"2015","unstructured":"C. Min and W.-H. Kang . Lightweight application-level crash consistency on transactional flash storage . In Proc. of USENIX ATC 2015 , pages 221 -- 234 , 2015 . C. Min and W.-H. Kang. Lightweight application-level crash consistency on transactional flash storage. In Proc. of USENIX ATC 2015, pages 221--234, 2015."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/128765.128770"},{"key":"e_1_2_1_39_1","first-page":"16","volume-title":"Concurrent shadow paging in the Flask architecture","author":"Munro D. S.","year":"1995","unstructured":"D. S. Munro , R. C. Connor , R. Morrison , S. Scheuerl , and D. W. Stemple . Concurrent shadow paging in the Flask architecture . pages 16 -- 42 , 1995 . D. S. Munro, R. C. Connor, R. Morrison, S. Scheuerl, and D. W. Stemple. Concurrent shadow paging in the Flask architecture. pages 16--42, 1995."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.14778\/2824032.2824044"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882910"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3186728.3164146"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/2501620.2501623"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2501620.2501623"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.5555\/824467.824995"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/146941.146943"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/12.54838"},{"key":"e_1_2_1_48_1","volume-title":"Oracle DBA Guide to Data Warehousing and Star Schemas","year":"2003","unstructured":"Scalzo. Oracle DBA Guide to Data Warehousing and Star Schemas . Prentice Hall Professional Technical Reference , 2003 . Scalzo. Oracle DBA Guide to Data Warehousing and Star Schemas. Prentice Hall Professional Technical Reference, 2003."},{"key":"e_1_2_1_49_1","volume-title":"Proc. of USENIX FAST 2014","author":"Shen K.","year":"2014","unstructured":"K. Shen , S. Park , and M. Zhu . Journaling of journal is (almost) free . In Proc. of USENIX FAST 2014 , Santa Clara, CA, USA , 2014 . K. Shen, S. Park, and M. Zhu. Journaling of journal is (almost) free. In Proc. of USENIX FAST 2014, Santa Clara, CA, USA, 2014."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.5555\/3201607.3201614"},{"key":"e_1_2_1_51_1","unstructured":"SQLite.org. Transaction control at the sql level. https:\/\/www.sqlite.org\/lockingv3.html.  SQLite.org. Transaction control at the sql level. https:\/\/www.sqlite.org\/lockingv3.html."},{"key":"e_1_2_1_52_1","unstructured":"SQLite.org. Well-known users of sqlite. https:\/\/www.sqlite.org\/famous.html.  SQLite.org. Well-known users of sqlite. https:\/\/www.sqlite.org\/famous.html."},{"key":"e_1_2_1_53_1","volume-title":"Proc. of USENIX ATC 1996","volume":"15","author":"Sweeney A.","year":"1996","unstructured":"A. Sweeney , D. Doucette , W. Hu , C. Anderson , M. Nishimoto , and G. Peck . Scalability in the xfs file system . In Proc. of USENIX ATC 1996 , volume 15 , 1996 . A. Sweeney, D. Doucette, W. Hu, C. Anderson, M. Nishimoto, and G. Peck. Scalability in the xfs file system. In Proc. of USENIX ATC 1996, volume 15, 1996."},{"key":"e_1_2_1_54_1","volume-title":"Proc. of The Fourth Annual Linux Expo","author":"Tweedie S. C.","year":"1998","unstructured":"S. C. Tweedie . Journaling the linux ext2fs filesystem . In Proc. of The Fourth Annual Linux Expo , Durham, NC, USA , May 1998 . S. C. Tweedie. Journaling the linux ext2fs filesystem. In Proc. of The Fourth Annual Linux Expo, Durham, NC, USA, May 1998."},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/TELFOR.2016.7818920"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732951.2732960"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/70082.68205"},{"key":"e_1_2_1_58_1","first-page":"307","volume-title":"Proc. of USENIX OSDI 2006","author":"Weil S. A.","year":"2006","unstructured":"S. A. Weil , S. A. Brandt , E. L. Miller , D. D. Long , and C. Maltzahn . Ceph: A scalable, high-performance distributed file system . In Proc. of USENIX OSDI 2006 , pages 307 -- 320 , Seattle, WA, USA , 2006 . S. A. Weil, S. A. Brandt, E. L. Miller, D. D. Long, and C. Maltzahn. Ceph: A scalable, high-performance distributed file system. In Proc. of USENIX OSDI 2006, pages 307--320, Seattle, WA, USA, 2006."},{"key":"e_1_2_1_59_1","first-page":"111","volume-title":"Proc. of USENIX FAST 2015","author":"Weiss Z.","year":"2015","unstructured":"Z. Weiss , S. Subramanian , S. Sundararaman , N. Talagala , A. Arpaci-Dusseau , and R. Arpaci-Dusseau . ANViL: advanced virtualization for modern non-volatile memory devices . In Proc. of USENIX FAST 2015 , pages 111 -- 118 , Santa clara, CA, USA , 2015 . Z. Weiss, S. Subramanian, S. Sundararaman, N. Talagala, A. Arpaci-Dusseau, and R. Arpaci-Dusseau. ANViL: advanced virtualization for modern non-volatile memory devices. In Proc. of USENIX FAST 2015, pages 111--118, Santa clara, CA, USA, 2015."},{"key":"e_1_2_1_60_1","first-page":"211","volume-title":"Proc. of USENIX FAST 2018","author":"Won Y.","year":"2018","unstructured":"Y. Won , J. Jung , G. Choi , J. Oh , S. Son , J. Hwang , and S. Cho . Barrier-enabled IO stack for flash storage . In Proc. of USENIX FAST 2018 , pages 211 -- 226 , Oakland, CA , 2018 . Y. Won, J. Jung, G. Choi, J. Oh, S. Son, J. Hwang, and S. Cho. Barrier-enabled IO stack for flash storage. In Proc. of USENIX FAST 2018, pages 211--226, Oakland, CA, 2018."},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.14778\/3025111.3025113"},{"key":"e_1_2_1_62_1","volume-title":"Concurrent Shadow Paging: A new direction for database research","author":"Yl\u00f6nen T.","year":"1992","unstructured":"T. Yl\u00f6nen . Concurrent Shadow Paging: A new direction for database research . 1992 . T. Yl\u00f6nen. Concurrent Shadow Paging: A new direction for database research. 1992."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3317315.3317321","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:08:34Z","timestamp":1672225714000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3317315.3317321"}},"subtitle":["database shadowing for mobile DBMS"],"short-title":[],"issued":{"date-parts":[[2019,3]]},"references-count":62,"journal-issue":{"issue":"7","published-print":{"date-parts":[[2019,3]]}},"alternative-id":["10.14778\/3317315.3317321"],"URL":"https:\/\/doi.org\/10.14778\/3317315.3317321","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2019,3]]}}}