...
首页> 外文期刊>ACM Computing Surveys >Online Reorganization of Databases
【24h】

Online Reorganization of Databases

机译:在线重组数据库

获取原文

摘要

In practice, any database management system sometimes needs reorganization, that is, a change in some aspect of the logical and/or physical arrangement of a database. In traditional practice, many types of reorganization have required denying access to a database (taking the database offline) during reorganization. Taking a database offline can be unacceptable for a highly available (24-hour) database, for example, a database serving electronic commerce or armed forces, or for a very large database. A solution is to reorganize online (concurrently with usage of the database, incrementally during users' activities, or interpretively). This article is a tutorial and survey on requirements, issues, and strategies for online reorganization. It analyzes the issues and then presents the strategies, which use the issues. The issues, most of which involve design trade-offs, include use of partitions, the locus of control for the process that reorganizes (a background process or users' activities), reorganization by copying to newly allocated storage (as opposed to reorganizing in place), use of differential files, references to data that has moved, performance, and activation of reorganization. The article surveys online strategies in three categories of reorganization. The first category, maintenance, involves restoring the physical arrangement of data instances without changing the database definition. This category includes restoration of clustering, reorganization of an index, rebalancing of parallel or distributed data, garbage collection for persistent storage, and cleaning (reclamation of space) in a log-structured file system. The second category involves changing the physical database definition; topics include construction of indexes, conversion between B~+-trees and linear hash files, and redefinition (e.g., splitting) of partitions. The third category involves changing the logical database definition. Some examples are changing a column's data type, changing the inheritance hierarchy of object classes, and changing a relationship from one-to-many to many-to-many. The survey encompasses both research and commercial implementations, and this article points out several open research topics. As highly available or very large databases continue to become more common and more important in the world economy, the importance of online reorganization is likely to continue growing.
机译:实际上,任何数据库管理系统有时都需要重新组织,即,在数据库的逻辑和/或物理排列的某些方面进行更改。在传统实践中,许多类型的重组要求在重组期间拒绝访问数据库(使数据库脱机)。对于高度可用(24小时)的数据库(例如,为电子商务或武装部队服务的数据库)或非常大的数据库,使数据库脱机可能是不可接受的。一种解决方案是在线重组(与数据库的使用同时进行,在用户活动期间逐步进行或解释性地进行重组)。本文是有关在线重组的要求,问题和策略的教程和调查。它分析问题,然后提出使用问题的策略。这些问题大部分涉及设计权衡,包括分区的使用,重组过程(后台过程或用户活动)的控制源,通过复制到新分配的存储进行重组(而不是原地重组) ),差异文件的使用,对已移动数据的引用,性能以及重组的激活。本文从三类重组中调查了在线策略。第一类是维护,它涉及在不更改数据库定义的情况下恢复数据实例的物理排列。此类别包括恢复群集,重组索引,重新平衡并行或分布式数据,用于持久存储的垃圾收集以及在日志结构的文件系统中进行清理(回收空间)。第二类涉及更改物理数据库定义。主题包括索引的构建,B〜+-树与线性哈希文件之间的转换以及分区的重新定义(例如,分割)。第三类涉及更改逻辑数据库定义。一些示例包括更改列的数据类型,更改对象类的继承层次结构以及将关系从一对多更改为多对多。该调查包括研究和商业实施,本文指出了几个开放的研究主题。随着高可用性或超大型数据库在世界经济中继续变得越来越普遍和越来越重要,在线重组的重要性可能会继续增长。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号