Live
Black Hat USADark ReadingBlack Hat AsiaAI Business40 Days of Building HarshAI: What I Learned About AI AutomationDEV CommunityMoving fast with agents without losing comprehensionDEV CommunityCharlie's Chocolate Factory Paperclip — Ep.1DEV CommunityAI-Generated APIs Keep Shipping Wildcard CORS. Here's the Fix.DEV CommunityHarshAI: I Built a Zapier Killer in 40 Days (Open Source)DEV CommunitySanta Augmentcode Intent Ep.5DEV CommunityBuilding a Production-Ready Composable AI Agent System with CopilotKit and LangGraphDEV CommunityI Built 3 APIs for Turkey’s Used-Car Market with ApifyDEV CommunitySemantic Search with TypeScript: Using embed() and embedMany() for Vector SearchDEV CommunityVoice AI Agents: Building Speech-to-Speech Apps with TypeScriptDEV CommunityRightNow AI Releases AutoKernel: An Open-Source Framework that Applies an Autonomous Agent Loop to GPU Kernel Optimization for Arbitrary PyTorch ModelsMarkTechPostGet 30K more context using Q8 mmproj with Gemma 4Reddit r/LocalLLaMABlack Hat USADark ReadingBlack Hat AsiaAI Business40 Days of Building HarshAI: What I Learned About AI AutomationDEV CommunityMoving fast with agents without losing comprehensionDEV CommunityCharlie's Chocolate Factory Paperclip — Ep.1DEV CommunityAI-Generated APIs Keep Shipping Wildcard CORS. Here's the Fix.DEV CommunityHarshAI: I Built a Zapier Killer in 40 Days (Open Source)DEV CommunitySanta Augmentcode Intent Ep.5DEV CommunityBuilding a Production-Ready Composable AI Agent System with CopilotKit and LangGraphDEV CommunityI Built 3 APIs for Turkey’s Used-Car Market with ApifyDEV CommunitySemantic Search with TypeScript: Using embed() and embedMany() for Vector SearchDEV CommunityVoice AI Agents: Building Speech-to-Speech Apps with TypeScriptDEV CommunityRightNow AI Releases AutoKernel: An Open-Source Framework that Applies an Autonomous Agent Loop to GPU Kernel Optimization for Arbitrary PyTorch ModelsMarkTechPostGet 30K more context using Q8 mmproj with Gemma 4Reddit r/LocalLLaMA
AI NEWS HUBbyEIGENVECTOREigenvector

Efficient Path Query Processing in Relational Database Systems

arXiv cs.DBby Diego Rivera Correa, Mirek RiedewaldApril 6, 20262 min read0 views
Source Quiz

arXiv:2604.02553v1 Announce Type: new Abstract: Path queries are crucial for property graphs, and there is growing interest in queries that combine regular expressions over labels with constraints on property values of vertices and edges. Efficient evaluation of such general path queries requires that intermediate results be eliminated early when there is no possible completion to a full result path. Neither state-of-the-art (SOA) graph DBMS nor relational DBMS currently can do this effectively for a large class of queries. We show that this problem can be addressed by giving a relational optimizer ``a little help'' by specifying early filtering opportunities explicitly in the query. To this end, we propose ReCAP, an abstraction that greatly simplifies the implementation of early filtering

View PDF

Abstract:Path queries are crucial for property graphs, and there is growing interest in queries that combine regular expressions over labels with constraints on property values of vertices and edges. Efficient evaluation of such general path queries requires that intermediate results be eliminated early when there is no possible completion to a full result path. Neither state-of-the-art (SOA) graph DBMS nor relational DBMS currently can do this effectively for a large class of queries. We show that this problem can be addressed by giving a relational optimizer ``a little help'' by specifying early filtering opportunities explicitly in the query. To this end, we propose ReCAP, an abstraction that greatly simplifies the implementation of early filtering techniques for any type of property constraint for which such early filtering can be derived. No matter how complex the constraint, one only needs to implement (1) an NFA-style state transition function and (2) a handful of functions that mirror those needed for user-defined aggregates. We show that when using ReCAP, a standard relational DBMS like DuckDB can effectively push property constraints deep into the query plan, beating the SOA graph and relational DBMS by a factor up to 400,000 over a variety of queries and input graphs.

Subjects:

Databases (cs.DB)

Cite as: arXiv:2604.02553 [cs.DB]

(or arXiv:2604.02553v1 [cs.DB] for this version)

https://doi.org/10.48550/arXiv.2604.02553

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Diego Rivera Correa [view email] [v1] Thu, 2 Apr 2026 22:07:13 UTC (556 KB)

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

announcevaluationarxiv

Knowledge Map

Knowledge Map
TopicsEntitiesSource
Efficient P…announcevaluationarxivarXiv cs.DB

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 295 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Releases