1 / 9

Relation Caching

Relation Caching. Ravindra N. Guravannavar. Introduction. Relation Caching is a logical caching technique Reduces the client-server data transfer by exploiting the client resources Can be employed in a query-shipping architecture. Applicability. Select-Project queries on a single relation

keenan
Download Presentation

Relation Caching

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Relation Caching Ravindra N. Guravannavar

  2. Introduction • Relation Caching is a logical caching technique • Reduces the client-server data transfer by exploiting the client resources • Can be employed in a query-shipping architecture

  3. Applicability • Select-Project queries on a single relation • Select condition is conjunctive • Predicates are simple • Large portion of the total number of attributes are projected

  4. Example Application Data merchandizing over the Web R1(Cname, Turnover, EmpStrength, YearStarted, Business) Select * from R1 where YearStarted<=1995 AND Turnover>=2000000 AND EmpStrength>=10000

  5. The key idea • Keep semantic description of the cache contents • Exploit the semantics expressed in the associative queries • Fetch only the remainder query result Sal Probe Remainder Q2 8000 5000 Q1 25 35 Age

  6. Replacement policies Semantic distance function -5 0 -3 -2 0 0 After Q1 After Q2 After Q3

  7. Forming the remainder query R-Tree index on the semantic regions • Efficient searching of spatial data • Internal nodes have n-dimensional guiding rectangles • Each leaf node entry has the bounding box of a semantic region and a pointer to the set of tuples falling in that region

  8. Implementation • CacheRelation manager • Transparent relation scans • Cache management • Query evaluation • Parser and Catalog manager

  9. Scope for future work • Fixed size semantic regions for efficient cache utilization • Relaxing the constraints on the queries • Supporting JDBC interface

More Related