2007 · 37 citations · 19 references
ComputingComputer ScienceInformation SystemsData ManagementData MiningDatabasesData AggregationData IntegrationData SummarizationDatabase ManagementPrincipal Component AnalysisQuery ProcessingAggregate Query ProcessingAggregate TablesLinear ModelsLinear RegressionMulti-dimensional AggregationMulti-dimensional DatabasesMultidimensional ModelsUser-defined Functions
Multidimensional statistical models are generally computed outside a relational DBMS, exporting data sets. This article explains how fundamental multidimensional statistical models are computed inside the DBMS in a single table scan exploiting SQL and User-Defined Functions (UDFs). The techniques described herein are used in a commercial data mining tool, called Teradata Warehouse Miner. Specifically, we explain how correlation, linear regression, PCA and clustering, are integrated into the Teradata DBMS. Two major database processing tasks are discussed: building a model and scoring a data set based on a model. To build a model two summary matrices are shown to be common and essential for all linear models: the linear sum of points and the quadratic sum of cross-products of points. Since such matrices are generally significantly smaller than the data set, we explain how the remaining matrix operations to build the model can be quickly performed outside the DBMS. We first explain how to efficiently compute summary matrices with plain SQL queries. Then we present two sets of UDFs that work in a single table scan: an aggregate UDF to compute summary matrices and a set of scalar UDFs to score data sets. Experiments compare UDFs and SQL queries (running inside the DBMS) with C++ (running outside on exported files). In general, UDFs are faster than SQL queries and UDFs are more efficient than C++, due to long export times. Statistical models based on the summary matrices can be built outside the DBMS in just a few seconds. Aggregate and scalar UDFs scale linearly and require only one table scan, making them ideal to process large data sets.
19
Mining association rules between sets of items in large databases
Rakesh Agrawal, Tomasz Imieliński, Arun Swami · 1993 · 14.8K citations · Full text
Tian Zhang, Raghu Ramakrishnan, Miron Livny · 1996 · 3.9K citations
Automatic subspace clustering of high dimensional data for data mining applications
Rakesh Agrawal, Johannes Gehrke, Dimitrios Gunopulos et al. · 1998 · 2.4K citations
Scaling clustering algorithms to large databases
Patricia Bradley, Usama M. Fayyad, Cory Reina · 1998 · 709 citations
An overview of query optimization in relational systems
Surajit Chaudhuri · 1998 · 619 citations · Full text