Home > SQL Server Tips > Data Warehousing and Business Intelligence > SQL Server and business intelligence: Plan ahead
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATA WAREHOUSING AND BUSINESS INTELLIGENCE

SQL Server and business intelligence: Plan ahead


Serdar Yegulalp, Contributor
06.27.2005
Rating: -3.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the earliest books on software for personal computers was named Nailing Jelly to a Tree. "Software is nebulous, and sometimes hard to get a grasp on," the authors wrote in the introduction. This is still true today: When people talk about software as a solution to a given problem, there's often a sense that simply throwing software at a problem will make it go away. The idea of planning how SQL Server is to be used -- asking questions about how the data should be structured and labeled and what sort of reporting services to use and so on -- often gets treated as an afterthought.

This sort of thinking is easy to fall into and nearly impossible to get out of. To keep you from falling into that trap, here are some key planning concepts to keep in mind whenever you use SQL Server as a solution to a particular business problem.

Know the variety of the problem

Is what you're trying to do a data warehousing problem (i.e., OLAP) or a transactional problem (i.e., OLTP)? The difference between the two usually comes down to volume and frequency. For instance, if you're writing a reporting system that produces thousands or even millions of records in a single report for only a few users, and the report is only run once a month, then the problem doesn't require as much subdividing and can generally be run as a single action.

If, however, you are producing million-row reports on demand many times a day, or hour, for many users at once, then it will put far more stress on your system. Upgrading to a faster server or one with more memory is not going to solve the underlying problem of an inefficient reporting system. In such a case, you need to subdivide the reporting process heavily into many smaller actions, each of which can complete separately so that other SQL Server functions can continue to run in parallel. There are other optimizations that can be made, such as keeping related data as close as possible physically, but this is one of the most important.

Think of it this way: Don't concern yourself with how fast a computer you need to run this particular problem, because in five years all that may change anyway. Instead, think about how the problem can be tackled now. If in the future you do upgrade and can, say, consolidate multiple reporting/analysis servers into one machine, the work you've done before to optimize the reporting or transactional processes will pay off all over again.

Use the right SQL Server tools for the right scenarios

SQL Server has many different tools for different jobs; get to know them and what they do, and don't try to make one do the work of the other. If you're dealing with a situation where much more data is coming back out of the system than is being put into it -- essentially, a data warehouse -- focus on learning SQL Server's Reporting Services. The Analysis Services are best for putting together multidimensional data analysis structures like cubes, but they can always benefit from intelligent optimizations on the part of the user -- which in turn often depends on how well the data itself is designed. (More on that in the next section.)

This caveat about the right tool also includes choosing between the different editions of SQL Server. If you're dealing with queries or analyses that routinely eat more than 2 GB to 3 GB of RAM, then the 64-bit edition of SQL Server (and a 64-bit machine) will be a big help now and further down the line.

Be conscious of your current and future data structures

SQL Server and its reporting tools may be out-of-the-box products, but you will have to devise independently the way your data is warehoused and stored. The more design issues you get out of the way early on, the better. Microsoft has some material specifically written for people building OLAP solutions.

The way you store things will be reflected in everything, including the naming conventions you use for your data structures. Even if you're not looking to get ISO certification, learn about ISO/ANSI naming conventions and put them to work in your data structures. They may seem a bit cumbersome and wordy at first, but in the long run they will spare you a great deal of pain. Remember: A little wordiness now means the data structures will become self-describing later -- especially if you move on and leave the project in someone else's hands.

Long-term planning is the most crucial thing: What good is all this work if it doesn't last for the years or decades it takes for a warehousing or reporting solution to be useful?

Learn from others

There's no reason you should have to make the same mistakes everyone else did. One particularly good book for understanding how other people might have solved the same problems is Impossible Data Warehouse Situations: Solutions from the Experts (Addison-Wesley Professional, October 2002). It lists almost a hundred common data warehousing problems and provides real-world solutions for them. The book is agnostic in terms of what products are used, so the solutions can be applied pretty universally.


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!


Rate this Tip
To rate tips, you must be a member of SearchSQLServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SQL Server Business Intelligence (BI) and Data Warehousing
Programming report generation with SQL Server Reporting Services 2008
Using the Pivot transformation in SQL Server Integration Services
DBA career paths could lead to business intelligence
Are data warehouses made for the cloud?
Q&A: Business intelligence gets a facelift in SQL Server 2008 R2
Project Gemini gets a new name, Madison earns buzz
Speed up reports in SQL Server Reporting Services with caching
Data Transformation Services vs. SSIS: The key differences
Using package configurations in SQL Server Integration Services (SSIS)
How SQL Server 2008 components impact SharePoint implementations

SQL Server Migration Strategies and Planning
eZines and eBooks for SQL Server professionals
New SQL Server 2008 R2 CTP set for November
PASS Summit 2009 Preview
Are data warehouses made for the cloud?
Q&A: Moving forward with SQL Server in the cloud
SQL Server Mailbag: Migrating down to Standard Edition
Microsoft releases SQL Server 2008 R2 CTP
A first look at Microsoft SQL Server 2008 R2
Using Microsoft Hyper-V for SQL Server consolidation
Migrating to SQL Server 2008 and leveraging new features

Data Warehousing and Business Intelligence
Programming report generation with SQL Server Reporting Services 2008
Recommended practices for SQL Server Analysis Services aggregations
Creating and managing SQL Server Analysis Services partitions
Sharing SSAS cube data in SharePoint with PerformancePoint Server 2007
New data profiling tools in SQL Server 2008
Utilize SSAS for data predictions and classification using Excel
SQL Server 2008 Integration Services delivers new features
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Change data capture in SQL Server 2008 improves BI reporting accuracy
Manage traces in SQL Server 2005 Analysis Services with XMLA commands

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
data aggregation  (SearchSQLServer.com)
data preprocessing  (SearchSQLServer.com)
data warehouse  (SearchSQLServer.com)
FileMaker  (SearchSQLServer.com)
GIS  (SearchSQLServer.com)
MOLAP  (SearchSQLServer.com)
pivot table  (SearchSQLServer.com)
Quiz: SQL Server 2000  (SearchSQLServer.com)
SQL  (SearchSQLServer.com)
T-SQL  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



SQL Server Development - .NET, C#, T-SQL, Visual Basic
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts