Home » RDBMS Server » Server Administration » New instance or new user ...
New instance or new user ... [message #119133] Tue, 10 May 2005 14:53 Go to next message
BenL2
Messages: 3
Registered: May 2005
Junior Member
I have to install two environments on a linux server and I need two oracle user (name : user1 and user2).
Those 2 users have nothing in share, all object, tables from user1 belong to user1 and to nobody else. Idem for user2.

My question is :

In a normal way, it would be better to create two oracle instance but in case of performance, isn't it better to create a new user ? I suppose that creating a new user in the same scheme will be better but how can I appreciate this difference ?

Thanks
Re: New instance or new user ... [message #119141 is a reply to message #119133] Tue, 10 May 2005 15:20 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
You can have the one database and two different schema's ( users).
you share and save a lot of system resoures by this and easy to manage.
Re: New instance or new user ... [message #119178 is a reply to message #119141] Wed, 11 May 2005 01:01 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
HI

Also, u can allocate separate tablespaces for both these users. If possible do place the datafiles for these respective users on separate disks in order to minimize disk I/O contention for these users.

Regds
Girish
Re: New instance or new user ... [message #119258 is a reply to message #119133] Wed, 11 May 2005 08:53 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
I agree that in a general since you should create two users in one database.

But, can you elaborate more on why you were thinking two databases to begin with? You must have had some thought/reason particular to your situation?

And what do you mean by "create a new user in the same scheme"? Are the tables etc going to be identical for each? If so, you may well want only one "owner user" and then have various "end users".
Re: New instance or new user ... [message #119262 is a reply to message #119178] Wed, 11 May 2005 09:00 Go to previous messageGo to next message
BenL2
Messages: 3
Registered: May 2005
Junior Member
I have difficulties to appreciate the difference between those different way of working. I suppose that installing two instance will necessitate more storage on the system (catalogue, ...) but in a way of execution speed, I have difficulties to understand ... Will we see differences using those different possibilities ?

Thanks a lot.
Re: New instance or new user ... [message #119266 is a reply to message #119133] Wed, 11 May 2005 09:14 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
And I'm assuming by instance you really mean database.

But I think you need to read more in the oracle concepts guide and provide some more detailed information about your situation and more specific questions about it for us to be able to provide much further help.

The other responders pretty much said it, how would having two databases, and all of the overhead and management that they entail, be better than one database? What is your concern with that approach?
Re: New instance or new user ... [message #119268 is a reply to message #119262] Wed, 11 May 2005 09:17 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
If there many instances/databases in a single machine,
all of these instances needs SGA to be allocated from a single memory.
You need additional resources for all background oracle processes.
Disk usage is the least we should worry about.

Unless you need to have a different environemnt (like a prod and dev databases), you can have both users in same database.
Re: New instance or new user ... [message #119279 is a reply to message #119266] Wed, 11 May 2005 10:26 Go to previous message
BenL2
Messages: 3
Registered: May 2005
Junior Member
By instance I want to say database.

The situation is the one :

We have an environment of delivery (original software) and an environment of programming (adaptation of the software for a specific project).

We usually create a database for delivery and one for programming. This database can be dismount easily without perturbing the programming database (same for the backup procedure). It's possible that those two environment are situated in different server ... so it's better and cleaner to separate everything. But for a specific project, we have to install those two environments on the same server (that's a constraints). This one isn't so powerful and so we can't waste performances ...

Thanks for your answer.
Previous Topic: Migration steps 8.1.7 to 9.2.0.4?
Next Topic: Comparison in Long Field
Goto Forum:
  


Current Time: Fri Jan 10 04:48:50 CST 2025