473,500 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Instance question


"Larry Lowe" <ll*****@usa.netwrote in message
news:ad*************************@posting.google.co m...
I have a question about weather it is better to have multiple
instances on a system or multiple users in the database? Say we have
a development, testing and training copies of the schema. Is it
better to have 3 instances or one instance and 3 users?

Thanks
Larry
Hi Larry. Some responses [which we will ignore] aren't very helpful. I'll
try to do a little better.

The first point to note is that each Oracle instance requires a reasonable
amount of system resouces as usually a considerable amount of memory is
allocated to the instance and on UNIX there is typically half a dozen
background processes hanging around just waiting to do your bidding. For
this reason you would normally expect to keep the number of instances to a
minimum.

The second point to note is that each extra instance is going to increase
the administration work load for the DBA and system admionistrators. We are
not just talking about a directory or folder. Each instance must be
started, backed up and checked to ensure all is well. The more instances
you have the more work you have. For this reason also, you would normally
expect to keep the number of instances to a minimum.

With that said one has to address the issues of isolating developers from
the production and acceptance databases [I'm using database interchangeably
with instance]. This tends to demand separate databases for these at least.
So what you have left is a desire to keep the number of databases (and thus
instances) to a minimum and most likely a requirement to support a number of
different environments. Typically it is desirable to isolate some
developers from other developers. Depending on the way the database side of
your applications are put together it may be quite simple to have multiple
copies of the app installed in a single database. If your app is contained
in a single schema and does not reference much outside it then this is
likely to be the case. On the other hand, if your app is spread across half
a dozen schemas and references all sorts of external things then you are
going to have to work a lot harder to support multiple implementations of
your app in the one database. Unfortunately, Oracle does not support any
concept of specifying a catalog. Oracle supports a single global catalog
and all schema names must be unique within this catalog. What this means is
that if you have DDL scripts to create your applications schemas and your
schemas reference objects in other schemas you will end up having to use a
combination of [hopefully private] synonyms and a liberal sprinkling of
lexical substitution variables in your DDL scripts. These lexical
substitution variables [using the SQL*Plus terminology] allow you to specify
the schema names when you build your schemas.

If you are familiar whith Oracle schemas then this should be pretty evident.
If not, then you have a lot of reading to do. If you can contain your
application to a single schema, things will be pretty straight forward.

As a final thought, I've seen some people recommending that each developer
have their own personal database [typically on the own workstation]. This
does avoid most of the issues above except for these two:

1. Every developer has to become a kind of mini DBA. I'm not sure what I
think about this concept. I'm sure many people all have different opinions
on this one. Ultimately, its success would depend on the level of expertise
of your developers.

2. It most likely exacerbates the administration problem mentioned in point
two above. Do your maths, If you have 15 developers each with their own
Oracle database and you want to apply the latest upgrade....
I hope this is some help.

Cheers
Jun 27 '08 #1
0 1135

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

Similar topics

30
3426
by: Joost Ronkes Agerbeek | last post by:
Why is it allowed in C++ to call a static member function of an object through an instance of that object? Is it just convenience? tia, Joost Ronkes Agerbeek
0
1942
by: cat | last post by:
HiFolks, I am newbie in DB2 ESE. Here is the question, I already created an instance db2inst1 under file system /db2home/db2inst1 ( actually the instance has been created after installation.)...
5
3619
by: allison | last post by:
Can someone point me to a guide on when to use static methods versus instance methods in a class? For instance, is it bad design to have a static method that creates an instance of another class? ...
6
4633
by: Dmitry Karneyev | last post by:
Hi! I guess this question have been asked a lot of times, but please be tolerant and if you have any ideas share it. The question is: how to make availibale only one instance of application and...
20
27726
by: Shawnk | last post by:
I would like to get the class INSTANCE name (not type name) of an 'object'. I can get the object (l_obj_ref.GetType()) and then get the (l_obj_typ.Name) for the class name. I there any way of...
4
1530
by: Tony Johansson | last post by:
Hello! I have a class definition called MyClass see below. I create an instance of this class MyClass I also want this instance to be able to modify the test instance that exist in this...
9
1623
by: manstey | last post by:
Hi, My question probably reflects my misunderstanding of python objects, but I would still like to know the answer. The question is, is it possible for an instnace to have a value (say a...
12
1365
by: Analizer1 | last post by:
Hi.... when i use the new keyword myobject obj1 = new myobject() myobject obj2 = new myobject() myobject obj3 = new myobject() does each of the object have a complete instance of myobject,...
5
1883
by: Andy B | last post by:
I am trying to figure out how to make an object instance available for all methods of a class. I tried to do something like this: public class test { TheObject Instance = new TheObject();...
19
1909
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
I'm doing my c# more and more like i used to code c++, meaning i'm casting more often than creating an instance of objects. like : protected void gvOrderDetailsRowDataBound(object sender,...
0
7182
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
7232
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...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7397
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...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.