Ask the Expert

Can I have a single Oracle 11g RAC instance across multiple databases?

Can I run multiple Oracle databases in a single instance of Oracle 11g RAC?

    Requires Free Membership to View

In Oracle, the "database" is the collection of datafiles, control files and online redo logs.

In Oracle, the instance is the collection of memory structures and processes running on the server.

The database persists when the server is shut down. The instance terminates when the server is shut down. The instance provides the gateway to the database. You cannot access the database while the instance is down.

Normally, there is a one-to-one relationship between the instance and the database. If you have Real Application Clusters (RAC), then you can start multiple instances accessing a single database. This lets you start Oracle on multiple servers, but all accessing the same data.

It does not make much sense to have one Oracle 11g RAC instance access multiple databases. How is Oracle to know which database a modified table belongs to?

Other database systems like mySQL and SQL Server have a concept of multiple databases. In those systems, their term of "database" does not match Oracle's term. The closest Oracle has to a SQL Server database is the "schema". In Oracle it is definitely possible to create multiple schemas in the same database, all accessible in the same instance. And you do not need RAC to do that.

This was first published in October 2009

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: