Sort-Merge Join (Paperback)


High Quality Content by WIKIPEDIA articles The Sort-Merge Join (also known as Merge-Join) is an example of a join algorithm and is used in the implementation of a relational database management system. The basic problem of a join algorithm is to find, for each distinct value of the join attribute, the set of tuples in each relation which display that value. The key idea of the Sort-merge algorithm is to first sort the relations by the join attribute, so that interleaved linear scans will encounter these sets at the same time. In practice, the most expensive part of performing a sort-merge join is arranging for both inputs to the algorithm to be presented in sorted order. This can be achieved via an explicit sort operation (often an external sort), or by taking advantage of a pre-existing ordering in one or both of the join relations. The latter condition can occur because an input to the join might be produced by an index scan of a tree-based index, another merge join, or some other plan operator that happens to produce output sorted on an appropriate key.

R894

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles8940
Mobicred@R84pm x 12* Mobicred Info
Free Delivery
Delivery AdviceOut of stock

Toggle WishListAdd to wish list
Review this Item

Product Description

High Quality Content by WIKIPEDIA articles The Sort-Merge Join (also known as Merge-Join) is an example of a join algorithm and is used in the implementation of a relational database management system. The basic problem of a join algorithm is to find, for each distinct value of the join attribute, the set of tuples in each relation which display that value. The key idea of the Sort-merge algorithm is to first sort the relations by the join attribute, so that interleaved linear scans will encounter these sets at the same time. In practice, the most expensive part of performing a sort-merge join is arranging for both inputs to the algorithm to be presented in sorted order. This can be achieved via an explicit sort operation (often an external sort), or by taking advantage of a pre-existing ordering in one or both of the join relations. The latter condition can occur because an input to the join might be produced by an index scan of a tree-based index, another merge join, or some other plan operator that happens to produce output sorted on an appropriate key.

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

Betascript Publishing

Country of origin

United States

Release date

December 2010

Availability

Supplier out of stock. If you add this item to your wish list we will let you know when it becomes available.

First published

December 2010

Editors

, ,

Dimensions

152 x 229 x 4mm (L x W x T)

Format

Paperback - Trade

Pages

68

ISBN-13

978-6134649728

Barcode

9786134649728

Categories

LSN

6134649724



Trending On Loot