
New Databases papers from https://www.nitter.cf/t.co/nAsAct7zgt: database management, datamining, and data processing. Thank you to arXiv for use of its open access interoperability.
- Tweets12.4K
- Following1
- Followers270
- Likes2

ALT Vector quantization is widely used in vector search systems to reduce storage and computation costs by encoding high-dimensional vectors into compact representations. However, existing quantizers fail to simultaneously provide (1) training-free joint multi-dimensional codebooks, (2) high quantization similarity with strong optimality guarantees, (3) unbiased and FastScan-friendly distance estimation with tight error bounds, and (4) native sub-bit compression. In particular, they are mainly designed for high-accuracy vector quantization using multiple bits per dimension (bpd) and generally cannot operate below 1 bpd. To address these limitations, we propose E8Q, a low-bit directional quantizer based on the roots of the E8 lattice that addresses all four aspects. For codebook design, it uses a geometrically well-distributed E8 root codebook to quantize each 8D subvector, enabling high-quality 1-bit quantization without training. For theoretical guarantees, we prove that its expected quan

ALT Scientific, smart city, and modern IoT applications continuously generate enormous amounts of heterogeneous data at high velocity. For most scientific experiments, the dataset schema is not known in advance. Traditional database management systems cannot handle real-time data loading to keep up with data generation speeds unless provided with more resources. Therefore, the data is initially stored in raw formats to reduce the storage time. The in-situ engines process queries directly on the raw data, eliminating the need to load data. However, in-situ engines suffer from high query execution time (QET) due to the necessity of parsing raw data each time increasing CPU resource utilization & energy requirements. A comprehensive study of the problems faced during raw data query processing like reparsing, heterogeneous data, high QET for online analytical processing (OLAP) queries are presented here. It discusses raw data processing flow & architecture, which explains the operations that m

ALT Semantic query processing extends databases with semantic predicates evaluated by large language models (LLMs). Since LLM inference dominates the cost of semantic queries, existing systems employ various query optimization strategies to reduce this cost. Optimizing queries in isolation, however, overlooks redundant LLM calls across related queries that repeatedly access incrementally changing data. Exploiting this redundancy poses three challenges: determining which prior results can be reused, efficiently evaluating the rows those results leave undecided, and deciding when to refresh stored results as data change. In this paper, we present SemMV, a system that reduces semantic query processing cost by reusing prior results through materialized views. Specifically, SemMV comprises four components to address the aforementioned challenges. First, the validator conservatively judges relations between predicates to reduce the risk of incorrect reuse. Second, the query rewriter translates t

ALT A new page on a website, such as a product or an article, can enter an AI system's own index or training corpus only after the system's crawler has fetched it. How AI crawlers find and choose pages is undocumented, and the only published measurement of how soon they fetch new pages covers a single website. In this work, we measure whether and when eight AI crawlers and two search crawlers fetch a site's new pages, using a Kaplan-Meier analysis of the time to first fetch, paired with smartphone Googlebot on the same pages, on 2,677 Prerender customer accounts from February 2025 to September 2026. Within 30 days, the AI search crawlers reach 28 to 47% of the new pages on the median site and the training crawlers 31 to 65%, against 80 to 97% for Googlebot on the same pages, and the user-triggered fetcher ChatGPT-User reaches 22%. Most of what a crawler reaches, it reaches on the first day; by day 180 it adds 12 to 17 points, but the gap to Googlebot remains. The gap is not specific to new

ALT Data analysts increasingly want to run SQL over unstructured, multimodal data (text, images, audio) with AI operators that filter, classify, extract, score, and join rows using large language models. GPU databases accelerate relational queries by running scans, joins, and aggregations on the GPU. Although there is a natural synergy between the two, surprisingly, these capabilities remain separate: semantic query engines run the relational layer on CPUs, while GPU databases lack first-class support for semantic operators. We present GSQ, the first engine to address this gap. GSQ runs the relational operators of a semantic query on the GPU together with its AI operators in-process on the same GPU with cheaper, task-specialized, non-generative proxy models wherever possible. Across text, image, and audio workloads, GSQ runs semantic queries up to two orders of magnitude faster than served multimodal LLMs (MLLMs). GSQ broadens the applicability of GPU databases to GPU-native execution of s

