<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177976#M57439</link>
    <description>&lt;P&gt;Thank you for the assistance.&lt;BR /&gt;&lt;BR /&gt;The insight around 'CPU driven autoscaling on an I/O bound workload' is useful.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Nov 2026 02:09:01 GMT</pubDate>
    <dc:creator>rjmcbride</dc:creator>
    <dc:date>2026-11-29T02:09:01Z</dc:date>
    <item>
      <title>Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176221#M57114</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;A full refresh of one Auto Loader streaming table in a serverless #Lakeflow (Declarative) pipeline has become about 4x slower (all to do with a single streaming table), and I'd like help understanding why. Nothing on our side changed. The only difference I can find between a fast run and a slow run is the pipeline runtime build and the fact that we turned on managed file events, which have been improving file listing. I can see that the compute isn't scaling out as much as it was previously. It seems only 1-2 concurrent tasks are executing, rather than 4+ previously.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;SETUP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Compute: serverless, triggered pipeline, CURRENT channel (Azure)&lt;BR /&gt;- Source: Auto Loader with cloudFiles.format = json and cloudFiles.schemaEvolutionMode = addNewColumns&lt;BR /&gt;- Files: each Kafka message lands as its own JSON file, about 20-45 KB each&lt;BR /&gt;- Rebuild size: about 190k files in our test environment, about 1.3M files in pre-prod&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;THE COMPARISON&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I ran a full refresh of only this table in the same test environment. Each time the files, code, schema, reader options and table properties were the same, managed file events were off, and nothing else was running in the pipeline.&lt;/P&gt;&lt;P&gt;Older run (October)&lt;BR /&gt;- Runtime image: dlt:18.3.7-...-aarch64-photon-...-dp-20261005&lt;BR /&gt;- Files: about 191k&lt;BR /&gt;- Ingest time after the first batch: about 3 minutes&lt;BR /&gt;- Throughput: about 1,000 files/s&lt;BR /&gt;- Micro-batches running at once: always 4&lt;/P&gt;&lt;P&gt;Newer run (November)&lt;BR /&gt;- Runtime image: dlt:18.3.10-...-photon-...-dp-20261106&lt;BR /&gt;- Files: about 194k&lt;BR /&gt;- Ingest time after the first batch: about 12 minutes&lt;BR /&gt;- Throughput: about 260 files/s&lt;BR /&gt;- Micro-batches running at once: mostly 1-2&lt;/P&gt;&lt;P&gt;(I judged how many micro-batches ran at once from when they finish in the event log: groups of batches finishing within about 1 second of each other.)&lt;/P&gt;&lt;P&gt;With maxFilesPerTrigger removed, so Auto Loader sizes the batches itself (15k-90k files per batch), the newer runtime went back to four batches at once. That run still took about 9 minutes, about 370 files/s, which is about a third of the old speed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;QUERY PROFILE (ONE 10K-FILE BATCH)&lt;/P&gt;&lt;P&gt;- Share of scan time spent waiting on I/O: about 98-99%&lt;BR /&gt;- Average storage request time: about 14-16 ms&lt;BR /&gt;- Storage retries / throttling: 0&lt;BR /&gt;- Task time per file: about 21-24 ms (similar on both runtimes)&lt;BR /&gt;- Scan tasks per batch: 80&lt;BR /&gt;- Prefetch, number of files: 0&lt;/P&gt;&lt;P&gt;Total scan time divided by wall time gives:&lt;BR /&gt;- Older runtime: about 21-24 tasks running at once&lt;BR /&gt;- Newer runtime: about 7-8 tasks running at once across the whole pipeline&lt;/P&gt;&lt;P&gt;My reading is that the work per file hasn't changed, but the newer runtime gets about a third of the compute and doesn't scale up. The backlog stays above 100k files with plenty of queued tasks, yet throughput stays flat for the whole run. In pre-prod the same rebuild ran at about 300 files/s for over an hour and never sped up.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;WHAT I'VE RULED OUT&lt;/P&gt;&lt;P&gt;- Managed file events: same result with them on or off&lt;BR /&gt;- Other flows competing: I refreshed only this one table&lt;BR /&gt;- Data volume: both runs read about the same number of files&lt;BR /&gt;- maxFilesPerTrigger: 10k fixed or removed. Removing it helped about 40%, but the ceiling stays.&lt;BR /&gt;- Storage latency: about the same per request in both runs, with no retries&lt;/P&gt;&lt;P&gt;Can someone please help me figure this out? because on production workloads, this is becoming a real problem.&lt;/P&gt;&lt;P&gt;Thanks in advance. I'm happy to share more metrics if they'd help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2026 06:04:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176221#M57114</guid>
      <dc:creator>rjmcbride</dc:creator>
      <dc:date>2026-11-12T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176226#M57115</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Your metrics already narrow this down significantly.&lt;/SPAN&gt;&lt;SPAN&gt; Per-file processing time (~21–24 ms),&lt;/SPAN&gt;&lt;SPAN&gt; storage latency,&lt;/SPAN&gt;&lt;SPAN&gt; retries,&lt;/SPAN&gt;&lt;SPAN&gt; and tasks per batch are all unchanged,&lt;/SPAN&gt;&lt;SPAN&gt; yet concurrent running tasks dropped from ~21–24 down to ~7–8 while the backlog stayed above 100k.&lt;/SPAN&gt;&lt;SPAN&gt; This makes an Auto Loader read-path regression very unlikely.&lt;/SPAN&gt;&lt;SPAN&gt; Your stream is being starved of task slots; the real question is why serverless stopped allocating them.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;Likely Cause: CPU-Driven Autoscaling on an I/O-Bound Workload&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Serverless pipelines manage compute sizing automatically by layering vertical autoscaling on top of Databricks Enhanced Autoscaling,&lt;/SPAN&gt;&lt;SPAN&gt; which includes CPU-driven scaling logic that adjusts resources based on CPU utilization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because your scan spends 98–99% of its time waiting on I/O,&lt;/SPAN&gt;&lt;SPAN&gt; the CPUs look nearly idle even with a massive task queue.&lt;/SPAN&gt;&lt;SPAN&gt; Scaling logic that weighs CPU utilization heavily will interpret this as an oversized cluster and hold back capacity,&lt;/SPAN&gt;&lt;SPAN&gt; matching the flat throughput ceiling you're seeing across an hour-long rebuild.&lt;/SPAN&gt;&lt;SPAN&gt; While CPU-based scaling predates your October run,&lt;/SPAN&gt;&lt;SPAN&gt; a change in the November runtime build likely altered how aggressively the autoscaler reacts to low-CPU,&lt;/SPAN&gt;&lt;SPAN&gt; high-I/O workloads.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This also explains the drop in batch concurrency.&lt;/SPAN&gt;&lt;SPAN&gt; Serverless pipelines use &lt;/SPAN&gt;&lt;STRONG&gt;stream pipelining&lt;/STRONG&gt;&lt;SPAN&gt; to run microbatches concurrently rather than sequentially.&lt;/SPAN&gt;&lt;SPAN&gt; Fewer available task slots mean fewer overlapping batches,&lt;/SPAN&gt;&lt;SPAN&gt; accounting for the drop from 4 concurrent batches down to 1–2.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;How to Confirm It&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Since serverless pipelines don't populate &lt;/SPAN&gt;cluster_resources&lt;SPAN&gt; events in the event log,&lt;/SPAN&gt;&lt;SPAN&gt; start with these checks:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Verify the exact runtime builds:&lt;/STRONG&gt;&lt;SPAN&gt; Pull the &lt;/SPAN&gt;image_key&lt;SPAN&gt; field from the &lt;/SPAN&gt;runtime_details&lt;SPAN&gt; event for both update IDs to confirm the exact Databricks Runtime versions used.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Compare backlog vs. throughput:&lt;/STRONG&gt;&lt;SPAN&gt; Plot &lt;/SPAN&gt;flow_progress&lt;SPAN&gt; backlog metrics over time for both runs.&lt;/SPAN&gt;&lt;SPAN&gt; Flat throughput alongside a steady or growing backlog points directly to a compute capacity ceiling rather than a source bottleneck.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Inspect the Query Profile:&lt;/STRONG&gt;&lt;SPAN&gt; Your scan-time-to-wall-time ratio is the right metric here.&lt;/SPAN&gt;&lt;SPAN&gt; Use the Query Profile to verify the drop in effective parallelism.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Run a Classic Compute baseline:&lt;/STRONG&gt;&lt;SPAN&gt; Run the same full refresh once on classic compute using a fixed worker count sized close to your October footprint (~24 cores).&lt;/SPAN&gt;&lt;SPAN&gt; Classic compute populates &lt;/SPAN&gt;cluster_resources&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; allowing you to inspect slot allocation and queue depth directly:&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;SQL&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;timestamp&lt;/SPAN&gt;,
  details:cluster_resources.num_executors,
  details:cluster_resources.num_task_slots,
  details:cluster_resources.avg_task_slot_utilization,
  details:cluster_resources.avg_num_queued_tasks
