Problem
The Databricks user interface seems to be running slowly.
Cause
User interface performance issues typically occur due to network latency or a database query taking more time than expected.
In order to troubleshoot this type of problem, you need to collect network logs and analyze them to see which network traffic is affected.
In most cases, you will need the assistance of Databricks Support to identify and resolve issues with Databricks user interface performance, but you can also analyze the logs yourself with a tool such as G Suite Toolbox HAR Analyzer. This tool helps you analyze the logs and identify the exact API and the time taken for each request.
Solution
This is the procedure for Google Chrome. For other browsers, see G Suite Toolbox HAR Analyzer.
- Open Google Chrome and go to the page where the issue occurs.
- In the Chrome menu bar, select View > Developer > Developer Tools.
- In the panel at the bottom of your screen, select the Network tab.
- Look for a round Record button in the upper left corner of the Network tab, and make sure it is red. If it is grey, click it once to start recording.
- Check the box next to Preserve log.
- Click Clear to clear out any existing logs from the Network tab.
- Reproduce the issue while the network requests are being recorded.
- After you reproduce and record the issue, right-click anywhere on the grid of network requests to open a context menu, select Save all as HAR with Content, and save the file to your computer.
- Analyze the file using the HAR Analyzer tool. If this analysis does not resolve the problem, open a support ticket and upload the HAR file or attach it to your email so that Databricks can analyze it.