Query performance prediction has shown benefits to query optimization and resource allocation for relational databases. Emerging applications are leading to search scenarios where workloads with heterogeneous, structure-less analytical queries are processed over large-scale graph and network data. This calls for effective models to predict the performance of graph analytical queries, which are often more involved than their relational counterparts. In this paper, we study and evaluate predictive techniques for graph query performance prediction. We make several contributions. (1) We propose a general learning framework that makes use of practical and computationally efficient statistics from query scenarios and employs regression models. (2) We instantiate the framework with two routinely issued query classes, namely, reachability and graph pattern matching, that exhibit different query complexity. We develop modeling and learning algorithms for both query classes. (3) We show that our prediction models readily apply to resource-bounded querying, by providing a learningbased workload optimization strategy. Given a query workload and a time bound, the models select queries to be processed with a maximized query profit and a total cost within the bound. Using real-world graphs, we experimentally demonstrate the efficacy of our framework in terms of accuracy and the effectiveness of workload optimization. Example 1: Consider a query posed on a knowledge graph DBpedia that finds the artists who work with "J.Lo" in a Band [19]. This query can be represented by a graph pattern Q that carries (ambiguous) keywords, with a corresponding approximate match as illustrated in Fig. 1. Each pattern node in Q may have a large number of candidate matches. The quality of the answer is usually determined only at run-time via similarity functions [29]. For example, "Canela Cox" is a best answer when "Jennifer Lopez" is matched to the ambiguous keyword "J.Lo" in the query. Conventional QPP that exploits relational algebra may not be applicable for graph pattern Q, as the syntax and declarative operators are hard to be derived from the "structureless" Q. Moreover, deriving statistics from the graph data alone is already expensive, due to the sheer size of data, and the fact that the underlying graph may change from time to time.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.