&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; event_log(&lt;SPAN class=""&gt;TABLE&lt;/SPAN&gt;(&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;catalog&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;schema&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;your_table&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;))
&lt;SPAN class=""&gt;WHERE&lt;/SPAN&gt; event_type &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'cluster_resources'&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; origin.update_id &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'&amp;lt;classic_update_id&amp;gt;'&lt;/SPAN&gt;
&lt;SPAN class=""&gt;ORDER&lt;/SPAN&gt; &lt;SPAN class=""&gt;BY&lt;/SPAN&gt; &lt;SPAN class=""&gt;timestamp&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;If classic compute gets you back to ~1,&lt;/SPAN&gt;&lt;SPAN&gt;000 files/sec on the same runtime build,&lt;/SPAN&gt;&lt;SPAN&gt; you have proof that the bottleneck is serverless capacity allocation rather than the read path.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;Other Variables Worth Checking&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Instance architecture:&lt;/STRONG&gt;&lt;SPAN&gt; Your October image string references &lt;/SPAN&gt;aarch64&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; whereas the November string you shared does not.&lt;/SPAN&gt;&lt;SPAN&gt; Unless that was trimmed when pasting,&lt;/SPAN&gt;&lt;SPAN&gt; a shift in underlying instance family could change the task-slots-per-node ratio.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Performance mode:&lt;/STRONG&gt;&lt;SPAN&gt; For triggered pipelines,&lt;/SPAN&gt;&lt;SPAN&gt; check the pipeline scheduler settings and ensure &lt;/SPAN&gt;&lt;STRONG&gt;Performance optimized&lt;/STRONG&gt;&lt;SPAN&gt; mode is enabled.&lt;/SPAN&gt;&lt;SPAN&gt; If disabled,&lt;/SPAN&gt;&lt;SPAN&gt; the pipeline defaults to standard performance mode,&lt;/SPAN&gt;&lt;SPAN&gt; which throttles compute usage to save DBUs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Prefetch = 0:&lt;/STRONG&gt;&lt;SPAN&gt; Since this setting is identical across both runs,&lt;/SPAN&gt;&lt;SPAN&gt; it isn't the cause of the regression; it just explains why throughput on tiny files is so sensitive to total task slot count.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Workarounds in the Meantime&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Test the PREVIEW channel:&lt;/STRONG&gt;&lt;SPAN&gt; Run the pipeline against the preview channel to see if an upcoming runtime update already resolves the scaling behavior.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Test bytes-based batching:&lt;/STRONG&gt;&lt;SPAN&gt; Try setting &lt;/SPAN&gt;cloudFiles.maxBytesPerTrigger&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt; When combined with &lt;/SPAN&gt;maxFilesPerTrigger&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; Auto Loader triggers when whichever limit is reached first.&lt;/SPAN&gt;&lt;SPAN&gt; Since removing the file cap already gave you a ~40% boost,&lt;/SPAN&gt;&lt;SPAN&gt; sizing microbatches by byte volume is worth testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Address small files upstream:&lt;/STRONG&gt;&lt;SPAN&gt; Storing one Kafka message per 20–45 KB file is the underlying bottleneck.&lt;/SPAN&gt;&lt;SPAN&gt; If feasible,&lt;/SPAN&gt;&lt;SPAN&gt; ingest from Kafka directly into your bronze table or compact/batch messages into larger files at landing so full refreshes aren't so heavily dependent on wide horizontal scaling.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Opening a Support Ticket&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;If the classic compute test confirms the bottleneck,&lt;/SPAN&gt;&lt;SPAN&gt; open a ticket with Databricks Support and include both update IDs,&lt;/SPAN&gt;&lt;SPAN&gt; both &lt;/SPAN&gt;image_key&lt;SPAN&gt; values,&lt;/SPAN&gt;&lt;SPAN&gt; and your classic-vs-serverless metrics.&lt;/SPAN&gt;&lt;SPAN&gt; A 3–4x throughput drop on identical inputs following a runtime update,&lt;/SPAN&gt;&lt;SPAN&gt; with zero code or config changes on your end,&lt;/SPAN&gt;&lt;SPAN&gt; gives them clear grounds to inspect the internal autoscaler logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Nov 2026 07:21:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176226#M57115</guid>
      <dc:creator>ashishshivatare</dc:creator>
      <dc:date>2026-11-12T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176319#M57121</link>
      <description>&lt;P dir="ltr"&gt;Hello &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/271233"&gt;@rjmcbride&lt;/a&gt;, I took a look at both internal and external documentation and here is what I found.&lt;/P&gt;
