SQL - What is an SQL Instance?  What is an SQL Cluster?  Are these related?

Posted on 2014-03-10
Medium Priority
Last Modified: 2014-03-25
What is an SQL instance?
What is an SQL cluster?
The web descriptions are not really clear and don't  give any examples!!!
Question by:brothertruffle880
  • 3
  • 2
LVL 22

Assisted Solution

by:Matt V
Matt V earned 1500 total points
ID: 39917924
A SQL instance is a single install of SQL.  It is installed in it's own folder.
An example would be installing SQL 2000 and then installing SQL 2008 into a new folder.  Both are still running, and each is an instance.  You can also install multiple instances of the same version by specifying a new folder for each install.

A SQL cluster is a Microsoft cluster that also runs SQL server.  The SQL instances are clustered into an active-passive (active fails, other node takes over) or active-active (both nodes are active at the same time).
LVL 22

Assisted Solution

65td earned 500 total points
ID: 39919040
A single SQL instance in cluster would have it's own IP address, network name and disk(s) and could only be run as an active/passive cluster.

Multiple instances of SQL which own (again) have it's own network name , ip address and disk(s), could be run as an active/active SQL cluster.

Author Comment

ID: 39920341
What is the rationale for having multiple instances rather than just creating copies of a database? or creating another SQL Server?
I'm trying to determine when to create an instance versus when to just copy the database or install SQL server all over again in a different box?

The answers I found on the web are a bit hazy on the rationale for setting up instances of SQL.
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

LVL 22

Assisted Solution

by:Matt V
Matt V earned 1500 total points
ID: 39920578
If you have a very powerful server, you can do processor based licensing and install multiple instances on one server instead of licensing multiple physical servers.

You can also install mutiple versions as different instances if you have version requirements for your applications.

Usually it is for utilizing hardware better or consolodating licenses.

Author Comment

ID: 39934485
Hi 65TD:

What is an Active/Passive cluster?
When would you use it?

LVL 22

Accepted Solution

Matt V earned 1500 total points
ID: 39934604
Active/Passive means that all the databases reside on one server (active) and only fail over to the other server (passive) if the active one goes down.

This is done to save licencing.  You only need the SQL enterprise licence for the active node in this scenario.

This provides some fault tolerance (you are back up quicker than complete hardware failure of one server), without the additional licencing costs.

You can also migrate the databases from the active to the passive node for patching.  As long as you only have databases on one node you are still properly licenced.

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

607 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