The monte carlo database system

Ravi Jampani, Fei Xu, Mingxi Wu, Luis L. Perez, Chris Jermaine, Peter J. Haas

ACM Transactions on Database Systems · 2011 · 44 citations · 48 references

Concepts

TL;DR

Stochastic modeling of large datasets is common, yet it usually requires extracting data from a database into external tools, a process that is error‑prone, slow, and discourages fine‑grained modeling and sensitivity analyses. This article introduces MCDB, a database system that enables a wide range of stochastic models to operate directly on stored data without any extraction. MCDB supports in‑database execution of risk assessment, prediction, missing‑data imputation, and error management, allows users to define random relations, and evaluates query results via Monte Carlo analysis of their probability distributions. Experiments demonstrate that novel tuple‑bundle processing techniques effectively reduce Monte Carlo overhead.

Abstract

The application of stochastic models and analysis techniques to large datasets is now commonplace. Unfortunately, in practice this usually means extracting data from a database system into an external tool (such as SAS, R, Arena, or Matlab), and then running the analysis there. This extract-and-model paradigm is typically error-prone, slow, does not support fine-grained modeling, and discourages what-if and sensitivity analyses. In this article we describe MCDB, a database system that permits a wide spectrum of stochastic models to be used in conjunction with the data stored in a large database, without ever extracting the data. MCDB facilitates in-database execution of tasks such as risk assessment, prediction, and imputation of missing data, as well as management of errors due to data integration, information extraction, and privacy-preserving data anonymization. MCDB allows a user to define “random” relations whose contents are determined by stochastic models. The models can then be queried using standard SQL. Monte Carlo techniques are used to analyze the probability distribution of the result of an SQL query over random relations. Novel “tuple-bundle” processing techniques can effectively control the Monte Carlo overhead, as shown in our experiments.

References

48