&lt;P dir="ltr"&gt;This is one of the cleaner performance writeups I’ve seen on here. Same files, same code, same options, one variable changed, and both runs measured the same way. That makes everyone else more useful to you.&lt;/P&gt;
&lt;P dir="ltr"&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/211357"&gt;@ashishshivatare&lt;/a&gt;’s read is the one I’d start from. Per-file cost, storage latency, and tasks per batch are unchanged, so the read path isn’t the problem. Effective task slots fell from about 21 to 24 down to about 7 to 8, and that alone accounts for nearly all of the slowdown. The question is why serverless stopped handing out slots, and the timing points at the move from &lt;CODE dir="ltr"&gt;dlt:18.3.7...dp-20261005&lt;/CODE&gt; to &lt;CODE dir="ltr"&gt;dlt:18.3.10...dp-20261106&lt;/CODE&gt;.&lt;/P&gt;
&lt;H4 dir="ltr" aria-level="4"&gt;What the docs say about scaling&lt;/H4&gt;
&lt;P dir="ltr"&gt;Two mechanisms are in play, and they watch different signals. Enhanced autoscaling (the horizontal piece) is documented as using task slot utilization and task queue size. Not CPU. With 100k+ files in the backlog and tasks queued all run, the documented inputs say “scale out,” so the fact that it didn’t is itself the anomaly, and it’s the sentence I’d put at the top of a Support ticket.&lt;/P&gt;
&lt;P dir="ltr"&gt;CPU comes in through vertical autoscaling. The March 2026 release notes say serverless pipelines gained CPU-based vertical autoscaling that adjusts resources based on actual CPU utilization. Your scan spends 98 to 99 percent of its time waiting on storage, so the CPUs look idle even with a mountain of queued work. That’s a plausible path to smaller nodes and fewer slots. It’s a hypothesis, not a diagnosis. The feature predates your October run, and I don’t know what changed in the November build.&lt;/P&gt;
&lt;P dir="ltr"&gt;As for “randomly”: channel upgrades roll out region by region, so two workspaces, or the same workspace a week apart, can be on different builds. Line up &lt;CODE dir="ltr"&gt;image_key&lt;/CODE&gt; against throughput for every update you’ve compared and I suspect the pattern holds.&lt;/P&gt;
&lt;H4 dir="ltr" aria-level="4"&gt;Tests, in the order I’d run them&lt;/H4&gt;
&lt;OL dir="ltr"&gt;
&lt;LI&gt;Pull &lt;CODE dir="ltr"&gt;dbr_version&lt;/CODE&gt; and &lt;CODE dir="ltr"&gt;image_key&lt;/CODE&gt; from the &lt;CODE dir="ltr"&gt;runtime_details&lt;/CODE&gt; event for a fast and a slow update. Keep the full string. Your October image says aarch64 and your November one doesn’t; if that wasn’t trimmed when pasting, you have an ARM to x86 instance change in the mix, which changes slots per node.&lt;/LI&gt;
&lt;LI&gt;Confirm Performance optimized is on for the production schedule. The docs frame standard mode as slower startup and fewer DBUs reflecting lower compute usage. I’m not certain how a manually started full refresh is treated, so check your test runs both ways.&lt;/LI&gt;
&lt;LI&gt;Plot &lt;CODE dir="ltr"&gt;backlog_files&lt;/CODE&gt; and &lt;CODE dir="ltr"&gt;backlog_bytes&lt;/CODE&gt; from &lt;CODE dir="ltr"&gt;flow_progress&lt;/CODE&gt; METRICS events for both updates. Flat throughput over a steady backlog is the capacity-ceiling signature. The &lt;CODE dir="ltr"&gt;system.lakeflow_pipeline_events_preview.pipeline_events&lt;/CODE&gt; table (Beta) lets you compare updates in one query.&lt;/LI&gt;
&lt;LI&gt;Run the full refresh once on classic compute with a fixed worker count near your October footprint. &lt;CODE dir="ltr"&gt;cluster_resources&lt;/CODE&gt; and &lt;CODE dir="ltr"&gt;autoscale&lt;/CODE&gt; events are only emitted for classic pipelines, so this is the only way to see slot allocation and queue depth directly. If classic on the same DBR gets you back near 1,000 files/s, it’s serverless capacity, not your code or storage.&lt;/LI&gt;
&lt;LI&gt;Try the Preview channel on a staging copy. Preview is on DBR 19 while Current is on DBR 18. If it’s fast, the fix may already be on its way. Keep production on Current.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4 dir="ltr" aria-level="4"&gt;Batch sizing and the file shape&lt;/H4&gt;
&lt;P dir="ltr"&gt;With the file cap removed, the pipeline sized batches at 15k to 90k files itself and concurrency came back, so I’d leave the cap off. &lt;CODE dir="ltr"&gt;cloudFiles.maxBytesPerTrigger&lt;/CODE&gt; is a reasonable test too; the file limit is hard, the byte limit is soft, and with both set Auto Loader stops at whichever it reaches first.&lt;/P&gt;
&lt;P dir="ltr"&gt;The real bottleneck is one Kafka message per 20 to 45 KB file. Every record costs a 14 to 16 ms round trip, and the only knob inside the pipeline is concurrency, which on serverless you don’t control. Reading Kafka directly into the bronze streaming table removes the file hop. If that’s not an option, batching messages into larger files at landing makes every future refresh less sensitive to changes like this one.&lt;/P&gt;
&lt;H4 dir="ltr" aria-level="4"&gt;Support&lt;/H4&gt;
&lt;P dir="ltr"&gt;Open the ticket now rather than after the classic test. A 3 to 4x drop on identical inputs that tracks a runtime build is exactly what they need, and the public release notes (through September 2026) don’t mention anything that explains it. Include:&lt;/P&gt;
&lt;UL dir="ltr"&gt;
&lt;LI&gt;both update IDs and both &lt;CODE dir="ltr"&gt;image_key&lt;/CODE&gt; values&lt;/LI&gt;
&lt;LI&gt;the two query profiles&lt;/LI&gt;
&lt;LI&gt;backlog and throughput charts for both runs&lt;/LI&gt;
&lt;LI&gt;the classic-compute and Preview results, when you have them&lt;/LI&gt;
&lt;LI&gt;a link to this thread&lt;/LI&gt;
&lt;/UL&gt;
&lt;P dir="ltr"&gt;Please post back what Support finds. Others running small-file ingestion on serverless are going to run into this, and your thread is the best writeup of the symptom I’ve seen.&lt;/P&gt;
&lt;P dir="ltr"&gt;References:&lt;/P&gt;
&lt;UL dir="ltr"&gt;
&lt;LI&gt;Configure a serverless pipeline (performance mode, stream pipelining): &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/serverless" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/serverless&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Autoscaling for pipelines (enhanced and vertical): &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/auto-scaling" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/auto-scaling&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Lakeflow pipelines release notes 2026: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/release-notes/dlt/2026" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/release-notes/dlt/2026&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Pipeline event log schema (&lt;CODE dir="ltr"&gt;runtime_details&lt;/CODE&gt;, &lt;CODE dir="ltr"&gt;flow_progress&lt;/CODE&gt;, &lt;CODE dir="ltr"&gt;cluster_resources&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/monitor-event-log-schema" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/monitor-event-log-schema&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Monitor and query pipeline events (system table): &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/monitor-and-query-events" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/monitor-and-query-events&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Auto Loader for production workloads (rate limiting): &lt;A href="https://learn.microsoft.com/azure/databricks/ingestion/cloud-object-storage/auto-loader/production" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ingestion/cloud-object-storage/auto-loader/production&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Auto Loader options: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/auto-loader/options" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/ingestion/auto-loader/options&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P dir="ltr"&gt;Regards,&lt;BR /&gt;Louis&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2026 21:55:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176319#M57121</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-11-12T21:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176336#M57124</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/271233"&gt;@rjmcbride&lt;/a&gt;&amp;nbsp;what if you fiddle around wit max worksers for your serverless here&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saurabh18cs_0-1794562178613.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33325i5F32438F9183EA57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saurabh18cs_0-1794562178613.png" alt="saurabh18cs_0-1794562178613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2026 09:29:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176336#M57124</guid>
      <dc:creator>saurabh18cs</dc:creator>
      <dc:date>2026-11-13T09:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176361#M57128</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/22314"&gt;@saurabh18cs&lt;/a&gt;&amp;nbsp;, That is classic compute. Serverless does not allow the configuration of max workers.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2026 17:53:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/176361#M57128</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-11-13T17:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177785#M57371</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/271233"&gt;@rjmcbride&lt;/a&gt;&lt;SPAN&gt;, just checking in! Were you able to make progress with the suggestions shared above? If any of them helped resolve the issue, please mark the relevant reply as an accepted solution. &lt;BR /&gt;If you found another workaround or identified the root cause, do share an update here. It could help others facing the same issue too!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2026 10:58:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177785#M57371</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2026-11-27T10:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177976#M57439</link>
      <description>&lt;P&gt;Thank you for the assistance.&lt;BR /&gt;&lt;BR /&gt;The insight around 'CPU driven autoscaling on an I/O bound workload' is useful.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2026 02:09:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177976#M57439</guid>
      <dc:creator>rjmcbride</dc:creator>
      <dc:date>2026-11-29T02:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177977#M57440</link>
      <description>&lt;P&gt;Thanks for the detailed response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The info on how autoscaling works is helpful for my understanding, and I appreciate the recommendations for the support ticket.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2026 02:23:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177977#M57440</guid>
      <dc:creator>rjmcbride</dc:creator>
      <dc:date>2026-11-29T02:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177978#M57441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/152834"&gt;@Advika&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The comments in this discussion offered some helpful advice and gave me some understanding, but I was not able to arrive at an acceptable solution. However, I believe that I understand where the issue stems from.&lt;BR /&gt;&lt;BR /&gt;The main point of difference between my production pipeline and my test pipelines is the pipeline run history, and I suspect it is being used in workload sizing and scaling. The reason why the history would negatively impact the performance of a full refresh is because my production pipeline is refreshing quite frequently (every 15 minutes) and the data volumes per batch at that frequency are tiny. There has also only been only 1 full refresh of this pipeline in its history. Therefore, I think that the intelligent workload optimization that is taking place has learned strongly from this history of small data volumes and does not adapt correctly to a full refresh scenario. I cannot be 100% sure of this, but it makes sense to me considering the controlled tests I have performed.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2026 02:45:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/177978#M57441</guid>
      <dc:creator>rjmcbride</dc:creator>
      <dc:date>2026-11-29T02:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless declarative pipeline ingestion from ADLS is running x4 SLOWER randomly</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/178234#M57513</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/271233"&gt;@rjmcbride&lt;/a&gt;, thanks for coming back and closing the loop. Most threads end in silence, and a working theory with the reasoning behind it is more useful to the next person than a tidy "fixed."&lt;/P&gt;
