The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.04 - December (1991 vol.3)
pp: 496-503
ABSTRACT
<p>It is shown that the existence of duplicate values in some attribute columns has a significant impact on the computational complexity of the sorting and joining operations. This is especially true when the number of distinct tuple values is a small fraction of the total number of tuples. The authors characterize a multirelation M(n, L) by its cardinality n and the number of distinct elements L it contains. Under this characterization, the worst time complexity of sorting such a multirelation with binary comparisons as basic operations is investigated. Upper and lower bounds on the number of three-branch comparisons needed to sort such a multirelation are established. Thereafter, the methodology used to study the complexity of sorting is applied to the natural join operation. It is shown that the existence of duplicate values in the join attribute columns can be exploited to reduce the computational complexity of the natural join operation.</p>
INDEX TERMS
upper bounds; sorting; joining; relations; duplicate values; attribute columns; computational complexity; distinct tuple values; multirelation; cardinality; distinct elements; worst time complexity; binary comparisons; lower bounds; three-branch comparisons; natural join operation; computational complexity; database theory; relational databases; sorting
CITATION
M. Abdelguerfi, A.K. Sood, "Computational Complexity of Sorting and Joining Relations with Duplicates", IEEE Transactions on Knowledge & Data Engineering, vol.3, no. 4, pp. 496-503, December 1991, doi:10.1109/69.109110
16 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool