Tag: sessions

Azure, Azure Data Warehouse

PDW/ADWH – Query Sessions – lista najdłuższych zapytań

Konstruowanie takich zapytań nie należy do najłatwiejszych 😉 W dokumentacji jest wiele braków.. Ale udało mi się namierzyć i podejrzeć skrypt uruchamiany przez portal Azure w monitoringu ADWH. BINGO! select top 50 (case when requests.status = 'Completed’ then 100 when progress.total_steps = 0 then 0 else 100 * progress.completed_steps /Czytaj dalej / Read more