&lt;P&gt;Your history theory fits what the docs describe. Vertical autoscaling picks instance types for the next update based on what it saw in earlier ones: if memory is consistently underutilized, it scales the instance types down for the next run, and the March 2026 release added the same kind of adjustment based on CPU. Months of tiny 15-minute updates and a single full refresh in the pipeline's entire history is exactly the record that would push sizing to the floor. The full refresh then starts small, and whatever scaling happens inside the update isn't closing the gap. None of that is visible in the event log for serverless, so I can't confirm it from here, but it's consistent with the docs and with your controlled tests.&lt;/P&gt;
&lt;P&gt;Two things I'd do with that:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Confirm it cheaply. Clone the pipeline definition into a new pipeline with no history, point it at a scratch schema, and run the full refresh on the same build. If the fresh pipeline is fast and the production one isn't, you've isolated history as the variable, and that's a one-paragraph Support ticket.&lt;/LI&gt;
&lt;LI&gt;Give the rare full refresh its own compute. For a one-off backfill, the docs allow switching the pipeline to classic compute with a fixed cluster sized for the job, then back to serverless. The catch is that enabling serverless removes the compute settings, so keep the classic config somewhere you can paste it back from, and check first that nothing in the pipeline depends on serverless-only features.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'd still file the ticket with this theory attached, even if the workaround holds. I'm not aware of a documented way to tell serverless "this update is a full refresh, start big," and the October 2026 release notes don't mention anything in this area. That's product feedback Databricks should hear with your numbers behind it. And the durable fix hasn't changed: fewer, larger files at landing, or Kafka straight into bronze.&lt;/P&gt;
&lt;P&gt;If any of the replies here moved you forward, marking one as accepted helps the next person find the thread. Either way, appreciate you sharing what you learned.&lt;/P&gt;
&lt;P&gt;References:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Autoscaling for pipelines (vertical autoscaling sizes the next update from earlier ones): &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/auto-scaling" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/auto-scaling&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Configure a serverless pipeline (switching between serverless and classic): &lt;A href="https://learn.microsoft.com/azure/databricks/ldp/serverless" target="_blank"&gt;https://learn.microsoft.com/azure/databricks/ldp/serverless&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Lakeflow pipelines release notes 2026: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/release-notes/dlt/2026" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/release-notes/dlt/2026&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Louis&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2026 14:23:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-declarative-pipeline-ingestion-from-adls-is-running/m-p/178234#M57513</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-11-30T14:23:09Z</dc:date>
    </item>
  </channel>
</rss>

