Park Jonghyuk, Combined course student, was invited from Sydney University to announce his thesis
Park Jonghyuk, Combined course student in Prof. Lee Sangwon's research team(VLDB Lab), was invited from Sydney University to announce his thesis.
This thesis was presented on conference "Very Large Database(VLDB) 2018", which was held on Rio de Janeiro, Brazil
Through this visiting, he also met Prof. Alan Fekete to discuss their joint research.
Title: SQL Statement Logging for Making SQLite Truly Lite
Author: Park Jonghyek, Oh Gihwan, Prof. Lee Sangwon
The lightweight codebase of SQLite was helpful in making it become the de-facto standard database in most mobile devices, but, at the same time, forced it to take less complicated transactional schemes, such as physical page logging, journaling, and force commit, which in turn cause excessive write amplification. Thus, the write IO cost in SQLite is not lightweight at all. In this paper, to make SQLite truly lite in terms of IO efficiency for the transactional support, we propose SQLite/SSL, a per-transaction SQL statement logging scheme: when a transaction commits, SQLite/SSL ensures its durability by storing only SQL statements of small size, thus writing less and performing faster at no compromise of transactional solidity. Our main contribution is to show that, based on the observation that mobile transactions tend to be short and exhibit strong update locality, logical logging can, though long discarded, become an elegant and perfect fit for SQLite-based mobile applications. Further, we leverage the WAL journal mode in vanilla SQLite as a transaction-consistent checkpoint mechanism which is indispensable in any logical logging scheme. In addition, we show for the first time that byte-addressable NVM (non-volatile memory) in host-side can realize the full potential of logical logging because it allows to store fine-grained logs quickly. We have prototyped SQLite/SSL by augmenting vanilla SQLite with a transaction-consistent checkpoint mechanism and a redo-only recovery logic, and have evaluated its performance using a set of synthetic and real workloads. When a real NVM board is used as its log device, SQLite/SSL can outperform vanilla SQLite’s WAL mode by up to 300x and also outperform the state-of-the-arts SQLite/PPL scheme by several folds in terms of IO time.
이상원 | firstname.lastname@example.org | VLDB(대용량 데이터베이스) Lab | http://vldb.skku.ac.kr