ALT Dynamic graph search combines property selection with traversal and ranking while vertices, edges, and properties change. Adjacency-oriented storage supports efficient neighbor lookup, but selective queries need additional access paths whose construction and maintenance can be costly. We present Graph Learned Index (GLI), which builds learned indexes for graph-wide selection and vertex-local edge filtering. Piecewise-linear models predict property-entry positions within each index to narrow lookup. Buffered changes remain searchable to keep results current as graph connections and values change. To support traversal and exact graph-distance k-nearest-neighbor (kNN) search, GLI uses element identifiers to connect property entries to current graph data in hybrid edge/vertex storage. Experiments on basic graphs, an LDBC property graph, and road networks show gains in selective search and index construction. GLI returns complete adjacency lists 1.45 to 3.24 times faster than AsterDB. It re

ALT Modern relational databases often comprise hundreds or thousands of interrelated tables, making their overall organization difficult to understand. Functional cluster discovery aims to partition these tables into coherent clusters characterized by shared semantics and strong internal relationships. Existing methods typically cluster tables by similarity and output a single partition, overlooking the functional compatibility among tables within a cluster and among clusters across granularities. This is because tables serving the same function often play different roles and are not necessarily similar. To address these limitations, we propose MODA, a framework for functional cluster discovery with two phases: Probabilistic Table-to-Cluster Formation and Cluster-to-Tree Organization. In the Table-to-Cluster Formation phase, we introduce a probabilistic compatibility model to assess whether tables with different roles serve a common function. Within each candidate cluster, the model infers

ALT As enterprises increasingly adopt AI agents for data analytics, coding agents are emerging as a natural-language interface for building DataFrame-based analysis and preparation workflows. In practice, users may start with unclear requests, refine them through multiple rounds of interaction, and target backends beyond widely used pandas, such as PySpark. In this setting, it remains unclear how reliably agents interpret users' requirements and generate correct DataFrame programs across backends. We present dfArena, an evaluation framework for agentic DataFrame programming. It comprises 472 curated workloads from DataAgentBench, PrepBench, and PandasBench, covering natural-language-driven DataFrame generation and pandas workflow migration. We evaluate configurations based on five models and three agent harnesses on pandas, Polars, Ibis, and PySpark, examining correctness, human-agent interaction behavior, failure mechanisms, and API cost. Our findings reveal three patterns. First, as mode

ALT Large language models (LLMs) can translate SAP Adaptive Server Enterprise (ASE) Transact-SQL to Microsoft SQL Server, but a translation that compiles may still behave differently. We present VeriMig, a framework that checks each translation with four gates: deployment, a lint for remaining ASE constructs, differential execution against a reviewed reference translation, and data reconciliation. Only the first two gates give feedback to the model's repair loop, so the references never shape the translations they score. We contribute a taxonomy of 15 categories of dialect differences, a corpus of 46 development cases and 6 held-out procedures, and an evaluation of 5 locally hosted code models. Without an ASE server, expected behaviour comes from reference translations; 14 rely on documented, not executed, ASE semantics. For the strongest local model, agreement with the references rises from 53.0% with a plain prompt to 81.1% with a checklist of known dialect differences and 87.9% with the

ALT Large language models (LLMs) are increasingly used to translate schemas and procedural code when enterprises migrate from single-node relational databases to distributed SQL systems. Translation, however, addresses only syntax. When the target uses optimistic, serializable concurrency control, applications written for lock-based read-committed isolation encounter serialization aborts that the original code never handled, and these failures surface under production contention rather than in functional testing. We treat this behavioral gap as a first-class migration concern. We propose eight architecture patterns that wrap probabilistic LLM translation in deterministic verification, and we integrate them into a reference architecture whose cutover is governed by service level objectives. We then evaluate the behavioral core empirically. On a single-hot-row read-modify-write microbenchmark at 32 concurrent clients, two serializable configurations abort 79-86% of transaction attempts. A re

