首页> 外文会议>ACM SIGMOD international conference on Management of data >Middleware based data replication providing snapshot isolation
【24h】

Middleware based data replication providing snapshot isolation

机译:基于中间件的数据复制提供快照隔离

获取原文

摘要

Many cluster based replication solutions have been proposed providing scalability and fault-tolerance. Many of these solutions perform replica control in a middleware on top of the database replicas. In such a setting concurrency control is a challenge and is often performed on a table basis. Additionally, some systems put severe requirements on transaction programs (e.g., to declare all objects to be accessed in advance). This paper addresses these issues and presents a middleware-based replication scheme which provides the popular snapshot isolation level at the same tuple-level granularity as database systems like PostgreSQL and Oracle, without any need to declare transaction properties in advance. Both read-only and update transactions can be executed at any replica while providing data consistency at all times. Our approach provides what we call "1-copy-snapshot-isolation" as long as the underlying database replicas provide snapshot isolation. We have implemented our approach as a replicatedmiddleware on top of PostgreSQL replicas. By providing a standard JDBC interface, the middleware is completely transparent to the client program. Fault-tolerance is provided by automatically reconnecting clients in case of crashes. Our middleware shows good performance in terms of response times and scalability.
机译:已经提出了许多基于群集的复制解决方案,它们提供了可伸缩性和容错能力。这些解决方案中的许多解决方案都在数据库副本之上的中间件中执行副本控制。在这样的设置中,并发控制是一个挑战,通常是在表的基础上执行的。另外,一些系统对交易程序提出了严格的要求(例如,声明所有对象要被预先访问)。本文解决了这些问题,并提出了一种基于中间件的复制方案,该方案以与PostgreSQL和Oracle等数据库系统相同的元组级粒度提供流行的快照隔离级别,而无需事先声明事务属性。只读事务和更新事务都可以在任何副本上执行,同时始终提供数据一致性。只要基础数据库副本提供快照隔离,我们的方法就会提供所谓的“ 1-copy-snapshot-isolation”。我们已将我们的方法实现为PostgreSQL副本之上的复制中间件。通过提供标准的JDBC接口,中间件对于客户端程序是完全透明的。通过在发生崩溃时自动重新连接客户端来提供容错功能。我们的中间件在响应时间和可伸缩性方面显示出良好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号