Uncertain database explained
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.
- Probabilistic databases[4] are a compact representation of a probability distribution over the set of possible worlds.
- Fuzzy databases[5] are a compact representation of a fuzzy set of the possible worlds.
Though mostly studied in the relational setting, uncertain database models can also be defined in other relational models such as graph databases[6] or XML databases.
Incomplete database
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
- c-tables
- v-tables
Example
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 | |
3 | Charlie | | |
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:
id | Name | Salary |
---|
1 | Alice | 10,000 |
2 | Bob | 8,000 |
3 | Charlie | 12,000 | |
References
- Book: 2009 . Aggarwal . Charu C. . Managing and Mining Uncertain Data . Advances in Database Systems . 35 . en . 10.1007/978-0-387-09690-2 . 2009mmud.book.....A . 978-0-387-09689-6 . 1386-2944.
- Imieliński . Tomasz . Lipski . Witold . 1984-09-20 . Incomplete Information in Relational Databases . Journal of the ACM . en . 31 . 4 . 761–791 . 10.1145/1634.1886 . 0004-5411. Tomasz Imieliński. Witold Lipski.
- Book: Abiteboul . Serge . Foundations of Databases . Hull . Richard . Vianu . Victor . . 1995 . 0-201-53771-0 . Serge Abiteboul . Victor Vianu. Incomplete information. http://webdam.inria.fr/Alice/pdfs/Chapter-19.pdf.
- Suciu . Dan . Olteanu . Dan . Ré . Christopher . Koch . Christoph . 2011 . Probabilistic Databases . Synthesis Lectures on Data Management . en . 10.1007/978-3-031-01879-4 . 978-3-031-00751-4 . 264145434 . 2153-5418. Dan Suciu. Christopher Ré.
- Petry . Frederick E. . 1996 . Fuzzy Databases . International Series in Intelligent Technologies . 5 . en . 10.1007/978-1-4613-1319-9 . 978-1-4612-8566-3 . 1382-3434.
- Khan . Arijit . Ye . Yuan . Chen . Lei . 2018 . On Uncertain Graphs . Synthesis Lectures on Data Management . en . 10.1007/978-3-031-01860-2 . 978-3-031-00732-3 . 2153-5418.
- Book: Green . Todd J. . Karvounarakis . Grigoris . Tannen . Val . Provenance semirings . 2007-06-11 . Proceedings of the twenty-sixth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems . https://doi.org/10.1145/1265530.1265535 . PODS '07 . New York, NY, USA . Association for Computing Machinery . 31–40 . 10.1145/1265530.1265535 . 978-1-59593-685-1.