Skip to content

HeliosDB-Full vs PostgreSQL 14 — Performance Comparison

Setup (internal tests, HeliosDB Full 7.2.0 vs PostgreSQL 14.20): HeliosDB Full as a compiled binary on port 5435; PostgreSQL in a Docker container on port 25432 Table: 1000 rows, 5 columns (INT, TEXT, TEXT, INT, TEXT) Protocol: PostgreSQL wire protocol (psycopg2)

Results

TestQueriesHeliosDB avgPostgreSQL avgWinner
Point Lookups200075us132usHeliosDB 1.8x FASTER
Full Scan SELECT200323us859usHeliosDB 2.7x FASTER
Aggregates19855us148usHeliosDB 2.7x FASTER
Single-Row INSERT50075us481usHeliosDB 6.4x FASTER
UPDATE WHERE50083us466usHeliosDB 5.6x FASTER
DELETE WHERE20070us450usHeliosDB 6.5x FASTER
Mixed OLTP100082us271usHeliosDB 3.3x FASTER

What the Run Exercised

  1. Primary-key point lookups served from the in-memory primary-key index instead of a table scan
  2. Group-commit write-ahead log: batched WAL writes (26x faster internal writes in the same tests)
  3. SQL parse cache: parsed statements reused for repeated query patterns
  4. Lower SELECT overhead: fewer allocations per returned row
  5. Finer tracing spans: diagnostic visibility into row processing

Notes

  • Both databases accessed via psycopg2 over TCP loopback (127.0.0.1)
  • HeliosDB uses LSM-tree storage; PostgreSQL uses heap + B-tree indexes
  • PostgreSQL has years of production optimization; HeliosDB is research-grade
  • Network round-trip and psycopg2 overhead are included in both measurements
  • Both tables have PRIMARY KEY on id (equal conditions)
  • HeliosDB point lookups use the in-memory primary-key index (populated during INSERT)
  • PostgreSQL uses B-tree index on PRIMARY KEY