1 / 18

Anti-Caching in Main Memory Database Systems

Anti-Caching in Main Memory Database Systems. Justin DeBrabant Brown University debrabant@cs.brown.edu. A bit of history…. 1974 – System R. query optimization recovery transaction serialization lots of locks. Application. Buffer Pool. Primary Storage. Change is Good.

edmund
Download Presentation

Anti-Caching in Main Memory Database Systems

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. Anti-Caching in Main Memory Database Systems Justin DeBrabant Brown University debrabant@cs.brown.edu

  2. A bit of history…

  3. 1974 – System R • query optimization • recovery • transaction serialization • lots of locks

  4. Application Buffer Pool Primary Storage

  5. Change is Good source: http://www.archivebuilders.com/whitepapers/22045p.pdf

  6. Great, that’s what the buffer pool is for...right?

  7. OLTP Through the Looking Glass, and What We Found ThereSIGMOD ‘08, pp. 981-992, 2008.

  8. What to do with all this memory? Application Consistent? Updates? Writes?

  9. Parallel Main Memory Transaction Processing System H-Store: A High-Performance, DistributedMain Memory Transaction Processing SystemVLDB 2008.

  10. YCSB, Update-Heavy, data < memory

  11. < >

  12. Anti-Caching in H-Store • Memory becomes primary storage for “hot” data • “Cold” data is evicted to disk in blocks, fetched when requested by a transaction • Still no locks/latches

  13. Application Primary Storage Anti-Cache

  14. YCSB, Update-Heavy, data > memory 15x

  15. The New Traditional Wisdom > + Anti- Caching + Buffer Pool

  16. Future Work • Alternative eviction strategies • Larger-than-memory queries • New hardware • flash, persistent memory

  17. The Team Justin DeBrabant (Brown) AndyPavlo (Brown) StephenTu (MIT) MikeStonebraker (MIT) StanZdonik (Brown) Anti-Caching: A New Approach to Database Management System Architecture In Preparation.

  18. Questions? debrabant@cs.brown.eduhstore.cs.brown.edu

More Related