An uncertain database[1] is a kind of database studied in database theory. The goal of uncertain databases is to manage information on which there is some uncertainty. Uncertain databases make it possible to explicitly represent and manage uncertainty on the data, usually in a succinct way.
Formal definition
At the basis of uncertain databases is the notion of possible world. Specifically, a possible world of an uncertain database is a (certain) database which is one of the possible realizations of the uncertain database. A given uncertain database typically has more than one, and potentially infinitely many, possible worlds.
A formalism to represent uncertain databases then explains how to succinctly represent a set of possible worlds into one uncertain database.
Types of uncertain databases
Uncertain database models differ in how they represent and quantify these possible worlds:
Incomplete databases[2][3] are a compact representation of the set of possible worlds – the use of NULL in SQL, arguably the most commonplace instantiation of uncertain databases, is an example of incomplete database model.
The most common database model is the relational model. Multiple incomplete database models have been defined over the relational model, that form extensions to the relational algebra. These have been called[7] Imieliński–Lipski algebras:
Relations with NULL values, also called Codd tables
The following table is a relation of an incomplete database, described in the formalism of NULL values:
id
Name
Salary
1
Alice
10,000
2
Bob
NULL
3
Charlie
NULL
There are infinitely many possible worlds for this incomplete database, obtained by replacing the "NULL" values with concrete values. For instance, the following relation is a possible world:
^Green, Todd J.; Karvounarakis, Grigoris; Tannen, Val (2007-06-11). "Provenance semirings". Proceedings of the twenty-sixth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems. PODS '07. New York, NY, USA: Association for Computing Machinery. pp. 31–40. doi:10.1145/1265530.1265535. ISBN978-1-59593-685-1.