50 likes | 161 Vues
This article discusses advanced techniques for querying RAW data, overcoming obstacles like vendor lock-in and inefficient ETL processes. It details the benefits of using a database to run queries directly on RAW data files, and how to leverage relational DBMS alongside MapReduce engines for optimal performance. Through declarative querying and flexible data management, the approach allows for seamless integration of complex data structures. Application examples, like Higgs analysis with RAW data, illustrate the significant performance improvements achieved, making data reporting and analysis both efficient and effective.
E N D
High-Performance Queryingon RAW data Anastasia Ailamaki EPFL
create a database to run queries RAW DATA FILES LOAD INTO DB REPORT RESULTS QUERY APPLICATIONS Source: “An Overview of Business Intelligence Technology”. S. Chaudhuri, U. Dayal, V. Narasayya. CACM August 2011 data-to-query time too long data “locked” in vendor private data: no move, no copy
run queries to create a database Relational DBMS MapReduce Engine Data Virtualization and Harmonization … Enterprise Search Engine … External Data Sources Operational Databases … Reporting Server Spreadsheet invest only in interesting data
easy for you to say • No ETL • Declarative querying is king • Complex data: tables; arrays; hierarchies • large-scale vertical integration • Flexibility: multiple file formats; no static schemas; … • Efficiency!
Higgs analysis with RAW SELECT event.jet… FROM goodruns.CSV, atlas001.root WHERE csv.RunNumber == root.RunNumber AND root.EF_2mu13 == TRUE AND … join scan csv filter scan root Code Generate the Access Paths Code Generate the Query ROOT CSV Build Position and Data Caches … containing “good” run numbers RAW is 100x faster … containing physics events