ProvSQL: Semiring Provenance and Probability Management for PostgreSQL
What's new in 1.14.0 ProvSQL 1.14.0 computes exact probabilities faster. When a lineage splits into parts that share no input tuple, each part is now evaluated separately. And the d-DNNFs compiled in a session are kept: a later lineage with the same structure, over other tuples or with other probabilities, reuses them instead of being compiled again. Both are on by default, with no change to queries. The choice of a probability method is also more robust: a method that takes longer than expected is retried later with a larger budget instead of being abandoned, and an external compiler that runs far too long is stopped. The splitting and the cache were contributed by Aryak Sen (#111). Splitting independent parts When a lineage is an AND or an OR of parts that share no input tuple, the parts are grouped by the tuples they share and each group is evaluated separately. The probability of an AND is then the product of those of its groups, and that of an OR is one minus the product of their complements. A group with a single part is split again. A query whose answer combines many unrelated groups, such as the lines of each order, is then as fast to evaluate as its hardest group. With the default method, splitting is tried when independent fails, and a method is chosen for each group. The new setting provsql.idp fold (default auto ) can turn it off , or on for a method called by name, which then runs on each group. provsql.last eval method and Studio report such an evaluation as fold , followed by the methods used on the groups. Reusing compiled d-DNNFs Each session keeps the d-DNNFs built by tree-decomposition and compilation , indexed by a canonical form of the circuit, which records its structure but not its input tuples. A circuit is looked up piece by piece (first its independent parts, then the rest), and only the pieces not found are compiled. The answers of a single query often have the same structure, so most of them need no compilation.
- Link
- https://zenodo.org/records/24310499
- Found by
- Zenodo
- Authors
- Senellart, Pierre, Amarilli, Antoine, Djeffal, Belkis, Jachiet, Louis, Karmakar, Pratik, Lafosse, Baptiste, Maniu, Silviu, Ramusat, Yann, Sen, Aryak, Widiaatmaja, Albert Ariel
- Categories
- evaluation
- Published
- 2026-11-17
- Last seen by the radar
- 2026-11-17
- Downloads
- 164
- Views
- 1,176
- Radar score
- 45.59 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.24310499