Solved

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

Posted on 2012-03-29
3
119 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Service Statictic 11 30
affinity mask in sql server 1 23
My Query is not giving correct result. Please help 5 30
TSQL previous 5 25
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

13 Experts available now in Live!

Get 1:1 Help Now