Ten thousand SQLs
Authors:
Open Access
- 1 September 2010
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 3 (1-2) , 58-69
Abstract
Keyword search in relational databases has been extensively studied. Given a relational database, a keyword query finds a set of interconnected tuple structures connected by foreign key references. On rdbms, a keyword query is processed in two steps, namely, candidate networks ( CN s) generation and CN s evaluation, where a CN is an sql. In common, a keyword query needs to be processed using over 10,000 sqls. There are several approaches to process a keyword query on rdbms, but there is a limit to achieve high performance on a uniprocessor architecture. In this paper, we study parallel computing keyword queries on a multicore architecture. We give three observations on keyword query computing, namely, a large number of sqls that needs to be processed, high sharing possibility among sqls, and large intermediate results with small number of final results. All make it challenging for parallel keyword queries computing. We investigate three approaches. We first study the query level parallelism, where each sql is processed by one core. We distribute the sqls into different cores based on three objectives, regarding minimizing workload skew, minimizing intercore sharing and maximizing intra-core sharing respectively. Such an approach has the potential risk of load unbalancing through accumulating errors of cost estimation. We then study the operation level parallelism, where each operation of an sql is processed by one core. All operations are processed in stages, where in each stage the costs of operations are re-estimated to reduce the accumulated error. Such operation level parallelism still has drawbacks of workload skew when large operations are involved and a large number of cores are used. Finally, we propose a new algorithm that partitions relations adaptively in order to minimize the extra cost of partitioning and at the same time reduce workload skew. We conducted extensive performance studies using two large real datasets, DBLP and IMDB , and we report the efficiency of our approaches in this paper.Keywords
This publication has 25 references indexed in Scilit:
- Rhodium-Catalyzed Stereospecific Construction of Allylic AminesSynfacts, 2009
- Mining tree-structured data on multicore systemsProceedings of the VLDB Endowment, 2009
- Keyword search on external memory data graphsProceedings of the VLDB Endowment, 2008
- Scalable multi-query optimization for exploratory queries over federated scientific databasesProceedings of the VLDB Endowment, 2008
- EASE2008
- Authority-based keyword search in databasesACM Transactions on Database Systems, 2008
- Spark2007
- Query evaluation techniques for large databasesACM Computing Surveys, 1993
- Join processing in relational databasesACM Computing Surveys, 1992
- Distributed query processingACM Computing Surveys, 1984