...
首页> 外文期刊>IEEE Transactions on Knowledge and Data Engineering >Using constraints for efficient query processing in nondeterministic databases
【24h】

Using constraints for efficient query processing in nondeterministic databases

机译:使用约束在非确定性数据库中进行有效的查询处理

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

获取外文期刊封面封底 >>

       

摘要

Nondeterministic databases store disjunctive data using OR-objects. For example, data such as "Part#1 is implementable using Nickel or Cobalt" is stored as Implement(Part#1, o/sub 1/) where Dom(o/sub 1/)={Nickel, Cobalt} is the domain of the OR-object o/sub 1/. A possible world of a database is obtained by replacing every OR-object by a member from its domain, and it is said to be conforming if it satisfies all the FDs (functional dependencies) associated with the database. A database D is said to fully incorporate a set F of FDs if every possible world of D is conforming. This paper studies the problem of preprocessing databases to achieve full incorporation, and also the problem of incrementally maintaining a database fully incorporated under insertions and deletions. We first define a certain property called goodness of a class D of databases for a set F of FDs; goodness can be tested efficiently and enforced easily at schema design time. For any class D of databases that is good for F, we present: 1) a quadratic time algorithm for fully incorporating F; 2) efficient algorithms for maintaining full incorporation under updates; and 3) lower-bounds for the algorithms of (1) and (2). Next, we show that, for classes of databases that are not good, the problem of full incorporation is, in general, coNP-complete. We also examine the complexity when OR-objects are restricted to have no more than two members, and obtain some interesting tractable algorithms, and intractability results.
机译:非确定性数据库使用OR对象存储析取数据。例如,诸如“ Part#1可使用镍或钴实现”这样的数据存储为Implement(Part#1,o / sub 1 /),其中Dom(o / sub 1 /)= {Nickel,Cobalt}是域或对象o / sub 1 /的值。通过用其域中的成员替换每个OR对象来获得数据库的可能世界,并且如果它满足与数据库相关联的所有FD(功能依赖项),则它被认为是符合条件的。如果D的每个可能世界都符合,则据说数据库D完全包含了FD的F集。本文研究预处理数据库以实现完全合并的问题,以及在插入和删除下逐步维护数据库完全合并的问题。我们首先为一组F的FD定义一个称为数据库D类的优良性的属性。可以在架构设计时有效地测试善良并轻松实施。对于任何适合F的D类数据库,我们提出:1)完全合并F的二次时间算法; 2)有效的算法,用于在更新时保持完全合并; (3)(1)和(2)算法的下界。接下来,我们表明,对于不好的数据库类,完全合并的问题通常是coNP完全的。我们还研究了将OR对象限制为不超过两个成员时的复杂性,并获得了一些有趣的易处理算法和难处理性结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号