Are there any "Best Practices" for report writing?
As the DBA, I was asked to troubleshoot the slow refresh on a report written by a Data Analyst. The issue was that the end user received a new workstation, and the report was running slower than on the old workstation.
The report has three subreports and they are linked to the container using a calculated field. I know that this CAN be done, but SHOULD it be done?
The report runs in 45 minutes using the calculated field links on the old workstation.
The report is still running after two hours using the calculated field link on the new workstation.
The report runs in 11 minutes using a database field link on the old workstation.
The report runs in 22 minutes using a database field link on the new workstation.
To me - the DBA - it seems like a lot of overhead to join container reports and subreports based on calculated fields rather than database fields.
So - any "Best Practices" for more efficient report writing??
Thanks!
As the DBA, I was asked to troubleshoot the slow refresh on a report written by a Data Analyst. The issue was that the end user received a new workstation, and the report was running slower than on the old workstation.
The report has three subreports and they are linked to the container using a calculated field. I know that this CAN be done, but SHOULD it be done?
The report runs in 45 minutes using the calculated field links on the old workstation.
The report is still running after two hours using the calculated field link on the new workstation.
The report runs in 11 minutes using a database field link on the old workstation.
The report runs in 22 minutes using a database field link on the new workstation.
To me - the DBA - it seems like a lot of overhead to join container reports and subreports based on calculated fields rather than database fields.
So - any "Best Practices" for more efficient report writing??
Thanks!