arXiv:2610.32015cs.DBOct 2026

Manuscript Offprint

arXiv:2610.32015

Scaling Graph Query Processing: Focused Exploration on Partitions Using Load Balancing

Harshit Modi, Abhishek Santra, Sharma Chakravarthy

Harshit Modi

IT Lab & CSE Department

University of Texas at Arlington

Arlington, Texas, USA

harshitashokkum.modi@mavs.uta.edu

Abhishek Santra

IT Lab & CSE Department

University of Texas at Arlington

Arlington, Texas, USA

abhishek.santra@mavs.uta.edu

Sharma Chakravarthy

IT Lab & CSE Department

University of Texas at Arlington

Arlington, Texas, USA

sharmac@cse.uta.edu

Abstract—The focus of this paper is on query processing and not search (approximate or exact). The goal is to find all or k answers and the expressiveness of a query (as opposed to a search expression which is typically simpler) is considered important. Although SQL query processing has matured over the last several decades, query processing over graph data has not received the same attention. Only recently, systems, such as Neo4J, and others have started using graphs for data representation on a large scale. Their approaches and algorithms remain proprietary.

In this paper, we address the problem of answering graph queries and their efficient processing on arbitrary-sized graphs. We propose the partitioning of graphs and the use of the distributed paradigm to achieve efficiency and scalability. Our approach takes a subgraph as query input including wild cards and comparison operations. Our partitioned approach leverages focused exploration and distributed processing to achieve the desired parallelism and improve the response time. We also present heuristics to reduce the number of partitions loaded for query processing. We present our partitioning algorithm, distributed processing architecture used, and load balancing for computing query answers. We establish the correctness of the approach in the presence of partitions, compare heuristics for load balancing, and extensive experimental results over large synthetic and real-world graph data sets.

Index Terms—Graph Querying, Expressive Queries, Scalable Processing, Map/Reduce

I. MOTIVATION

As the amount of structured data and application characteristics are increasing, graphs used for modeling them are becoming larger and they cannot be stored in main memory or use a single processor for bounding the response time. For example, Facebook has around 2.3 billion active users [1], computer science bibliography website, DBLP, has over 5 million records of conferences/workshop papers and journal articles [2], and Internet Movie Database (IMDb) contains over 360 million data items with information of 123 million people and 6.5 million titles [3]. This brings significant challenges in querying large graphs.

We propose a partitioned approach along with leveraging a distributed processing framework for processing queries on large graphs. When query evaluation is done on partitioned graphs, answers may span multiple partitions which brings new challenges to make sure: i) all answers (or k answers) are computed (completeness) and ii) all computed answers are correct (soundness). Our approach allows us to match partition sizes to the processor capability as well as control the amount of parallel processing. For this approach, we also propose a number of heuristics for choosing which and how many partitions to evaluate after each iteration to minimize the total number of partitions loaded and to reduce total response time (Load balancing). We also formulate a load factor to assess the efficacy of a heuristic used. Based on the availability/affordability of resources, our approach has the ability to adjust to specified/affordable amount of parallel processing. In the ideal case, we can match the number of partitions with the corresponding number of resources in each iteration for maximum parallelism and the best response time. Problem Statement: The problem is to develop a distributed processing framework to process graph queries on very large graphs with reasonable or controlled response time. Specifically, given a large graph G and available resources (in terms of total number of processors/cores), develop a graph partition strategy P, a set of partition loading heuristics H, and a distributed algorithm that can efficiently and correctly (satisfy soundness and completeness) process any expressive graph query Q.

The sub-problems of this are: i) expressive query specification, ii) developing partitioning strategies, iii) distributed processing algorithms to process partitions using proposed heuristics and obtaining all (or k) answers, and iv) establishing soundness and completeness of results.