Query Speed Compared

We asked Engeene, PostgreSQL and a columnar database the same 57 questions over the same data and timed how long each took to answer. Engeene answered faster on every data shape: typically 3 to 7 times faster than the columnar database and 16 to 51 times faster than PostgreSQL.

Engeene ran with caching turned off. It computed every answer from the data, every time — none of these numbers comes from an answer remembered from an earlier run.

Columnar DB in the charts is a leading database built for analytical questions over many rows. PostgreSQL is a widely used relational database. Each chart and table says how many times slower (or faster) the other database was than Engeene on the same questions.

How it was measured

  • The data — the demo data at its large size, 2.5 to 10.7 million rows per data shape, the same files loaded into every database.
  • The questions — what a dashboard asks: totals, breakdowns, months, distinct counts, top 10s and filters, many of them across linked datasets.
  • A fair run — every database ran alone, on the same resources, with settings tuned for analytics. Each question ran several times and its typical time counts.
  • Correct answers only — all three databases returned the same answer to every question; a fast wrong answer would not have counted.

Your own numbers depend on your data, your questions and your computer — treat the charts as a picture of the difference, not as a promise.

Travel

Bookings, customers, agencies, companies, flights and hotel stays — six linked datasets, 10.7 million rows. See Travel.

Question Columnar DB PostgreSQL
Number of bookings 1.3× faster 37.5× slower
Revenue by booking status 26.3× slower 205× slower
Revenue, average rating and largest discount by payment method and status 70.3× slower 266× slower
Distinct customers by booking status 1.2× slower 61.9× slower
Revenue by month 22.2× slower 353× slower
Revenue by status in one quarter 25.9× slower 94.7× slower
Revenue by customer city 2.4× slower 18.0× slower
Revenue by the customer's company industry 2.5× slower 18.6× slower
Completed and confirmed revenue by agency specialization 1.6× slower 6.4× slower
Top 10 customer cities by revenue 2.2× slower 16.6× slower
Bookings between 1 000 and 2 000 by status 2.3× faster 2.0× slower
Average nightly rate and nights by hotel chain and room type 36.6× slower 93.5× slower

Retail

Orders, order lines, products, suppliers, customers, campaigns and inventory — eight linked datasets, 8.6 million rows. See Retail.

Question Columnar DB PostgreSQL
Line revenue by product category 9.7× slower 47.8× slower
Line revenue by supplier state 15.8× slower 118× slower
Line revenue by customer segment and loyalty tier 2.2× slower 11.4× slower
Delivered orders' line revenue by product category same 5.6× slower
Top 10 brands by line revenue 13.6× slower 77.3× slower
Order totals by status and sales channel 28.6× slower 77.5× slower
Distinct ordering customers by month 3.7× slower 318× slower
Average order value by campaign channel 17.0× slower 68.7× slower

Streaming

One large log of viewing sessions with its catalogue, subscribers and ratings — six linked datasets, 6.9 million rows. See Streaming.

Question Columnar DB PostgreSQL
Number of views 1.2× slower 36.4× slower
Watch minutes by device type 19.9× slower 114× slower
Watch minutes by month and genre 2.8× slower 76.6× slower
Views and average completion by month and quality 2.9× faster 3.3× slower
Distinct viewers by month 13.8× slower 1,255× slower
Watch minutes by viewer age group 2.1× slower 10.4× slower
Watch minutes by studio country 18.1× slower 78.8× slower
Smart TV watch minutes by genre 2.1× slower 6.2× slower
Top 10 subgenres by watch minutes 15.3× slower 81.5× slower
Average rating by genre 3.1× slower 14.9× slower

Food Chain

Ten datasets in one chain from farm to supermarket shelf — a question about sales by cooperative region crosses nine links. 9.6 million rows. See Food Chain.

Question Columnar DB PostgreSQL
Total revenue and units 12.0× slower 51.8× slower
Revenue by payment method and promotion 70.2× slower 210× slower
Revenue by month 17.7× slower 226× slower
Revenue by store chain 1.5× slower 8.5× slower
Revenue by shipping carrier 2.4× slower 20.0× slower
Revenue by crop type of the field 3.7× slower 20.7× slower
Revenue by cooperative region 3.8× slower 23.1× slower
Revenue from organic farms by cooperative certification 6.8× slower 41.2× slower

Contact Centre

Two wide tables of conversations and the people who took part in them, with operators, customers, feedback, signals and transactions — seven linked datasets, 8.2 million rows. See Contact Centre.

Question Columnar DB PostgreSQL
Conversations by channel 2.2× faster 6.8× slower
Average wait time by queue and participant role 44.7× slower 189× slower
Department scorecard — cost, satisfaction, messages, longest hold 32.2× slower 201× slower
Participants and handling time by month 2.1× faster 9.4× slower
Participant cost by operator site 12.0× slower 123× slower
Participants by conversation channel and state 2.0× faster 4.2× slower
Distinct customers by channel 1.2× slower 82.0× slower
Average length of resolved conversations by topic category 3.9× slower 20.8× slower

Website and Search Analytics

Daily website traffic, search results and ad spend in the shape the built-in connections deliver — eight datasets, 2.5 million rows. See Website and Search Analytics.

Question Columnar DB PostgreSQL
Sessions by channel group 12.3× slower 61.8× slower
Revenue by traffic source 10.4× slower 61.9× slower
Sessions and engaged sessions by device and channel group 25.9× slower 74.0× slower
Sessions by month and channel group 6.5× slower 42.0× slower
Page views by site section of the landing page 23.4× slower 80.4× slower
Organic search sessions by landing-page section 14.7× slower 39.0× slower
Top 10 traffic sources by revenue 9.8× slower 74.2× slower
Search clicks and impressions by search type and device 2.9× slower 3.1× slower
Top 10 search queries by clicks 4.0× slower 13.0× slower
Ad cost and conversions by campaign 1.9× slower 1.1× faster
Event count by event name 1.5× slower 6.7× faster

What the numbers mean for you

Engeene answered 48 of the 57 questions faster than both other databases. The others come closest on simple counts, and on a few of them answered first; the gap is widest on breakdowns by category and by month — the questions dashboards ask most. With caching on, as it is in your workspace, questions you ask again are answered instantly on top of that.

See Performance Tips for getting the most out of your own models, and Demo Data to try the same questions yourself.

← Technical Security Details