Uploaded by Shariff Oluoch Odiwuor

DBA ASSIGNMENT

advertisement
a).What is the Oracle Database 11g Express edition default folder during installation and can this
be changed?
During the installation of Oracle Database 11g Express Edition (Oracle XE), the default folder location
for the database files is determined by the operating system.
On Windows, the default folder is typically:
C:\oraclexe\app\oracle\oradata\XE
b). The default passwords for the users SYS and SYSTEM in Oracle Database 11g Express Edition
(Oracle XE) are as follows:
SYS user:
Username: SYS
Password: Change_On_Install
SYSTEM user:
Username: SYSTEM
Password: manager
c.) The required disk space for Oracle Database 11g Express Edition (Oracle XE) can vary
depending on the operating system and the specific components you choose to install. However, the
general guideline for disk space requirements is as follows:
Minimum disk space requirement: 1.5 GB
d).What is the meaning of the terms ‘Oracle Home’ and ‘Oracle Base’? What are default directories in
express edition installation?
Oracle Home: The Oracle Home directory is the top-level directory where the Oracle software is installed.
It contains the binaries, libraries, executables, and configuration files necessary to run Oracle Database.
The Oracle Home directory is often referenced by environment variables and is specific to a particular
Oracle software version or release.
Oracle Base: The Oracle Base directory is a higher-level directory that serves as a common parent
directory for multiple Oracle software installations. It provides a centralized location for storing Oraclerelated files, such as Oracle configuration files, diagnostic logs, and administrative scripts. Oracle Base
can be considered as a base directory for managing Oracle software installations.
In the case of Oracle Database 11g Express Edition (Oracle XE), the default directories during installation
are as follows:
Oracle Home: The Oracle Home directory is typically located at:
Windows: C:\oraclexe\app\oracle\product\11.2.0\server
Linux: /u01/app/oracle/product/11.2.0/xe
Oracle Base: The Oracle Base directory is typically located at:
Windows: C:\oraclexe\app\oracle
Linux: /u01/app/oracle
e). List names and port numbers of three (3) important services during express edition installation?
During the installation of Oracle Database 11g Express Edition (Oracle XE), several important services
are set up to facilitate the functioning of the database. Here are three important services along with their
default port numbers:
Oracle Database Listener:
Service Name: LISTENER
Port Number: 1521
The Oracle Database Listener is responsible for establishing and maintaining network connections with
client applications. It listens on port 1521 by default for incoming connections.
Oracle Enterprise Manager Database Express:
Service Name: EM Express
Port Number: 5500
Oracle Enterprise Manager Database Express is a web-based management interface for administering the
Oracle Database. It provides a graphical user interface for database administration tasks. The EM Express
service is accessed through a web browser and typically runs on port 5500.
Oracle Application Express (APEX):
Service Name: APEX
Port Number: 8080
Oracle Application Express (APEX) is a low-code development platform for building web applications on
top of the Oracle Database. It allows developers to create and deploy web-based applications quickly and
easily. The APEX service is accessed through a web browser and typically runs on port 8080.
d). Provide the four (4) limitations subjected to the use of the oracle 11g database express edition
Maximum Database Size: Oracle XE has a maximum database size limit of 11 GB of user data. This limit
includes both user data and system data. If the size of the database exceeds this limit, you will need to
upgrade to a higher edition of Oracle Database.
Limited CPU and Memory Resources: Oracle XE is designed to run on systems with limited CPU and
memory resources. It can use up to 1 GB of RAM and one CPU socket, with a maximum of two CPU
threads. This limitation is in place to ensure that Oracle XE is suitable for small-scale applications and
development environments.
Restricted to Single Instance: Oracle XE only supports a single database instance on a given server. It
does not have the capability to run Oracle Real Application Clusters (RAC) or create multiple instances
on the same machine. If you require advanced features like RAC, you will need to upgrade to a higher
edition.
Limited Availability of Oracle Database Options: Oracle XE does not include certain advanced options
and features that are available in the Enterprise Edition. These options may include features such as
Oracle Data Guard, Oracle Spatial, Oracle Advanced Security, and others. If your application requires
these options, you will need to consider upgrading to a higher edition.
e). List the database name, ID, License and version
Database Versions:
Oracle Oracle Database 11g
Oracle Database 12c
Oracle Database 18c
Oracle Database 19c
Oracle Database 21c (latest version as of my knowledge cutoff in September 2021)
Oracle Database Licenses:
Oracle Enterprise Edition: This is the full-featured version of Oracle Database, offering comprehensive
functionality and advanced features. It requires a paid license.
Oracle Standard Edition: This is a more limited version of Oracle Database, providing a subset of the
Enterprise Edition features. It also requires a paid license but at a lower cost compared to the Enterprise
Edition.
Oracle Express Edition (XE): This is a free, limited version of Oracle Database, designed for small-scale
applications, development, and educational purposes. It has certain limitations, as mentioned earlier.
g) List any ten (10) Privileges that can be assigned to a user in a database (5 Marks)
SELECT: Allows the user to retrieve data from tables or views.
INSERT: Permits the user to insert new rows into tables.
UPDATE: Enables the user to modify existing data in tables.
DELETE: Allows the user to remove rows from tables.
CREATE: Permits the user to create new database objects such as tables, views, or procedures.
ALTER: Enables the user to modify the structure of existing database objects.
DROP: Allows the user to remove database objects.
GRANT: Permits the user to grant privileges to other users or roles.
EXECUTE: Enables the user to execute stored procedures or functions.
REFERENCES: Allows the user to create foreign key constraints and referential integrity.
Download