Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL 2008 R2 Performance | CPU

Posted on 2011-02-19
11
Medium Priority
?
353 Views
Last Modified: 2012-06-27
Experts -

We've SQL server 2008 r2/6bit/4CPU VM on of our Prod system. What is the best method to update this to 8CPU?

The DB size is around 50G. The recovery mode is SIMPLE/single instance.

We wanted to AVOID the downtime.

Thanks,

~sve.
0
Comment
Question by:sventhan
[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
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 17

Expert Comment

by:OriNetworks
ID: 34934188
The only way I know of to completely avoid downtime is if your SQL instance was on a cluster. To change the amount of CPUs on the server you would have to shut down the virtual machine.
0
 
LVL 18

Author Comment

by:sventhan
ID: 34934267
Thanks.

We also thinking about create a New server with 8 CPU / new instance 2008 R2 and try mirroring /replication / anything to minimize the downtime  ...

Any ideas?
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 34934369
This is more of a system issue than a SQL issue.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 18

Author Comment

by:sventhan
ID: 34934414
@ Racimo

My Question is once the new server is ready with 8 CPU how can I move the DB from old server to new server? Any known best method to follow?  
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 400 total points
ID: 34934438
That is still going to require downtime.  In fact I would venture that you would have less downtime if you just added the CPU.
0
 
LVL 17

Accepted Solution

by:
OriNetworks earned 1000 total points
ID: 34934454
I thought you wanted to simply upgrade the existing install to 8 virtual CPUs. That would be simplest and cause maybe 5 minutes of downtime to restart the virtual machine.

If you create a new instance on another server, you might be able to:
1. install the new instance and setup replication between inself and the production database. (WARNING: with 50GB of data it may cause the application to run slowly as data replicates for hours rather than the few minutes needed to restart the VM in my suggested solution)
2. Setup the same user accounts on the new SQL server.
3. Add an additional DNS record so that applications referencing SQLSERVER1 will now point to SQLSERVER2
4. Hope that it works correctly. Theoretically it should but every environment configuration is different.


I would risk the few minutes of downtime at the time of day with lowest use. If the uptime really was that critical that you couldnt have it down for a few minutes then it would already be setup as a cluster anyway. Kudos for being proactive though.
0
 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 600 total points
ID: 34934568
<<Any known best method to follow?  >>
If using VMWare consider using  HA native Failover solution .  Thanks to its buffering capabilities, you should be able to move the VM to a new platform transparently for SQL Server.
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 34934576
The product is called VMOTION.  

http://www.vmware.com/products/vmotion/
0
 
LVL 18

Author Comment

by:sventhan
ID: 34934598
Thanks to all for the valuable comments/suggestions.


Our server is running on (just to add little more info)
OS < === Windows server 2008 Standard Edition .

0
 
LVL 17

Expert Comment

by:OriNetworks
ID: 34935183
So its correct to assume the virtual platform is based on hyper-v
0
 
LVL 18

Author Closing Comment

by:sventhan
ID: 34956218
Thanks for ALL the help. Very much appreciated.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

610 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