Daifuku interview question

(Basic) How to check the reason when an SQL is slow