ALT Multi-vector retrieval, which represents queries and documents as sets of vectors, has become an important primitive for text and multimodal retrieval, with emerging applications in biological sequence analysis. However, its high computational cost and large index make it expensive to serve. Existing CPU engines mitigate these costs by filtering candidates before reranking and compressing embeddings, but their computation still limits their throughput and the in-DRAM index becomes costly as corpora grow. We present MARS, a CPU engine that can serve its whole index from much cheaper SSD with efficient computation and storage access. MARS speeds up merging partial scores and scoring candidates with partitioned document-score reduction and MaxSim scoring on matrix units, and reduces wasted SSD bandwidth with similarity-based placement and uncertainty-guided reranking. We evaluate MARS against five state-of-the-art in-memory engines on three ColBERTv2 corpora and against PLAID on two large

ALT Optimising SQL query execution remains a core challenge in relational database systems, as semantically equivalent queries can differ in runtime by several orders of magnitude. Traditional optimisers often misestimate costs and fail to explore the full transformation space, while recent Large Language Model (LLM)-based approaches generate promising rewrites but typically settle on a single candidate without systematic search. This work presents ReGenSQL, a hybrid framework that integrates Genetic Improvement (GI) with retrieval-augmented LLM guidance to explore query rewrites more effectively. ReGenSQL leverages Apache Calcite's verified transformation rules to ensure semantic correctness, uses R-Bot to seed diverse LLM-informed candidates, and applies evolutionary search to refine rewrites under fitness functions based on either estimated or actual execution cost. Evaluation on the TPC-H benchmark demonstrates that ReGenSQL achieves a clear trade-off between efficiency and effectivene

ALT Pangenome graphs represent the complete genomes of multiple individuals as annotated graphs. Their nodes represent nucleotide (A, C, G, T) sequences originating from the genomes. Biological variations (e.g. substitutions, insertions, or deletions of nucleotides) manifest in these graphs as topological patterns, many of which involve paths with unbounded length. The large size of pangenome graphs calls for the use of database technology to process them, while the nature of the patterns requires expressive query languages. This work studies how database engines can be used to query these graphs. We identify biologically relevant patterns and express them in the most common query languages of relational and graph database engines (recursive SQL, SQL/PGQ, SPARQL, Cypher and Datalog). Additionally, we consider hybrid approaches that run graph algorithms on data stored in a database. For each technology, we discuss the schema choices that make the best use of it. Finally, we benchmark the pe

ALT Large language model (LLM) merging has become a key technique in modern LLM development pipelines, enabling the integration of multiple task- or domain-specific expert models without retraining. However, as the number of experts grows, existing merging implementations treat model parameters as unstructured files and execute merges in a stateless, one-shot manner, leading to excessive I/O, redundant parameter scans, and poor scalability. In this paper, we present MergePipe, a data management system for scalable LLM merging. MergePipe is the first system that treats LLM merging as a data management and execution problem, and introduces a catalog-driven abstraction over model parameters, merge plans, and execution lineage. At its core, MergePipe employs a cost-aware planner that explicitly models expert parameter I/O and enforces user-specified I/O budgets, followed by an execution engine that materializes complete merged checkpoints with replayable manifests. Our key insight is that whil

ALT Zero-knowledge (ZK) proofs can be used by a vector-search service to verify approximate nearest-neighbor (ANN) search over a committed index without revealing private vectors. However, these query proofs do not verify how the index was constructed: a provider can omit records and still pass every subsequent query proof. To address this gap, we present VISTA, Verifiable Index Synthesis for Trusted ANN, which enables a client to verify that a random projection forest (RPF) was faithfully constructed from a committed raw database without accessing the data or rebuilding the index. Rather than verifying construction step by step, VISTA directly verifies the resulting index by organizing the RPF into fixed-capacity buckets: bucket proofs verify each record's splitting constraints, while order-independent record summaries verify that each tree holds exactly the committed records. For subsequent queries, VISTA reuses the resulting construction certificate to verify routing and candidate reran

