You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this would compute the temporary table tmp(x, y, z) and then project this down to d(x, y).
This is inefficient because the result does not care about every valid z-value. Hence it would suffice to know that one such value exists and move on to the next x, y pair.
To illustrate, consider a database with a(1, 2), b(2, 5), b(2, 6), c(5), c(6). We'd obtain tmp(1, 2, 5) and tmp(1, 2, 6), even though we only need to save d(1, 2).
The text was updated successfully, but these errors were encountered:
Suppose you want to evaluate the rule
Currently this would compute the temporary table
tmp(x, y, z)
and then project this down tod(x, y)
.This is inefficient because the result does not care about every valid z-value. Hence it would suffice to know that one such value exists and move on to the next x, y pair.
To illustrate, consider a database with
a(1, 2), b(2, 5), b(2, 6), c(5), c(6)
. We'd obtaintmp(1, 2, 5)
andtmp(1, 2, 6)
, even though we only need to saved(1, 2)
.The text was updated successfully, but these errors were encountered: