Real-time workloads have two performance questions. Can the eventstream carry the volume without a backlog? And can the eventhouse ingest it quickly and answer queries cheaply? The settings that matter are mostly about matching resources to the load and not paying for more hot data than you query.
Eventstream
Throughput level
The eventstream event throughput setting says how much traffic the stream should be ready for:
- Low: under 10 MB/s.
- Medium: 10 to 100 MB/s.
- High: over 100 MB/s.
Choose the level that fits peak traffic. Too low and the stream falls behind; too high wastes resources. Throughput also depends on the source. An Event Hubs source in basic mode is limited by its partition count when fewer than four partitions exist, whatever level you pick. Partitioned streaming connectors (such as Kafka or Kinesis) follow the chosen level, while non-partitioned ones such as database change data capture are limited to about 30 MB/s. To change the level you may need to deactivate the nodes that support pause and resume, then reactivate them.
Limits quoted for each source and destination come from lab tests, so treat them as guides.
Retention
The eventstream retains incoming events for one day by default, up to 90 days. Longer retention is useful for replay but should match your need.
Choosing the ingestion mode into an eventhouse
An eventhouse destination offers two modes:
- Direct ingestion sends events to the eventhouse unchanged. It is the simplest and fastest path, so use it when you do not need to reshape the data in the stream.
- Event processing before ingestion applies operators such as filter or aggregate first. Use it when you want to cut volume before it is stored, for example dropping unneeded events or aggregating per window.
Reducing data early, in the stream, lowers ingestion and storage load downstream. Watch the node metrics in Data insights: a rising backlog or watermark delay shows the stream is not keeping up.
Eventhouse
Caching and retention policies
- The caching policy decides how much data is kept in the hot cache, on local SSD. Hot data queries faster but costs more, and the more data you cache the more capacity units you consume. Keep in the cache only the period that people query regularly.
- The retention policy deletes data after a period. Both policies default to 3,650 days. The cache period cannot be longer than the retention period. The minimum retention is one day.
.alter database MyDatabase policy caching hot = 30d
.alter-merge table Events policy retention softdelete = 365d
Older data stays queryable from cold storage, only slower. Setting a short hot window is the single most effective cost and performance lever for time-series tables.
Ingestion batching
Queued ingestion batches small blobs before ingesting, which is efficient but adds delay. A batch is sealed when the first of these is reached: a size limit (1 GB of raw data by default), a count of items (500 by default) or a time limit (5 minutes by default). Lower the maximum batching time on a table or database when you need data to be queryable sooner (a low-latency setting is 20 to 30 seconds), at the cost of more small shards. A database-level policy applies to tables without their own policy.
Capacity and throttling
An eventhouse runs on the Fabric capacity and autoscales. Two things to know:
- Minimum capacity sets a floor so the eventhouse is ready at peak times. A minimum capacity schedule lets you vary this floor by hour for each day of the week, for instance raising it during an ETL window and lowering it overnight. It sets a floor, not a ceiling, and changes can take up to 30 minutes to apply.
- Throttling. When capacity use is high the eventhouse can enter throttling states, and it may run at a reduced size afterward. The workspace monitoring (preview) logs
EventhouseCapacityThrottlingStateandEventhouseSubOptimalSizeAfterThrottlingrecord this. To recover, add capacity, reduce ingestion or query load, shrink the hot cache, or restart the capacity.
Query-side tools
- Update policies transform data at ingestion into a second table, so the expensive reshaping happens once instead of at every query.
- Materialized views keep an aggregation of a source table always up to date, and querying them is faster than recomputing the aggregation over the source. Use them for dashboards that read the same summaries repeatedly.
- Filter on time first in KQL; see the query optimization article.
Common mistakes
- Caching everything for ten years because it is the default.
- Raising throughput levels when the real problem is a one-partition source.
- Aggregating in every dashboard query instead of once in a materialized view or update policy.
- Setting the batching time very low for all tables, producing many small shards.
For the exam
- Eventstream throughput levels are Low, Medium and High; sources can cap throughput.
- Use direct ingestion for raw data and event processing before ingestion to filter or aggregate first.
- Caching policy controls hot data; it must not exceed retention; less hot cache means lower cost.
- Batching time defaults to 5 minutes; lower it for fresher data.
- Throttling logs and a minimum capacity schedule help manage eventhouse capacity.