ALT Longitudinal laboratory and diabetes-clinic records from Iran are not available for independent research. We describe a synthetic cohort generated from the records of a clinical laboratory and a diabetes clinic covering 2012 to 2025. Edition 1 contains 194,745 synthetic patient histories, of which 12,456 carry a structured diabetes-clinic profile with medicines, vital signs, visit questions and clinical risk scores. Sequential conditional tree models generated the laboratory histories and a separate layer generated the clinic documentation. Models trained on the edition alone and tested on real held-back patients reached areas under the ROC curve of 0.729, 0.850 and 0.710 for a subsequent high glycated haemoglobin, fasting glucose and LDL cholesterol result. Privacy was assessed empirically by comparing patients whose records were used with patients whose records were not: membership could not be told apart from chance and no sensitive field was easier to infer for the former. The clin

ALT Traditional database machine learning (DBMS-ML) systems rely on task-specific model training, which introduces operational complexity, resource-intensive training phases, and artifact-management overhead. Foundation Models (FMs) for time series (e.g., TimesFM) and tabular data (e.g., TabFM) enable training-free SQL inference β via zero-shot forecasting and in-context learning β directly on database tables. However, integrating multi-hundred-million-parameter models into a distributed query engine like BigQuery presents severe challenges in worker memory consumption, quadratic O(nΒ² + nmΒ²) attention complexity, and distributed execution alignment. In this paper, we present the design and production deployment of native TimesFM (AI.FORECAST) and TabFM (AI.PREDICT) in BigQuery. To address their distinct computational bottlenecks, we develop tailored execution architectures and systems optimizations: for TabFM, a decoupled two-stage prefill-decode architecture with 1 MB chunked Key-Value ca

ALT Hierarchical navigable small world (HNSW) indexes are widely used for in-memory approximate nearest neighbor search. Increasingly, many applications also require support for querying earlier states of an evolving vector collection, such as agent memory services whose revisions need to be inspected or rolled back. However, providing such versioning support in HNSW is non-trivial: search follows graph topology which is rewired by vector inserts and replacements, so searching for an earlier version requires that version's topology, not only visible vectors. Existing approaches often keep a full index per version or per update, which bloat memory usage and add non-trivial performance overhead. We present Rewind-HNSW, a memory-efficient, multi-version HNSW index that retains high query performance. The key idea is to version the graph at the granularity of individual adjacency lists. Rewind-HNSW stores each vector and its latest adjacency list only once, and rolls back to older versions on

ALT GPUs have been used to accelerate approximate nearest neighbor search (ANNS). While recent quantized graph ANNS has made significant progress on CPU, we find that directly porting CPU-side methods to GPU is ineffective. This is because using quantized distances to rank the beam perturbs traversal paths, increases search hops, and can offset the savings from cheaper distance computation. We present fastGANN, an accuracy- and hardware-aware GPU graph-ANNS method, to adaptively find the best accuracy-work balance and enhance GPU hardware utilization. fastGANN adopts a hybrid-precision search strategy. It preserves exact distances for precision-critical decisions, including beam ranking and expander selection, while using quantized estimates only for error-tolerant neighbor pruning. This reduces exact vector accesses without degrading convergence speed. However, pruning alone does not fully unlock the GPU; it leaves bandwidth underutilized. We thus introduce hardware-aware speculative expa

ALT Semantic database systems extend SQL with foundation-model inference over unstructured data, but scaling mixed relational-semantic queries remains bottlenecked by a massive time-scale gap: relational operators run in nanoseconds to microseconds, whereas frontier LLMs take seconds per call at high monetary cost. Existing engines apply over-parameterized generative models to discrete relational predicates (Booleans, Enums, and Scores) and optimize semantic operators in isolation without global quality control. We present UniBays, a scalable semantic database system that couples high-throughput, non-generative decision models with principled pruning and global optimization. Because decision models still lag relational operators and output uncalibrated raw scores, UniBays executes queries in three stages: (1) Yannakakis-inspired relational reduction over the query skeleton to eliminate unqualified tuples before semantic evaluation; (2) a reusable, proposition-based semantic index that deri