+ All Categories
Home > Technology > 154090896 installation-of-oracle-database-12c

154090896 installation-of-oracle-database-12c

Date post: 05-Dec-2014
Category:
Upload: venkatesh-krishnamoorthy
View: 252 times
Download: 0 times
Share this document with a friend
Description:
 
50
Installation of Oracle Database 12 c Enterprise/Standard Editions Release1: This document describes the installation of Oracle Database 12c Enterprise/Standard edition Release 1 on Windows 7 using VMware Workstation. Introduction: Oracle Database 12c, the latest generation of the world’s most popular database, has been developed for the Cloud and will enable customers to make more efficient use of their IT resources while continuing to improve their users’ service levels. In addition to a raft of enhancements and new features, including a new architecture, Oracle Database 12c makes it easier for customers to take advantage of the Cloud through: Consolidating multiple databases with Oracle Multitenant Automatically optimizing data storage and compression according to usage patterns Providing continuous access with Oracle’s Maximum Availability Architecture Securing enterprise data with comprehensive defense-in-depth strategy Simplifying in-database analysis of Big Data Efficient database management using Enterprise Manager Cloud Control Enabling Database Clouds : Oracle releases have helped customers standardize, consolidate and automate database services on the cloud with a variety of innovations including: Oracle Real Application Clusters Oracle Automatic Storage Management Oracle Exadata Database Machine New features included in Oracle 12c : 1. Pluggable Databases - Pluggable database are a neat feature. Basically, you create a
Transcript
Page 1: 154090896 installation-of-oracle-database-12c

Installation of Oracle Database 12 c Enterprise/Standard Editions Release1:

This document describes the installation of Oracle Database 12c Enterprise/Standard edition

Release 1 on Windows 7 using VMware Workstation.

Introduction:Oracle Database 12c, the latest generation of the world’s most popular database, has been

developed for the Cloud and will enable customers to make more efficient use of their IT

resources while continuing to improve their users’ service levels. In addition to a raft of

enhancements and new features, including a new architecture, Oracle Database 12c makes it

easier for customers to take advantage of the Cloud through:

Consolidating multiple databases with Oracle MultitenantAutomatically optimizing data storage and compression according to usage patternsProviding continuous access with Oracle’s Maximum Availability ArchitectureSecuring enterprise data with comprehensive defense-in-depth strategySimplifying in-database analysis of Big DataEfficient database management using Enterprise Manager Cloud Control

Enabling Database Clouds :Oracle releases have helped customers standardize, consolidate and automate database

services on the cloud with a variety of innovations including:

• Oracle Real Application Clusters

• Oracle Automatic Storage Management

• Oracle Exadata Database Machine

New features included in Oracle 12c :1. Pluggable Databases - Pluggable database are a neat feature. Basically, you create a

Page 2: 154090896 installation-of-oracle-database-12c

container database (CDB) that contains all of the oracle level data and data dictionary.

You then create pluggable databases (PDB) that contain user data and the user portion of

the data dictionary. Since the PDB files contain everything about the user data, you can

unplug a PDB from a CDB and plug it into a different CDB and be up in seconds. All that

needs to happen is a quick data dictionary update in the CDB.

2. Duplicate Indexes - Create duplicate indexes on the same set of columns. In 11.2 and

below, if you try to create an index using the same columns, in the same order, as an

existing index, you get an error. In some cases, you might want two different types of

index on the same data (such as in a data warehouse where you might want a bitmap index

on the leading edge of a set of columns that exists in a btree index).

3. Implicit Result Sets - create a procedure, open a ref cursor and return the results. No

types, not muss, no mess. Streamlined data access (kind of a catch up to other databases).

4. PL/SQL Unit Security - A role can now be granted to a code unit. That means you can

determine at a very fine grain, who can access a specific unit of code.

5. MapReduce in the Database - MapReduce can be run from PL/SQL directly in the

database. I don't have much more info than that.

6. Interval-Ref Partitions - Can now create a ref partition (to relate several tables with the

same partitions) as a sub-partition to the interval type. Ease of use feature.

7. SQL WITH Clause Enhancement - I want to see some examples of this one. In 12c, you

can declare PL/SQL functions in the WITH Clause of a select statement.

8. Catch up with MySQL - Some catch up features: INDENTITY columns (auto-sequence

on a PK), can now use a sequence as a DEFAULT column value.

9. 32k VARCHAR2 Support - Yes, 32k varchar2 in the database. Stored like a CLOB.

10. Yeah - Booleans in SQL (sort of) - You can use booleans values in dynamic PL/SQL. Still no booleans as database types.

Pre requirements for installation of Oracle Database 12c Enterprise/Standard Editions Release1 on Windows7:

Page 3: 154090896 installation-of-oracle-database-12c

Double click the Setup

Click “YES”

Page 4: 154090896 installation-of-oracle-database-12c

Uncheck the check-box and click Next

Page 5: 154090896 installation-of-oracle-database-12c
Page 6: 154090896 installation-of-oracle-database-12c

Alert box will appear with “YES” and “NO” option then click “YES”

Select the radio button named “SKIP SOFTWARE UPDATES” then click Next.

Page 7: 154090896 installation-of-oracle-database-12c

Select the radio button named “create and configure a database” then click Next.

Page 8: 154090896 installation-of-oracle-database-12c

Select the radio button named “Desktop class” then click Next.

Page 9: 154090896 installation-of-oracle-database-12c

Select the radio button named “Use windows Build-in Account” then click Next.

Page 10: 154090896 installation-of-oracle-database-12c

Alert box will appear with options “yes” and “no” , click “YES”

Page 11: 154090896 installation-of-oracle-database-12c

Enter the empty fields named ( Global DB name , Administrative Password )

