Solved

Using SQL Instances to manage resources for a combined OLTP/OLAP server

Posted on 2012-03-29
3
117 Views
Last Modified: 2015-01-14
I am setting up a SQL 2008 R2 two node cluster for an existing database server that currently supports 6 databases (30-35 gb total), most of which are OLTP type databases supporting front end web based apps that receive about a million hits a year. One of the databases is an OLAP type and I am wondering if by creating two SQL Instances, one for OLTP and one for OLAP, I might better manage resource allocation between the OLTP and OLAP databases. Priority would be given to the OLTP databases, which are more critical to operations. Additionally, I am wondering if this approach would work for a given OLTP database that required priority access to resources. As I also have the opportunity to configure the SAN from scratch I would be able to allocate dedicated disk resources to the individual instances.
0
Comment
Question by:aubey
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Anuj earned 500 total points
ID: 37785911
If you are opting single instance, I would recommend to consider SQL Server resource governor, which allows you to distribute the CPU, Memory according the workload. You said that priority should be given to OLTP, so you can configure resource governor so that 70%  (an example) of CPU and Memory to OLTP workload based on the classifier function(Resource governor component, it can be username, appname etc).

If you are considering multiple instance, you should configure the min and max server memory settings and processor affinity properly to improve performance. eg suppose you have 100 GB memory on the server and since your priority is OLTP and you decided the 70% of ram should be given to OLTP instance, then you should configure the max server memory on the OLAP instance as 30GB and OLTP should be 100 or 70, this allows the OLAP instance to use only 30 GB of the memory, and the rest should be given to OLTP instance.

I would recommend, single instance multiple database also, note that in both the options
you should database files should reside in its own disk to overcome disk bottleneck.
0
 
LVL 20

Expert Comment

by:Marten Rune
ID: 37785921
Resource govenor does not handle instances.
Therefore I would recommend the same instance, resource govenor for handling resources and different san luns for the oltp / olap databases.
The key is going to be CPU and this can be controled with resource govenor.

Regards Marten
0
 
LVL 20

Expert Comment

by:Marten Rune
ID: 37885873
Need further assistance, or clarifications?

Regards Marten
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now