SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Simple count in a report
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sql_server_dba
Posting Yak Master

137 Posts

Posted - 05/24/2012 :  21:14:21  Show Profile  Reply with Quote
I am totally new to reporting services and trying to figure out how to create a report with the row count of a table at specific intervals of a day. So what i am trying to do is i have a table which is highly transactional(it has inserts, deletes) and wanted to find out the count of it for every 30 minutes and represent it on a report server with in a graph. How can i do that?

visakh16
Very Important crosS Applying yaK Herder

India
47069 Posts

Posted - 05/25/2012 :  10:25:38  Show Profile  Reply with Quote
sounds like what you want is schedule a sql server agent job which populate a table with your required count value. Then you can create a report to show this value and add a subscription to make it render at required intervals automatically with latest count value from table

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

sql_server_dba
Posting Yak Master

137 Posts

Posted - 05/25/2012 :  11:51:41  Show Profile  Reply with Quote
Can't we do this with out creating any table by directly running a query for every 30 minutes?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47069 Posts

Posted - 05/25/2012 :  15:35:46  Show Profile  Reply with Quote
quote:
Originally posted by sql_server_dba

Can't we do this with out creating any table by directly running a query for every 30 minutes?


why do you want to simply aggregate entire data each time? By having an intermediate table you'll only need to do aggregation for deltas (changes) since last run (ie last 30 minute period). Running it on the fly mean you aggregate entire data each time which would be bit of performance bottleneck with all thode high freq large DML operations (insert/update etc) happening in parallel.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/


Edited by - visakh16 on 05/25/2012 15:36:11
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000