Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Live Reporting Server

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
GB
Hey all,

If you have an OLTP system (SQL 2008 r2) and you wanted to have a dashboard running off it that was Near Live information (15 mins max). How would you go about it? For safeties sake lets say its a normalised database that has 1,000,000 customers 10,000,000 orders, 10,000 products, 10 sales regions, 100 sales offices, and 1,000 sales staff. You can guess the structure here (this is a made up idea - just to get the principle).

So now you need to create a dashboard that shows sales (numbers and volumes) for today and yesteday first at company level, then drill through to sales region, then to office, then to sales staff, then to individual sales.

Now if this was an system that only needed to be updated nightly, i would create a denormalised table to get the different layers so that the dashboard could run quickly.

But with a live system the build time of the DN tables or even cubes (as this example has been simplified) would take too long to get the information onto the dashboard. But i fear that running on the OLTP schema would be too slow to run a dashboard off.

We have the OLTP schema replicated onto a different server for reporting. So effectively the OLTP schema is slow for reporting, the OLAP schema\cubes take time to build.

Basically is there a way round this?

Thanks for any input given.

Dan

----------------------------------------

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Bernard Baruch

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
Short of using the live database itself, the closest you get to real time is through replication. Besides maybe database mirroring (you would have to use a snapshot of the mirrored database for your reporting needs as the mirrored database is always offline in recovery state. If a <=15m refresh rate is OK for you then you should not have too much of a problem. How busy is that database?

MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top