<?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: how to monitor notebook connection time in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4838831#M12617</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&amp;nbsp; , &lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;If you believe a lot of time is being spent in starting the spark session which gets automatically shut down after a period of 20 minutes, which is the default timeout time.&lt;BR /&gt;You can adjust the session timeout at the notebook or workspace level.&lt;/P&gt;
&lt;P&gt;To change the timeout settings, open a notebook and start a session from the Connect toolbar menu. Once the session is active, click the Session ready indicator in the lower-left corner of the notebook, and in the dialog that appears you can adjust the timeout duration as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 09:22:14 GMT</pubDate>
    <dc:creator>v-nmadadi-msft</dc:creator>
    <dc:date>2025-09-30T09:22:14Z</dc:date>
    <item>
      <title>how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4837912#M12582</link>
      <description>&lt;P&gt;I have a spark notebook which use a custom environment. I notice the scheduled run duration has doubled recently. I checked notebook run snapshot, it looks the actual execution time hasn't increased, so I suspect the duration increase because notebook connection time has increased significantly. How can I monitor notebook connection time during the past one week?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 12:40:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4837912#M12582</guid>
      <dc:creator>Jeanxyz</dc:creator>
      <dc:date>2025-09-29T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4837996#M12591</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You’re seeing the &lt;STRONG&gt;scheduled run duration&lt;/STRONG&gt; grow while the &lt;STRONG&gt;notebook run snapshot&lt;/STRONG&gt; still shows similar execution time. That typically means extra time is being spent &lt;STRONG&gt;before the first cell actually runs&lt;/STRONG&gt; (queueing + Spark session startup/attach, often impacted by custom environments).&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Use Monitoring Hub (Historical view) to estimate startup time last 7 days.&lt;/STRONG&gt; Filter to your notebook, switch to Historical view, and compare &lt;STRONG&gt;Total duration&lt;/STRONG&gt; vs &lt;STRONG&gt;Running duration&lt;/STRONG&gt;. The gap is a good proxy for “connection/startup” time. History goes back 30 days. See: &lt;A href="https://learn.microsoft.com/en-us/fabric/admin/monitoring-hub" target="_blank" rel="noopener"&gt;Monitor hub&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check the Capacity Metrics app for capacity pressure during your schedule window.&lt;/STRONG&gt; Spikes in capacity load often show up as longer queue/attach times. See: &lt;A href="https://learn.microsoft.com/en-us/fabric/enterprise/metrics-app" target="_blank" rel="noopener"&gt;Capacity Metrics app&lt;/A&gt; and guidance to &lt;A href="https://learn.microsoft.com/en-us/fabric/enterprise/optimize-capacity" target="_blank" rel="noopener"&gt;optimize capacity&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Enable Workspace Monitoring and query logs.&lt;/STRONG&gt; Workspace Monitoring creates an Eventhouse with logs/metrics you can query over the past week to chart startup overhead by run. See: &lt;A href="https://learn.microsoft.com/en-us/fabric/fundamentals/workspace-monitoring-overview" target="_blank" rel="noopener"&gt;Workspace monitoring overview&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If you’re using a custom Environment, make sure libraries are pre-installed and published.&lt;/STRONG&gt; Avoid %pip at runtime; published environments reduce session spin-up. See: community guidance on using Environments instead of inline installs: &lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Starting-Session-takes-really-slow-notebook-session-Microsoft/m-p/4689872" target="_blank" rel="noopener"&gt;thread&lt;/A&gt;. Also see Fabric’s notebook troubleshooting tips: &lt;A href="https://learn.microsoft.com/en-us/fabric/data-science/fabric-notebooks-troubleshooting-guide" target="_blank" rel="noopener"&gt;troubleshooting guide&lt;/A&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 13:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4837996#M12591</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-29T13:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4838831#M12617</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&amp;nbsp; , &lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;If you believe a lot of time is being spent in starting the spark session which gets automatically shut down after a period of 20 minutes, which is the default timeout time.&lt;BR /&gt;You can adjust the session timeout at the notebook or workspace level.&lt;/P&gt;
&lt;P&gt;To change the timeout settings, open a notebook and start a session from the Connect toolbar menu. Once the session is active, click the Session ready indicator in the lower-left corner of the notebook, and in the dialog that appears you can adjust the timeout duration as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 09:22:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4838831#M12617</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-09-30T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842207#M12719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Oct 2025 13:44:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842207#M12719</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-10-04T13:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842515#M12722</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;In monitor hub, I only find total duration, not the running duration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a quick fix, I create an empty notebook using the same Spark environment. In this way, the total duration of this notebook = connection duration. It looks the duration time is quite long, 7 minutes. This is ironically because I have only installed one public package in the library. It will save time if I run pip install each time rather than using a custom environmennt.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Oct 2025 15:19:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842515#M12722</guid>
      <dc:creator>Jeanxyz</dc:creator>
      <dc:date>2025-10-05T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842601#M12723</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To better get an idea,&amp;nbsp; Apache Spark ( Data Lake) does not show running duration of the job .&lt;/P&gt;&lt;P&gt;Total Duration = It takes time to run the job. It varies on lot of other factors..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also use best practices when using linux systems. ( Kimball methodology + Fact/Dim Tables structure etc...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 08:37:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4842601#M12723</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-10-06T08:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4844008#M12754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 05:00:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4844008#M12754</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-10-07T05:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4847195#M12834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307948" data-lia-user-login="Jeanxyz" class="lia-mention lia-mention-user"&gt;Jeanxyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions &amp;nbsp;provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:37:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4847195#M12834</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-10-10T04:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor notebook connection time</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4847373#M12841</link>
      <description>&lt;P&gt;Sorry for late reply, I don't think there is a good solution from Microsoft. I have ticked the answer from Taloramy as an answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 08:09:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-monitor-notebook-connection-time/m-p/4847373#M12841</guid>
      <dc:creator>Jeanxyz</dc:creator>
      <dc:date>2025-10-10T08:09:44Z</dc:date>
    </item>
  </channel>
</rss>

