
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The concept of nearly-sorted data in databases and presents a test for nearly-sortedness, as well as efficient sorting algorithms for nearly-sorted data. The authors argue that these algorithms can improve query processing efficiency in databases. The document also includes experimental results demonstrating the effectiveness of the proposed methods.
Typology: Study notes
1 / 40
This page cannot be seen from the preview
Don't miss anything!
Tester for Nearly-Sortedness
and its Applications in Databases
Arie Matsliah
Sagi Ben-Moshe Eldar Fischer Yaron Kanza
Outline
nearly-sorted
Example (data)
apartments for rent
Address Fee ($) Size (m^2 ) … Main rd 29, … 500 70 … First ave 3, … 850 120 … … …
records
attributes
Example (query)
query
select all apts. in NY, having size between 70 and 80 m^2 , present sorted by monthly fee
Facts
Observation (from experiments)
Definition: Nearly-Sorted
Example 1
i
f(i)
Example 3
i
f(i)
Next
functions
k-Violations and (δ,k)-Active Indices
50 …^5
k
k-Violations and (δ,k)-Active Indices
50 …^5
k
…
δ(j-i) values < 50
if f is not (e,k)-nearly sorted,
k-Violations and (δ,k)-Active Indices
50 …^5
k
…
(j-i)-2k
…
k
Towards tolerant testing based on [ACCL]
Lemma