Skip to main content

Algorithms for Sorting and Sort-Based Database Operations Using a Special-Function Unit

  • Chapter
Database Machines and Knowledge Base Machines

Part of the book series: The Kluwer International Series in Engineering and Computer Science ((SECS,volume 43))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Y. Dohi, A. Suzudi, and N. Matsui, 9th Annual Symposium on Computer Architecture, Sigarch Newsletters, vol. 10, no. 3, 1982, pp. 218–225.

    Article  Google Scholar 

  2. S. Todd, IBM J. Res. Develop., vol. 22, no. 5, Sept. 1978, pp. 509–517.

    Article  MathSciNet  MATH  Google Scholar 

  3. N. Takagi and C. K. Wang, IBM J. Res. & Dev., vol. 29, no. 1, Jan. 1985, pp. 46–67.

    Article  Google Scholar 

  4. T. C. Chen, V. W. Lum and C. Tung, Proc. 4th Int’l Conf. on and Searching, Reading, MA: Addison-Wesley, 1973.

    Google Scholar 

  5. M. Kitsuregawa, S. Fushimi, K. Kuwabara, H. Tanaka, and T. Moto-oka, Trans. IECE Japan, vol. J66-d, 1983, pp. 332–339.

    Google Scholar 

  6. D. E. Knuth, The Art of Computer Programming, Volume 3: Sorting and Searching, Reading, MA: Addison-Wesley, 1973.

    Google Scholar 

  7. L. Rashid, T. Fei, H. Lam, and S. Y. W. Su, IEEE Trans, on Computers, vol. C-35, no. 12, 1986, pp. 1071–1077.

    Article  Google Scholar 

  8. E. E. Lindstrom and J. S. Vitter, IEEE Trans, on Computers, vol. C-34, no. 3, Mar. 1985, pp. 218–233.

    Article  MathSciNet  Google Scholar 

  9. H. Lam, C. Lee, and S. Y. W. Su, paper submitted to IEEE Transaction on Computers, 1986.

    Google Scholar 

  10. C. Lee, Master’s Thesis, Dept. of Electrical Eng., Univ. of Florida, 1986.

    Google Scholar 

  11. 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.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics