SQL timeout when generating reports
we have reporting service (not sql reporting service) using stored procedures provide data reports. reports on transactional data directly. run timeout exception time time on production server. we can tune query run faster , hope not collide other threads updating same tables. or consider replicating transactional data dedicated reporting database run reports against. wondering right design/pattern such task is. e.g. creating reporting database right approach solve problem? can achieve selecting right isolationlevel?
we use sql 2005 , read_comitted both transactional data updates , report sps.
thanks
hi wan zeng,
if not need real-time reports, suggest creating dedicated database generating reports instead of accessing production database. can use etl tool transfer data f @ regular intervals sync production , reporting databases.
please see:
http://sqlserverpedia.com/blog/sql-server-bloggers/reporting-on-your-oltp-system/
http://grounding.co.za/blogs/brett/archive/2007/06/26/designing-databases-oltp-and-olap.aspx
please remember mark replies answers if , unmark them if provide no help.
get or request code sample microsoft
if have feedback, please tell us.
SQL Server > SQL Server Data Access
Comments
Post a Comment