1 / 4

Efficient Database Query Result Caching Using Change Notifications

This paper discusses a novel approach for managing database query result caching through change notifications in SQL Server. It addresses the common issue of outdated cached results following database updates. Utilizing a three-tier architecture for web applications, the proposed method incorporates time-to-live strategies and non-materialized indexed views for effective change detection. The solution enables mid-tier caching, ensuring clients are promptly updated with price changes, enhancing performance and reliability in dynamic querying scenarios. Experience a live demo to see its benefits firsthand.

dena
Télécharger la présentation

Efficient Database Query Result Caching Using Change Notifications

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. Database Change Notifications: Primitives for Efficient Database Query Result Caching Cesar Galindo-Legaria, Torsten Grabs, Christian Kleinerman, Florian WaasSQL Server EngineMicrosoft Corp. Redmond, WAUSAVLDB 2005, Trondheim, Norway http://www.microsoft.com/sql/2005/

  2. Motivation HTTP HTTP HTTP SELECT price FROM books WHERE title = ‘T-SQL’ UPDATE booksSET price = 20.00WHERE title = ‘T-SQL’ • Three-tier architecture for web applications • Time-to-life based approaches for caching of read-mostly dynamic results at mid-tier for performance reasons • Problem: Outdated results in case of database updates Clients Mid-tier cache: Web serverfarm DBS 20.00

  3. Demo Highlights HTTP Query Plan Update Plan Change Notification:- cache re-run query, or- send delta 20.00 UPDATE • “Non-materialized” indexed view for change detection • Query plan rewrite to register cached query results • Update rewrite to notify caches of changes in case of non-empty materialized view maintenance delta stream • Note: No DBMS installation necessary at the mid tier Clients Mid-tier cache: Web serverfarm 20.00 SELECT DBS

  4. ? Questions ? Come and see the Demo!!!

More Related