<p>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 <Emphasis FontCategory="NonProportional">NULL</Emphasis>’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, <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq1.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_3\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>3</mn> </msub> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq2"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq2.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_5\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>5</mn> </msub> </math></EquationSource> </InlineEquation>, of strongly possible keys (spKeys), functional dependencies (spFDs), multivalued dependencies (spMVDs) and cross joins (spCJs). For spKeys and spFDs, we show that the <InlineEquation ID="IEq3"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq1.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_3\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>3</mn> </msub> </math></EquationSource> </InlineEquation> value is always an upper bound of the <InlineEquation ID="IEq4"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq2.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_5\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>5</mn> </msub> </math></EquationSource> </InlineEquation> 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 <InlineEquation ID="IEq5"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq5.gif" Format="GIF" Height="23" Rendition="HTML" Resolution="72" Type="Linedraw" Width="83" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_3-g_5=\frac{p}{q}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msub> <mi>g</mi> <mn>3</mn> </msub> <mo>-</mo> <msub> <mi>g</mi> <mn>5</mn> </msub> <mo>=</mo> <mfrac> <mi>p</mi> <mi>q</mi> </mfrac> </mrow> </math></EquationSource> </InlineEquation> for any rational number <InlineEquation ID="IEq6"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq6.gif" Format="GIF" Height="23" Rendition="HTML" Resolution="72" Type="Linedraw" Width="71" /> </InlineMediaObject> <EquationSource Format="TEX">\(0\le \frac{p}{q}&lt;1\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mn>0</mn> <mo>≤</mo> <mfrac> <mi>p</mi> <mi>q</mi> </mfrac> <mo>&lt;</mo> <mn>1</mn> </mrow> </math></EquationSource> </InlineEquation>. On the other hand, we show that the values of measures <InlineEquation ID="IEq7"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq1.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_3\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>3</mn> </msub> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq8"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq2.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_5\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>5</mn> </msub> </math></EquationSource> </InlineEquation> 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 <InlineEquation ID="IEq9"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq1.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_3\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>3</mn> </msub> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq10"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="10472_2025_9967_Article_IEq2.gif" Format="GIF" Height="12" Rendition="HTML" Resolution="72" Type="Linedraw" Width="17" /> </InlineMediaObject> <EquationSource Format="TEX">\(g_5\)</EquationSource> <EquationSource Format="MATHML"><math> <msub> <mi>g</mi> <mn>5</mn> </msub> </math></EquationSource> </InlineEquation> for spCJs are NP-complete.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Approximate integrity constraints in incomplete databases with limited domains

  • Munqath Al-atar,
  • Attila Sali

摘要

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\) g 3 and \(g_5\) 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\) g 3 value is always an upper bound of the \(g_5\) 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}\) g 3 - g 5 = p q for any rational number \(0\le \frac{p}{q}<1\) 0 p q < 1 . On the other hand, we show that the values of measures \(g_3\) g 3 and \(g_5\) 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\) g 3 and \(g_5\) g 5 for spCJs are NP-complete.