I have a question about Data Sources in Reports. Has anyone been using a stored procedure instead of a direct sql statement for data sources in reports? Do you use Basic SQL Query query type or do you use a Script? What is suggested?
I’ve also noticed that the stored procedure runs fast in SQL Server Management Studio (SSMS) is is slow to load in the report. Has anyone encountered this?
How much data (number of rows, number of columns) is returned by the query? How many pages is the resulting report?
You can get a thread dump (from the gateway web UI, in the status → diagnostics → threads section) while the query is running/the report is generating, but it likely won’t tell you a whole lot.