Product Direction

Engeene is built to answer analytical questions over large data quickly and exactly. A few neighbouring jobs are done better by other tools, and we do not plan to build them into Engeene. This page names each one, says what Engeene does instead, and recommends how to cover the need alongside it.

Need Engeene's role What we recommend
Data transformation (ETL) The destination of your pipeline, not the engine that runs it Transform in your warehouse or pipeline tool, then load the clean result
A general-purpose transactional database An analytics copy of your data, loaded in batches Keep the system of record in an operational database and send Engeene copies
Real-time analytics over large data Near real-time: fresh data every 15 minutes Collect events upstream and load them in 15-minute batches

Data transformation and ETL

Engeene is a destination for your data, not an ETL engine. It loads files you prepare, links datasets through references when you ask a question, and lets you add computed measures in Explore. It does not schedule pipelines, pull from your operational systems, clean or deduplicate data across sources, reshape tables, or keep history of changing records for you — and we do not plan to add those jobs.

The usual setup puts transformation upstream, in tools built for it:

Recommendations:

  • Transform before you load. Join, clean, deduplicate and derive columns in your warehouse or pipeline tool — a SQL-based transformation tool is the common choice. If you already describe your models in dbt, Migrating from dbt imports them.
  • Shape the result as events and things. Load one dataset per kind of event or thing and link them with references instead of one wide pre-joined table; Engeene combines linked datasets when you ask. Preparing Your Data shows the shape.
  • Give every row a stable ID from your own system, so an incremental load updates records instead of counting them twice — see Loading Best Practices.
  • Load as the last step of your pipeline. When the transformations finish, export each dataset to CSV or Parquet, stage the files and start one load — through the Upload Endpoint, the TypeScript Client or the Keboola Writer. Use a replace for full exports and an incremental load for new and changed records (Add or replace).
  • Keep calculations in one place. A column every report needs, computed row by row, belongs upstream; a ratio between measures belongs in a computed measure.

For the services Engeene connects to itself — website analytics, search, ads and video — a connection loads the data every day with no pipeline of your own. For everything else, see Bringing Data In.

General-purpose transactional database

Engeene is not a transactional database and does not plan to become one. It is loaded in batches and built to summarise many rows at once, not to record one change at a time for an application. In particular:

  • Data arrives in loads, never as single-row inserts, updates or deletes, and only one load of a model runs at a time.
  • There are no transactions spanning several changes, no locks and no constraints checked when data is written: a reference to a record that does not exist simply shows as Unknown.
  • An incremental load replaces a record as a whole by its ID, and never removes one. Records are removed by replacing the dataset — see Remove records.
  • Questions are answered over whole datasets. The List Endpoint returns raw rows for exports and inspection, not as a lookup service behind an application.

Recommendations:

  • Keep your system of record in an operational database. Orders, balances, bookings and user profiles live where your application writes them.
  • Send Engeene an analytics copy on a schedule. Export a query's result to files and load it — a full snapshot as a replace, or the new and changed records as an incremental load. See Load a database as a snapshot.
  • Handle corrections and erasure requests at the source. Change or delete the record in your operational database, then let the next load carry it into Engeene: an incremental load for a change, a replace for a removal.
  • Put analytics inside your application with the read side of Engeene. Embedding shows a live dashboard in your pages, and the API answers questions from your code.

Real-time analytics

Engeene is designed for near real-time analytics: data loaded in batches, with fresh numbers every 15 minutes. Streaming events one by one into large datasets, with answers that change by the second, is not a goal, and we do not encourage it.

Fifteen minutes is also the default time granularity: each time is rounded down to its 15-minute period when it is loaded. A load every 15 minutes therefore completes one period at a time, and every chart grouped by time stays consistent between loads.

Shorter intervals are technically possible, but we do not recommend them on large data, because:

  • A load is a batch job. It checks every value and brings each affected dataset up to date at once. On large data that takes long enough that loading every minute or two keeps a model permanently busy — and a new load of a model is refused while the previous one runs.
  • Dashboards recompute more often. Every load changes the data that every open dashboard reads, so frequent loads make dashboards slower for everyone looking at them.
  • Numbers keep moving. Loading more often than the time granularity fills the current period piece by piece, so the last point of every trend keeps changing while people read it.
  • Finer detail costs more than it gives. Times can be kept as finely as one minute, but a large dataset kept that finely grows, and most decisions are not made minute by minute.

Recommendations:

  1. Collect events upstream. Let your application write events to a queue, a log or file storage it already uses, not straight to Engeene.
  2. Load every 15 minutes. Write the new events of each dataset to a file, stage the files and start one incremental load. Schedule loads of the same model so they never overlap.
  3. Re-send the last interval to catch late events. Because an incremental load updates a record by its ID, sending an event twice never counts it twice.
  4. Load history once. Load a large backfill in one go, then switch to 15-minute increments.

If you need to react to individual events within seconds — fraud checks, operational alarms, live counters on a screen — use a stream-processing or monitoring tool for that part and load its events into Engeene for analysis. For a notice when a measure crosses a line you set, use an alert.