Oracle Database Installation
Oracle Database Installation
Administration
1. Oracle Multitenant Container Database
• The multitenant architecture enables an Oracle database to function
as a multitenant container database (CDB).
• The CDB root is a collection of schemas, schema objects, and non-schema objects to which all PDBs
belong.
• The root stores Oracle-supplied metadata and common users.
• An example of metadata is the source code for Oracle-supplied PL/SQL packages.
• A common user is a database user known in every container.
• The root container is named CDB$ROOT.
• Example: CDB with No Application
Containers PDB$SEED.
https://www.oracle.com/database/technologies/oracle19c-windows-downloads.html
In this guide, we will focus on the Oracle Database 19c (19.3) for Microsoft Windows x64 (64-bit) package.
If you want to access your future Oracle database remotely, you can also download the Oracle Database
19c Client (19.3) for Microsoft Windows x64 (64-bit)
Or
Oracle Database 19c Client (19.3) for Microsoft Windows (32- bit) according to the architecture of the
client computer.
Launch the
setup wizard
Once the download is complete
• unzip the package then copy
it to the root of your disk;
• rename the folder, choose a
shorter name (eg. db_home);
• then launch the setup.
• When running a database on a single machine, you will eventually reach the limit of the amount of
computing resources you can apply to any queries, and you will obviously reach a maximum amount of data
with which you can efficiently work.
• By horizontally scaling out, you can enable a flexible database design that increases performance in two
key ways:
• With massively parallel processing, you can take advantage of all the compute resources across your
cluster for every query.
• Because the individual shards are smaller than the logical table as a whole, each machine has to scan
fewer rows when responding to a query.
Why Is Sharding Used? (Conti..)
• Horizontal sharding is effective when queries tend to return a subset of rows that
are often grouped together. For example, queries that filter data based on short
date ranges are ideal for horizontal sharding since the date range will necessarily
limit querying to only a subset of the servers.
With a sharded database, only the portions of the application that relied
on the missing chunks of data are unusable.
• An instance, or database instance, is the combination of memory and processes that are
a part of a running installation and a database is a set of files that store data.
Configuration Assistant
CREATING AN ORACLE DATABASE BY USING DBCA
1. Launch DBCA
You can configure Oracle Database Vault and Oracle Label Security in the next window, or you can click Next to
continue through DBCA without configuring Oracle Database Vault and Oracle Label Security. I’ll skip this in this guide.
Specify configuration options
Memory allocation: The Memory
tab enables you to control how
the database manages its
memory. You can either use:
•Automatic Shared Memory
Management if you want to
allocate specific amounts of
memory to the SGA and
aggregate PGA to your database
instance;
•Manual Shared Memory
Management if you want to
allocate specific memory amount
for each SGA component and the
aggregate PGA;
•Automatic Memory
Management if you want Oracle
to automatically tune the
memory components of the SGA,
and allocates memory to
individual PGAs as needed.
Block size and processes: this tab
allows you to set the database
data block size and the maximum
number of user processes that
can simultaneously connect to the
database.
Select “Add sample schemas to the database” if you want to use them later.
Specify management options
Enterprise Manager provides
Web-based management tools
for Oracle databases.
Congratulations! You have successfully created your Oracle 19c database with DBCA.
Before closing the window, make sure you copy the “Enterprise Manager Database Express URL”.
Test the database