473,396 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Database instance

GTi
In MS SQL you can create a database that is run in a seperate instance.

Why and when should a database run on a seperate instance ?
Benefits ?

What is prefered and why?
Two applications have it's own tables.
Appplication A have a set of tables.
Appplication B have a set of tables but also use tables from A
Should it run on different databases (DbA and DbB) and instance?
Or is it ok to let them use the same database (DbAB) ?

Jan 27 '06 #1
1 1408
GTi wrote:
Why and when should a database run on a seperate instance ?
Benefits ?
I think the main benefit is that it gives you the flexibility to
virtualise your servers so that you can maximise the return on your
server hardware investment. You can build database servers and
applications today that will be able to scale onto fewer physical
servers now or in the future without the constraint of one box = one db
server. Moore's law says that processor power doubles every 18 months
so if you run 20 server boxes today you may find you only need 10 or 15
to do the same work in two or three years time.
What is prefered and why?
Two applications have it's own tables.
Appplication A have a set of tables.
Appplication B have a set of tables but also use tables from A
Should it run on different databases (DbA and DbB) and instance?
Or is it ok to let them use the same database (DbAB) ?


It depends but here are some things to think about. The first practical
considerations are the needs of the data model (foreign keys can't
reference across databases for example) and the administrative
requirements. For example if you have distinct data sets that require
quite different backup or security regimes or different levels of
availability then those may be good reasons to put them in different
databases.

Beyond those considerations, separate databases by application or
business area or owner. Try to minimise dependencies between different
business units - the Sales department may not be happy if their
database has to go through a new release every time a new Marketing
application rolls out. On the other hand don't duplicate data
unnecessarily and do put some integration process in place to ensure
that common data can be shared where it does have to be duplicated.

These are all just suggestions. Your IT policies, organization and even
your company culture may determine what weight you give to any of these
factors.

Hope this helps.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/m...S,SQL.90).aspx
--

Jan 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jagdip Singh | last post by:
Hi all, I uninstalled db2 without dropping old instance. I have one database which i want to access again through new db2 i installed. I opted for fresh db2 directory while installing instead...
3
by: Raquel | last post by:
I am confused between Authentication at Instance Vs Authentication at Database. Instance authentication is specified at Instance creation time (db2icrt) and is stored in db mgr. cfg. file while...
6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
0
by: Alex | last post by:
Hi all, I've been running a db2 V8.1 databasle to store my radius server accounting info for a *long* time and have never had any problems with it. Last week we had a power outage in our...
0
by: Zahni | last post by:
Win 2003 Enterprise, 14 GB RAM, /3GB and /PAE DB2_AWE=1,330000,40000 Simple test: wrote two batches: :10 db2 activate database ga db2 deactivate database ga goto 10
3
by: deegs_ca | last post by:
Here is my jdbc info url = jdbc:db2://LXPP04913:60000/TEST driver = COM.ibm.db2.jdbc.net.DB2Driver For some reason as I'm importing data via a jdbc client Db2 gets through a few rows and then...
6
by: ramana.gh | last post by:
Hi I am an Oracle DBA and now trying to get hands-on "DB2" databases. I have small query...could anyone pls clarify???... ************************ In DB2 I have an instance with 5 databases in...
5
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
2
by: Scott Jones | last post by:
Hello, In an attempt to save disk space, I went in and gzipped all of the log files for my database running DB2 version 7.2 . This resulted in the database being marked bad because a log file...
15
by: Andrew Meador | last post by:
I am working on an application that will store data in SQL Server 2005 Express. The database will reside on our server at the office. I need to write an application that can work with this data off...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.