Page 12: 154090896 installation-of-oracle-database-12c

Then check the checkbox named “create as container database”

Enter the pluggable database name and then click Next.

Page 13: 154090896 installation-of-oracle-database-12c

Then Click Install

Page 14: 154090896 installation-of-oracle-database-12c
Page 15: 154090896 installation-of-oracle-database-12c
Page 16: 154090896 installation-of-oracle-database-12c
Page 17: 154090896 installation-of-oracle-database-12c

After completion of installation process click Close button.

Creating an Oracle 12c Pluggable Database & Container

Page 18: 154090896 installation-of-oracle-database-12c

Database using DBCA:

After installing the Oracle Database 12c software on windows7 machine. Using the DBCA tool

(in advanced mode), I’m going to create a new container database named “cdb” and at the same

time create a pluggable database named “pdb”.

The idea behind this new “pluggable databases” feature in 12c (also known as “multi-tenancy”),

is that you build a single Container Database (CDB), which can contain many (up to 250 of

them!) Pluggable Databases (PDB). These pluggable databases appear like any ordinary pre-12c

database would do to end-users/applications. However, the container database owns the SGA

and background processes, and the pluggable databases are serviced by the container database

resources.

Select the radio button named “Create Database” then click Next.

Page 19: 154090896 installation-of-oracle-database-12c

Select the radio button named “Advanced Mode” then click Next.

Page 20: 154090896 installation-of-oracle-database-12c

Select the radio button named “General Purpose or Transaction Process” then click Next.

Page 21: 154090896 installation-of-oracle-database-12c

Enter the empty fields named ( Global DB name , Administrative Password )

Then check the checkbox named “create as a container database”

Then select the radio button named “create a container DB with or more PDB’s”

Select the number of pluggable databases to connect with the container DB

Enter the pluggable database name and then click Next.

Page 22: 154090896 installation-of-oracle-database-12c

Select the radio button named “configure Enterprise Manager DB express” then click Next.

Page 23: 154090896 installation-of-oracle-database-12c

Select the radio button named “Use the Same Admin Password for all Account” then click Next.

Then Enter the password

Then click Next.

Page 24: 154090896 installation-of-oracle-database-12c

Select the Check box named as LISTENER then click Next button.

Page 25: 154090896 installation-of-oracle-database-12c

Select the radio button named “Use common location for all DB files”

Then select the checkbox named “Specify Fast Recovery Area”

Then select the checkbox named “Enable Archiving”

Then Click Next button.

Page 26: 154090896 installation-of-oracle-database-12c

Uncheck the checkbox named “ Sample schemas” and then click Next.

Page 27: 154090896 installation-of-oracle-database-12c

Select the radio button named “Typical settings and then specify the Memory size (SGA and PGA)

Then select the radio button named “ Use Automatic Memory Management “

Then Click Next.

Page 28: 154090896 installation-of-oracle-database-12c
Page 29: 154090896 installation-of-oracle-database-12c

Then click FINISH button .

Page 30: 154090896 installation-of-oracle-database-12c

Then “DB configuration Assistant” alert box will appear , press ok .

Page 31: 154090896 installation-of-oracle-database-12c

Installation Starts

Page 32: 154090896 installation-of-oracle-database-12c
Page 33: 154090896 installation-of-oracle-database-12c

Again “ DB Configuration Assistant” alert box will appear ,press Exit.

Page 34: 154090896 installation-of-oracle-database-12c

After completion of installation , click Close button.

Page 35: 154090896 installation-of-oracle-database-12c

Adding pluggable DB in container DB named "cdb"

After completion of installation ,click start button from desktop and then select Database Configuration Assistant.

Page 36: 154090896 installation-of-oracle-database-12c

Select the radio button named “Manage Pluggable Database “ then click Next.

Page 37: 154090896 installation-of-oracle-database-12c

Select the radio button named“Create a Pluggable Database “ then click Next.

Page 38: 154090896 installation-of-oracle-database-12c

Select a particular container database in which you going to add a pluggable database then click Next button

Page 39: 154090896 installation-of-oracle-database-12c

Select the radio button named“Create a new Pluggable Database “ then click Next.

Page 40: 154090896 installation-of-oracle-database-12c
Page 41: 154090896 installation-of-oracle-database-12c

Enter the Pluggable database name .

Select the radio button named “Create Default user Tablespace “.

Enter the Administrator username and password for PDB user .

Then click Next.

Page 42: 154090896 installation-of-oracle-database-12c

After creating the pluggable database and message will be displayed as shown below

Then Click Finish

Page 43: 154090896 installation-of-oracle-database-12c

Installation process starts after clicking the finish button

Page 44: 154090896 installation-of-oracle-database-12c

DBCA Alert box message will be appear after creation of pluggable DB

The following pluggable databases are added in container Db named "cdb" :

• PDB

• PDB2

• PDB3

• PDB4

Page 45: 154090896 installation-of-oracle-database-12c

Adding pluggable DB in container DB named "orcl"

The following pluggable databases are added in container Db named orcl" :

• PDBORCL

• ORCL2

• ORCL3

• ORCL4

Viewing the pluggable DB in container DB named "orcl"

Page 46: 154090896 installation-of-oracle-database-12c

Select the radio button named “Manage Pluggable Database “ then click Next.

Page 47: 154090896 installation-of-oracle-database-12c

Select the radio button named “configure a Pluggable Database “ then click Next

Page 48: 154090896 installation-of-oracle-database-12c

Select a particular container database in which you going to view a pluggable database then click Next button

Page 49: 154090896 installation-of-oracle-database-12c

Select the require pluggable DB from the list of created pluggable database list

Page 50: 154090896 installation-of-oracle-database-12c

Recommended