0% found this document useful (0 votes)
52 views

Oracle Database Management Lab-01-S20

This document provides an introduction and overview of the CS204 Database Systems lab. It discusses the Oracle 11g software, client-server architecture, and 2-tier and 3-tier architectures. It also outlines the objectives, scope, useful concepts and resources for the lab. Students will work in teams on a lab project and be evaluated based on their participation, individual efforts, and seriousness during the lab.

Uploaded by

Abdullah Mughal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Oracle Database Management Lab-01-S20

This document provides an introduction and overview of the CS204 Database Systems lab. It discusses the Oracle 11g software, client-server architecture, and 2-tier and 3-tier architectures. It also outlines the objectives, scope, useful concepts and resources for the lab. Students will work in teams on a lab project and be evaluated based on their participation, individual efforts, and seriousness during the lab.

Uploaded by

Abdullah Mughal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

CS204: Database Systems

Lab # 01: Introduction to Lab & DB Architecture

Objective:
1-Oracle Software and CD
2-Client Server Concept
3-Introduction to Oracle, its Architecture & Versions
4-Database lab orientation
5-Sample Database Applications
Scope:
The student should know the following:
 Oracle Installations issues
 Introduction to Oracle and its applications
 Oracle Versions etc.

Useful Concepts :

Oracle Software version 11g Enterprise Edition:


Available on Datum network for Vista & Win.7, Win 10. Oracle for MAC OS is not available.
Datum Access:
1) Press Win+R
2) Enter \\172.16.100.104
3) Username : nuisb\i181234
4) Password : Your Wifi’s password

Oracle 11g Enterprise Edition available Setup:


Database 11g R2
(\\172.16.100.104\Software\Development Tools\Database Applications\Oracle)
OR
Oracle11g -11.2.0.1.0-win32.ISO
(\\172.16.100.104\Software\Development Tools\Database Applications\Oracle\Oracle Database 11g
Release 2 )
OR
Oracle11g -11.2.0.1.0-win32-win64.ISO
(\\172.16.100.104\Software\Development Tools\Database Applications\Oracle )

Installation Guide (Installation of Oracle 11g EE DB):


(\\172.16.100.104\Software\Development Tools\Database Applications\Oracle)
https://oracle-base.com/articles/11g/articles-11g

Installation:

1) Create a file to save the Oracle Base (step 8), SID (step 10), and password (step 15).

2) In case of TNS: No listening error.


I. Press Win+R
II. Enter “services.msc”
III. Start/Restart oracle services.

Ejaz Ahmed 1
Client-Server Architecture
Client–server refers to the way in which software components interact to form a system. There is a client
process, which requires some resource, and a server, which provides the resource. There is no requirement
that the client and server must reside on the same machine. In practice, it is quite common to place a server at
one site in a local area network and the clients at the other sites.

Client Server
 Manages the user interface  Accepts and processes database requests from
 Accepts and checks syntax of user input clients
 Processes application logic  Checks authorization
 Generates database requests and  Ensures integrity constraints not violated
transmits to server  Performs query/update processing and transmits
 Passes response back to user response to client
 Maintains system catalog
 Provides concurrent database access

Client-Server Architecture (2-Tier)

The client (tier 1) is primarily responsible for the presentation of data to the user, and the server (tier 2) is
primarily responsible for supplying data services to the client. Typically, the client would run on end-user
desktops/mobiles and interact with a centralized database server over a network.

Client-Server Architecture (3-Tier)


In 2-tier Architecture client’s computer required considerable resources to run effectively. This includes disk space,
RAM, and CPU power. So a new architecture was proposed with three layers, each potentially running on a different
platform:

(1) The user interface layer, which runs on the end-user’s computer (the client).
(2) The business logic and data processing layer. This middle tier runs on a server and is often called the application
server.

Ejaz Ahmed 2
(3) A DBMS, which stores the data required by the middle tier. This tier may run on a separate server called the
database server.

Ejaz Ahmed 3
Ejaz Ahmed 4
DB1: Gender is M or F

DB2: Gender is 1 or 0

Ejaz Ahmed 5
Ejaz Ahmed 6
Lab Project:

TEAM WORK

Ejaz Ahmed 7
Discussion:
None

Authorization Issues
Make sure that you have the following accounts with proper permissions.
1. Windows account to access the lab machines with enough disk space. Whom to contact in times of need
2. Oracle database account. (the instructor will be giving you these accounts)
3. Web server access.
4. Webcourses account at http://webcourses.kfupm.edu.sa
Useful Resources
1. http://webcourses.kfupm.edu.sa
2. For software and reference manuals
a. \\ccse-software
b. http://soft.kfupm.edu.sa
3. www.oracle.com
4. http://technet.oracle.com
5. http://asktom.oracle.com
6. http://oai.ccse.kfupm.edu.sa
7. http://sqlzoo.net

Exercises:
None

Evaluation:
Your Lab Work grade will depend on your active participation, individual efforts in solving Lab
Problem and Seriousness during the lab.

Ejaz Ahmed 8

You might also like