A strongly possible constraint is an intermediate concept between possible and certain constraints, based on the strongly possible world approach (a strongly possible world is obtained by replacing NULL’s by a value from the ones appearing in the corresponding attribute of the table). In the present paper, we introduce strongly possible versions of multivalued dependencies and cross joins, and we analyse the complexity of checking the validity of a given strongly possible cross joins. We also study two approximation measures, (g_3) and (g_5), of strongly possible keys (spKeys), functional dependencies (spFDs), multivalued dependencies (spMVDs) and cross joins (spCJs). For spKeys and spFDs, we show that the (g_3) value is always an upper bound of the (g_5) value for a given constraint in a table. However, there are tables of arbitrarily large number of tuples and a constant number of attributes that satisfy (g_3-g_5=frac{p}{q}) for any rational number (0le frac{p}{q}<1). On the other hand, we show that the values of measures (g_3) and (g_5) are independent of each other in the case of spMVDs and spCJs. We prove that checking whether a given strongly possible cross join holds in an incomplete table is NP-complete, in sharp contrast to the fact that checking a given cross join in a complete table is easily seen to be polynomially solvable. We also treat complexity questions of determination of the approximation values, namely we show that both, determining (g_3) and (g_5) for spCJs are NP-complete.
扫码关注我们
求助内容:
应助结果提醒方式:
