Abstract
This paper presents the design of a Special Function Unit for DataBase operations (SFU-DB), which is used as a backend database machine for performing sort and sort-based database operations. This machine implements a most-significant-digit-first radix sort algorithm by using a special hardware device called Automatic Retrieval Memory (ARM). The ARM performs an efficient content-to-address mapping to sort the data. Without performing any comparisons in the sorting process, the SFU-DB avoids the lower bound constraint on comparison-based sorting algorithms and achieves a complexity of O(n) for both execution time and main memory size. Based on the sorting algorithm, the SFU-DB also performs other primitive database operations such as relational join, elimination of duplicates, set union, set intersection, and set difference with a complexity of O(n). The capacity of the SFU-DB is limited by the size of its main memory rather than by the number of special processing elements as in most sorting machines. Hence, the SFU-DB has a better cost/performance and is more suitable for processing very large databases. Currently, a prototype SFU-DB system is under construction.
This project is supported by NSF Grant #ECS-8402252.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Y. Dohi, A. Suzudi, and N. Matsui, 9th Annual Symposium on Computer Architecture, Sigarch Newsletters, vol. 10, no. 3, 1982, pp. 218–225.
S. Todd, IBM J. Res. Develop., vol. 22, no. 5, Sept. 1978, pp. 509–517.
N. Takagi and C. K. Wang, IBM J. Res. & Dev., vol. 29, no. 1, Jan. 1985, pp. 46–67.
T. C. Chen, V. W. Lum and C. Tung, Proc. 4th Int’l Conf. on and Searching, Reading, MA: Addison-Wesley, 1973.
M. Kitsuregawa, S. Fushimi, K. Kuwabara, H. Tanaka, and T. Moto-oka, Trans. IECE Japan, vol. J66-d, 1983, pp. 332–339.
D. E. Knuth, The Art of Computer Programming, Volume 3: Sorting and Searching, Reading, MA: Addison-Wesley, 1973.
L. Rashid, T. Fei, H. Lam, and S. Y. W. Su, IEEE Trans, on Computers, vol. C-35, no. 12, 1986, pp. 1071–1077.
E. E. Lindstrom and J. S. Vitter, IEEE Trans, on Computers, vol. C-34, no. 3, Mar. 1985, pp. 218–233.
H. Lam, C. Lee, and S. Y. W. Su, paper submitted to IEEE Transaction on Computers, 1986.
C. Lee, Master’s Thesis, Dept. of Electrical Eng., Univ. of Florida, 1986.
H. Lam, S. Y. W. Su, F. L. C. Seeger, C. Lee, and W. R. Eisenstadt, to appear in Int’l Conf. on Parallel Processing, Aug. 1987.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1988 Kluwer Academic Publishers, Boston
About this chapter
Cite this chapter
Lee, C., Su, S.Y.W., Lam, H. (1988). Algorithms for Sorting and Sort-Based Database Operations Using a Special-Function Unit. In: Kitsuregawa, M., Tanaka, H. (eds) Database Machines and Knowledge Base Machines. The Kluwer International Series in Engineering and Computer Science, vol 43. Springer, Boston, MA. https://doi.org/10.1007/978-1-4613-1679-4_8
Download citation
DOI: https://doi.org/10.1007/978-1-4613-1679-4_8
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4612-8948-7
Online ISBN: 978-1-4613-1679-4
eBook Packages: Springer Book Archive