Towards tractable algebras for bags
Towards tractable algebras for bags
复制标题
面向袋子的易处理代数
DOI:
--
复制
发表时间:
1993
期刊:
影响因子:
--
通讯作者:
Tova Milo
中科院分区:
文献类型:
--
作者:
S. Grumbach;Tova Milo
Bags, i.e. sets with duplicates, are often used to implement relations in database systems. In this paper we study the expressive power of algebras for manipulating bags. The algebra we present is a simple extension of the nested relation algebra. Our aim is to investigate how the use of bags in the language extends its expressive power, and increases its complexity. We consider two main issues, namely (i) the relationship between the depth of bag nesting and the expressive power, and (ii) the relationship between the algebraic operations, and their complexity and expressive power. We show that the bag algebra is more expressive than the nested relation algebra (at all levels of nesting), and that the difference may be subtle. We establish a hierarchy based on the structure of algebra expressions. This hierarchy is shown to be highly related to the properties of the powerset operator.