首页> 外文学位 >Transparent consistency in Cache Augmented Database Management Systems.
【24h】

Transparent consistency in Cache Augmented Database Management Systems.

机译:高速缓存增强数据库管理系统中的透明一致性。

获取原文
获取原文并翻译 | 示例

摘要

Cache Augmented Database Management Systems (CADBMSs) enhance the performance of simple operations that exhibit a high read to write ratio, e.g., interactive social networking actions. They are realized by extending a data store such as a Relational Database Management Systems (RDBMS) with a Key Value Store (KVS). At the time of writing, memcached is a popular in-memory KVS in use by a number of Internet service providers such as Facebook, YouTube, Wikipedia and others.;A key insight of CADBMSs is that query result lookup using the KVS is significantly faster than query processing using the RDBMS. A challenge is how to maintain these query results consistent in the presence of updates to the RDBMS. Today's CADBMS solutions require a developer to design, implement, debug, and maintain software to address this challenge. This dissertation presents novel design decisions to realize physical data independence that hides the details of the storage structure (KVS or RDBMS) from applications and their developers. These designs simplify the complexity of application software to expedite their development life cycle.;The proposed designs can be categorized into two groups. The first group prevents race conditions that cause the KVS to produce stale data. Our primary contribution here is the IQ framework and its simple programming model that employs Inhibit (I) and Quarantine (Q) leases to provide strong consistency. We describe the compatibility of the leases when the KVS is either invalidated or refreshed in the presence of updates to the RDBMS.;The second group includes transparent techniques that invalidate the key-value pairs of the KVS in the presence of updates to the RDBMS. Our primary contribution is the SQL Query to Trigger translation (SQLTrig) technique. It provides the application developers with the SQL query language and observes the performance enhancements of a KVS without requiring additional software. It intercepts the queries issued by an application and authors software in the form of triggers that describes the template of the query. It registers these triggers with the RDBMS prior to inserting the query and its result set as a key-value pair in the KVS. An insert, delete, update command to the RDBMS invokes the trigger to compute the query (key) whose result set (value) has changed. The trigger invalidates this key-value pair from the KVS in a transactional manner.;We describe a software prototype that embodies both the SQLTrig technique and the IQ framework. We use a social networking benchmark to compare this prototype with a nontransparent consistency technique where the developer extends the application software to maintain key-value pairs consistent with the relational data. Obtained results demonstrate that both provide comparable performance.
机译:高速缓存增强数据库管理系统(CADBMS)增强了简单操作的性能,这些操作表现出较高的读写比,例如交互式社交网络操作。通过使用键值存储(KVS)扩展数据存储(例如关系数据库管理系统(RDBMS))来实现它们。在撰写本文时,memcached是一种流行的内存内KVS,已被Facebook,YouTube,Wikipedia等许多Internet服务提供商使用。CADBMS的一个关键见解是,使用KVS进行查询查询的速度显着提高而不是使用RDBMS进行查询处理。一个挑战是如何在RDBMS更新存在的情况下如何保持这些查询结果一致。当今的CADBMS解决方案要求开发人员设计,实施,调试和维护软件以应对这一挑战。本文提出了实现物理数据独立性的新颖设计决策,从而对应用程序及其开发人员隐藏了存储结构(KVS或RDBMS)的细节。这些设计简化了应用程序软件的复​​杂性,以加快其开发生命周期。提出的设计可分为两类。第一组防止导致KVS产生陈旧数据的竞赛条件。我们在这里的主要贡献是IQ框架及其简单的编程模型,该模型使用禁止(I)和隔离(Q)租约来提供强大的一致性。我们描述了在存在RDBMS更新的情况下使KVS无效或刷新时租约的兼容性。第二组包括透明技术,这些技术在存在RDBMS更新的情况下使KVS的键值对无效。我们的主要贡献是SQL查询触发翻译(SQLTrig)技术。它为应用程序开发人员提供了SQL查询语言,并在不需要其他软件的情况下观察了KVS的性能增强。它以描述查询模板的触发器的形式拦截由应用程序和作者编写的软件的查询。在将查询及其结果集作为KVS中的键/值对插入之前,它会向RDBMS注册这些触发器。对RDBMS的插入,删除,更新命令将调用触发器以计算其结果集(值)已更改的查询(键)。触发器以事务方式使KVS的此键值对无效。我们描述了一个同时包含SQLTrig技术和IQ框架的软件原型。我们使用社交网络基准将这种原型与不透明的一致性技术进行比较,在该技术中,开发人员扩展了应用程序软件,以保持与关系数据一致的键值对。所获得的结果表明,两者均具有可比的性能。

著录项

  • 作者

    Yap, Jason.;

  • 作者单位

    University of Southern California.;

  • 授予单位 University of Southern California.;
  • 学科 Computer Science.;Engineering Computer.
  • 学位 Ph.D.
  • 年度 2014
  • 页码 112 p.
  • 总页数 112
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号