Back to UBS Backend Engineer interview

Interview question

Optimize a slow SQL query on a large fact table

Asked in UBS Backend Engineer interviews

Asked by

32% candidates

Difficulty

Medium

Round

Technical Round

AI synthesized from candidate reports

Back to Questions

Question 1 of 3

Optimize a slow SQL query on a large fact table

Medium59% Candidate ReportsCODINGUBSBackend Engineer

Question

Optimize a slow SQL query on a large fact table

High-Level Approach

Measure first, index for filter/join columns, consider partitioning and summary tables.

Optimize a slow SQL query on a large fact table — UBS… | InterviewForge AI