all groups > sql server clustering > october 2003 >
You're in the

sql server clustering

group:

Multiple Instance ??


Multiple Instance ?? Todd Day
10/29/2003 7:26:12 AM
sql server clustering:
Hello,

We are setting up a 2 server active/passive SQL 2000 and Windows 2000 Adv cluster, each server has 2 GB of memory. Currently we have 2 databases with a third on the way. The databases should be 20GB or less with decent read/write activity. My question is, should we run a separate instance for each db or just one instance? Is it even possible to run one instance and have multiple DB's served from a single virtual server? Any help would be appreciated.

Thanks,
Multiple Instance ?? Linchi Shea
10/29/2003 9:42:02 AM
It's certainly possible to accommodate multiple databases
in a single SQL instance exactly like it is when the
instance runs on a standalone server.

There are several factors to consider when trying to
decide whether to use one instance or two:

1. Can the databases live in the same instance? For
instance, if the two databases use different collations,
it's often better to put them into different instances
with the server collation default to the database
collation. Note that even though SQL2000 does support
multiple collations in an instance, your apps may not. You
need to evaluate mixing collations in an instance before
deciding whether it's a problem for your apps.

2. If you want to take full advantage of the processors on
both nodes, you should consider splitting the databases
into two instances and run each on a separate node.
However, depending on the performance profiles of your two
databases, this may not be optimal from a memory usage
perspective. For instance, if one of the database is
heavily used during the day while another one is heavily
used at night (memory-wise), it may be better to have them
in a single instance so that they can better utilize the
available physical memory. If you run them in two
instances on separate nodes, you have to cap their max
memory consumption to accommodate the failover situation
when both instances are on the same node.

Linchi

[quoted text, click to view]
Windows 2000 Adv cluster, each server has 2 GB of memory.
Currently we have 2 databases with a third on the way. The
databases should be 20GB or less with decent read/write
activity. My question is, should we run a separate
instance for each db or just one instance? Is it even
possible to run one instance and have multiple DB's served
from a single virtual server? Any help would be
appreciated.
[quoted text, click to view]
Multiple Instance ?? Allan Hirt
11/9/2003 4:43:30 PM
A clustered instance of SQL Server is no different than a
standalone in this regard: you must know your work and
activity to see if workloads can be combined. I would put
the DBs possibly on separate disks (i.e. D:\, E:\, etc.)
to reduce or eliminare I/O contention, and do things like
have additional paths/HBAs to your storage, but other than
that, same rules of things like server consolidation
apply. Size of DB has nothing to do with whether you can
or cannot do it; it's workload. If you're maxing out at 2
GB of RAM with the 2 DBs, and want to use the instance,
add the appropriate amount of memory to enable you to do
it.

Adding a separate instance means another virtual IP
address, additional disk resources (which you would need
AddThis Social Bookmark Button