1 / 4

Database Change Notifications: Primitives for Efficient Database Query Result Caching

Discusses three-tier architecture for web apps, time-based caching, and notifications for database updates in SQL Server Engine by Microsoft.

laleman
Download Presentation

Database Change Notifications: Primitives for Efficient Database Query Result 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. 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