[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2012-03-29
3
Medium Priority
?
140 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 2000 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline

873 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