?
Solved

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

Posted on 2012-03-29
3
Medium Priority
?
133 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

770 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