Using Databases to Implement Algorithms: Estimation of Allan Variance Using B+ -tree Data Structure

Satya Prasad Maddipatla, Rinith Pakala, Hossein Haeri, Cindy Chen, Kshitij Jerath, Sean Brennan

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This work develops and explains a method of using a database's organizational structure to implement data manipulations (grouping, addition, averaging) that enable the database to exhibit intentional algorithmic behavior. Specif-ically, the Allan VARiance (AVAR) estimation using B+ -tree data structures is developed. AVAR is a crucial algorithm to determine the computational limits on data accuracy imposed by real-world noise sources. Unfortunately, AVAR is computationally challenging and is typically applied to large datasets (106 or larger), which can be difficult to manage without a database. In the previous work, the authors proposed Fast Allan VARiance (FAVAR) algorithms inspired by the FFT to improve computation speed by up to four orders of magnitude. These FAVAR algorithms apply to data sets that are manageable locally on a computer (MB to GB in memory) but can be difficult to deploy on 'big data', e.g., data sets that cannot fit in main memory. Notably, B+ -trees index one-dimensional data similar to FAVAR, i.e., using data aggregations that scale in size as a function of tree order. This paper utilizes the similarity in B+ -trees and FAVAR to use the database's operational process to automatically deploy an algorithm to estimate AVAR using a B+ -trees for data corrupted by common noise types - white noise and random walk. Comparing AVAR estimates to algorithm-targeted B+ -trees e calculations, the results match within 95% confidence bounds.

Original languageEnglish (US)
Title of host publication2024 American Control Conference, ACC 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages2164-2169
Number of pages6
ISBN (Electronic)9798350382655
DOIs
StatePublished - 2024
Event2024 American Control Conference, ACC 2024 - Toronto, Canada
Duration: Jul 10 2024Jul 12 2024

Publication series

NameProceedings of the American Control Conference
ISSN (Print)0743-1619

Conference

Conference2024 American Control Conference, ACC 2024
Country/TerritoryCanada
CityToronto
Period7/10/247/12/24

All Science Journal Classification (ASJC) codes

  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'Using Databases to Implement Algorithms: Estimation of Allan Variance Using B+ -tree Data Structure'. Together they form a unique fingerprint.

Cite this