Home » RDBMS Server » Server Administration » running scripts for multiple instances
running scripts for multiple instances [message #59048] Sat, 25 October 2003 15:45 Go to next message
bechir
Messages: 23
Registered: November 2001
Junior Member
Hi,
I'm installing Oracle9i on red hat9. I need to create 4 instances (dev,test,qa and prod). Do I need to run catalog.sql and catproc.sql scripts for each instance?
Re: running scripts for multiple instances [message #59049 is a reply to message #59048] Sat, 25 October 2003 16:44 Go to previous messageGo to next message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
Yes. BTW, are you creating all those instances on the same server !! ? You could also use the database config assistant to create those databases..

-Thiru
Re: running scripts for multiple instances [message #59052 is a reply to message #59049] Sat, 25 October 2003 19:20 Go to previous messageGo to next message
bechir
Messages: 23
Registered: November 2001
Junior Member
Thanks.
No, I'm creating dev,test and qa on one server and prod on a separate second server.
How about the prpbld.sql script, do I need to run it separately for each instance?

Bechir
Re: running scripts for multiple instances [message #59059 is a reply to message #59052] Sun, 26 October 2003 09:30 Go to previous messageGo to next message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
you mean pupbld.sql ? Yes,as system user.
Re: MAXINSTANCES variable for multiple instances [message #59060 is a reply to message #59059] Sun, 26 October 2003 09:53 Go to previous messageGo to next message
bechir
Messages: 23
Registered: November 2001
Junior Member
Thiru,
thanks for your answers.
should I set the MAXINSTANCES variable value in the CREATE DATABASE statement for dev,test and qa to 3? This because dev, test and qa databases/instances will be on the same server and they will be open at the same time.

Bechir
Re: MAXINSTANCES variable for multiple instances [message #59061 is a reply to message #59060] Sun, 26 October 2003 11:02 Go to previous messageGo to next message
Thiru
Messages: 1089
Registered: May 2002
Senior Member
Bechir,
MAXINSTANCES determines the maximum numner of Instances that can mount and open THAT PARTICULAR DATABASE. This is applicable in Parallel Server/RAC environment,where multiple instances can operate on a single database.

The default value is OS dependent. If you dont think that you will ever have RAC in your environment,you can leave it to the default(it can still support multiple instances when the default > 1) . If you are thinking of moving to RAC later, then set this value to the maximum number of instances that will access this database.

Its not a function of the number of databases on a single server.

-Thiru
Re: thank you [message #59062 is a reply to message #59061] Sun, 26 October 2003 11:43 Go to previous message
bechir
Messages: 23
Registered: November 2001
Junior Member
Thiru,
thank you for your clear answer.

Bechir
Previous Topic: Optimizer
Next Topic: Urgent. Installation error
Goto Forum:
  


Current Time: Fri Sep 20 08:26:18 CDT 2024