Abstract
SQLite, a widely used database engine, has been previously transformed to run on a bare PC without the support of any OS or kernel. However, the transformed SQLite database was stored in main memory i.e., it had no file system. This paper extends the transformation process to enable bare PC SQLite to work with standard file system interfaces based on the FAT32 file specification. It further presents mechanisms and programming interfaces for a bare machine file system integrated with SQLite that uses a removable USB flash drive. The bare SQLite database and file system can interoperate with conventional OS-based database systems. It can be adapted in the future to work with bare Web browsers, large bare databases, other bare applications, and bare mobile devices.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
The SQLite OS interface or VFS. http://www.sqlite.org/vfs.html
Universal Serial Bus mass storage class, bulk only transport, revision 1.0 (1999). http://www.usb.org
Appiah-Kubi, P., Karne, R.K., Wijesinha, A.L.: The design and performance of a bare PC Webmail Server. In: 12th IEEE International Conference on High Performance Computing and Communications, AHPCC 2010, Melbourne, Australia, pp. 521–526 (2010)
Engler, D.R., Kaashoek, M.: Exterminate all operating system abstractions. In: 5th Workshop on Hot Topics in Operating Systems, p. 78. USENIX (1995)
Ford, G.H., Karne, R.K., Wijesinha, A.L., Appiah-Kubi, P.: The design and implementation of a bare PC email server. In: 33rd Annual IEEE International Computer Software and Applications Conference (COMPSAC), pp. 480–485 (2009)
He, L., Karne, R.K., Wijesinha, A.L.: The design and performance of a bare PC Web server. Int. J. Comput. Appl. (IJCA) 15(2), 100–112 (2008)
Intel Corporation: Enhanced host controller interface specification for Universal Serial Bus (2002). http://www.intel.com/technology/usb/download/ehci-r10.pdf
Karne, R.K., Jaganathan, K.V., Ahmed, T.: How to run C++ applications on a bare PC. In: 6th ACIS International Conference on Proceedings of SNPD 2005, pp. 50–55, IEEE (2005)
Karne, R.K., Jaganathan, K.V., Rosa, N., Ahmed, T.: DOSC: dispersed operating system computing. In: 20th Annual ACM Conference on Object Oriented Programming, Systems, Languages, and Applications (OOPSLA), pp. 55–61 (2005)
Karne, R.K., Liang, S., Wijesinha, A.L., Appiah-Kubi, P.: A bare PC mass storage USB device driver. Int. J. Comput. Appl. 20(1), 32–45 (2013)
Lange, J., et al.: Palacios and Kitten: new high performance operating systems for scalable virtualized and native supercomputing. In: 24th IEEE International Parallel and Distributed Processing Symposium (2010)
Liang, S., Karne, R.K., Wijesinha, A.L.: A lean USB file system for bare machine applications. In: Proceedings of 21st International Conference on Software Engineering and Data Engineering, ISCA, pp. 191–196 (2012)
Microsoft Corp.: FAT32 file system specification (2000). http://microsoft.com/whdc/system/platform/firmware/fatgn.rnspx
Okafor, U., Karne, R., Wijesinha, A., Appiah-Kubi, P.: A methodology to transform an OS-based application to a bare machine application. In: 12th IEEE International Conference on Ubiquitous Computing and Communications (IUCC-2013), Melbourne, Australia (2013)
Okafor, U., Karne, R.K., Wijesinha, A.L., Rawal, B.: Transforming SQLITE to run on a bare PC. In: Proceedings of 7th International Conference on Software Paradigm Trends, Rome, Italy, pp. 311–314 (2012)
Perisoft Corp.: Universal serial bus specification 2.0. http://www.perisoft.net/engineer/usb_-20.pdf
Rawal, B., Karne, R., Wijesinha, A.L.: Splitting HTTP requests on two servers. In: 3rd Conference on Communication Systems and Networks (COMSNETS) (2011)
Rawal, B., Karne, R.K., Wijesinha, A.L.: Mini web server clusters for HTTP request splitting. In: IEEE International Conference on High Performance, Computing and Communications (HPCC), pp. 94–100 (2011)
Rezende, F.F., Hergula, K.: The heterogeneity problem and middleware technology: experiences with and performance of database gateway. In: International Conference on Very Large Databases (VLDB 1998), pp. 146–157 (1998)
The OS Kit Project: School of computing. University of Utah, Salt Lake, UT (2002). http://www.cs.utah.edu/flux/oskit
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Thompson, W., Karne, R., Wijesinha, A., Chang, H. (2017). Interoperable SQLite for a Bare PC. In: Kozielski, S., Mrozek, D., Kasprowski, P., Małysiak-Mrozek, B., Kostrzewa, D. (eds) Beyond Databases, Architectures and Structures. Towards Efficient Solutions for Data Analysis and Knowledge Representation. BDAS 2017. Communications in Computer and Information Science, vol 716. Springer, Cham. https://doi.org/10.1007/978-3-319-58274-0_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-58274-0_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-58273-3
Online ISBN: 978-3-319-58274-0
eBook Packages: Computer ScienceComputer Science (R0)