Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
priyagautam12
New Member

Fabric SQL Analytic Endpoint compute capacity infinite loop issue

Hi, I recently came across an issue in Fabric. I was writing join 10-12 tables in a lakehouse in sql query and we had F16 capacity. The query went for infinite loop and I couldn't cancel at as we have maxed out the Fabric compute capacity.
We needed to pause Fabric Capacity and then we could kill the query using Fabric admin write.

But, a devloper should be able to kill the query without pausing Fabric capacity. IS there any otehr workaround avaialble ?
Is there a limitation on joining a number of tables in Fabric Environment?

 

Kidn Regards,

Priya

 

 

1 ACCEPTED SOLUTION
v-lgarikapat
Community Support
Community Support

Hi @priyagautam12 ,

Thanks for reaching out to the Microsoft fabric community forum.

 

@burakkaragoz 

Thanks for your prompt response

 

In Addition to @burakkaragoz  included the learing documnets which may help you to resolve the issue 

Smoothing and Throttling - Microsoft Fabric | Microsoft Learn

Burstable Capacity - Microsoft Fabric | Microsoft Learn

Monitor SQL database performance and utilization trends - Microsoft Fabric | Microsoft Learn

SQL Analytics Endpoint Performance Considerations - Microsoft Fabric | Microsoft Learn

 

If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.

Looking forward to your response.

Best regards,
LakshmiNarayana.

View solution in original post

5 REPLIES 5
v-lgarikapat
Community Support
Community Support

Hi @priyagautam12 ,

Thanks for reaching out to the Microsoft fabric community forum.

 

@burakkaragoz 

Thanks for your prompt response

 

In Addition to @burakkaragoz  included the learing documnets which may help you to resolve the issue 

Smoothing and Throttling - Microsoft Fabric | Microsoft Learn

Burstable Capacity - Microsoft Fabric | Microsoft Learn

Monitor SQL database performance and utilization trends - Microsoft Fabric | Microsoft Learn

SQL Analytics Endpoint Performance Considerations - Microsoft Fabric | Microsoft Learn

 

If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.

Looking forward to your response.

Best regards,
LakshmiNarayana.

Hi @priyagautam12 ,

 

I wanted to follow up and confirm whether you’ve had a chance to review the information we shared. If you have any questions or need further clarification, please don’t hesitate to reach out.

If you're still encountering any challenges, feel free to let us know  we’d be glad to assist you further.

Looking forward to your response.

 

Best regards,
Lakshmi Narayana

Hi @priyagautam12 ,

 

I wanted to follow up and confirm whether you’ve had a chance to review the information we shared. If you have any questions or need further clarification, please don’t hesitate to reach out.

If you're still encountering any challenges, feel free to let us know  we’d be glad to assist you further.

Looking forward to your response.

 

Best regards,
Lakshmi Narayana

Hi @priyagautam12 ,

As we haven't heard back from you, we are closing this thread. If you are still experiencing the issue, please feel free to create a new thread we’ll be happy to assist you further.

Thank you for your patience and support.

If you found our response helpful, please mark it as Accepted Solution , so others with similar queries can find it easily.

 

Best Regards,

Lakshmi Narayana

burakkaragoz
Community Champion
Community Champion

Hi @priyagautam12 ,

 

Thanks for raising this — what you described is definitely frustrating, and you're right to expect more control as a developer.

Currently, in Microsoft Fabric, developers don’t have direct access to cancel long-running or stuck SQL queries once they’ve been submitted to the capacity. If the query consumes all available compute (like in your F16 case), it can block other operations, and unfortunately, pausing the capacity is often the only way to forcefully release it via admin tools.

Here are a few things you might consider:

  1. Use Query Timeout Settings (if available)
    While not exposed in all interfaces yet, some environments allow setting a timeout at the query or session level. If you're using notebooks or pipelines, you might be able to wrap the query in a timeout logic.

  2. Break Down Complex Joins
    Joining 10–12 large tables in one go can be risky, especially if the lakehouse tables are not optimized (e.g., no distribution or indexing). Try breaking the logic into intermediate views or temp tables to reduce compute pressure.

  3. Monitor with Capacity Metrics App
    If you haven’t already, install the Fabric Capacity Metrics App — it helps track which queries are consuming resources and might help you catch runaway queries earlier.

  4. Submit Feedback to Microsoft
    This is a known limitation and has been raised by others too. I’d recommend submitting this via the Fabric feedback portal — more voices help prioritize this kind of developer control.

Let me know if you want help optimizing the query or breaking it into smaller parts — happy to take a look.

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

Translation and text formatting supported by AI assistance

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.