introduction to database cs320 is320 cs370 lab #1 · introduction to database cs320 –is320...

24
Prepared by : T.A Faten Al Jaloud Introduction to Database CS320 IS320 CS370 Lab #1

Upload: others

Post on 22-Jul-2020

36 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Prepared by :

T.A Faten Al Jaloud

Introduction to Database

CS320 – IS320 – CS370

Lab #1

Page 2: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Agenda

What is DBMS ?

History of DBMS

Introducing SQL and its relation to DBMS

Comparison of DBMS

Oracle products and Oracle Express

Installation of Oracle XE

Page 3: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Database Management System

(DBMS)

A database management system, or DBMS, is software

designed to assist in maintaining and utilizing large

collections of data.

Page 4: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

History

The first general-purpose DBMS was in the early

1960s, was called the Integrated Data Store.

In the 70s, Relational Database management systems

(RDBMS) were introduce.

Page 5: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

DBMS & SQL

SQL is a database computer language designed for managing

data in relational database management systems (RDBMS)

Page 6: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Structured Query Language (SQL)

SQL. Originally developed as the query language of

IBM's original relational database product System-

R

SQL has become the most widely used language for

creating, manipulating, and querying relational DBMS.

Page 7: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Standardization of SQL

1986 SQL-86 First formalized by ANSI.

2008 SQL:2008 Last modification.

Standardization defines an official SQL. That allows users to

measure a given vendor's version of SQL for completeness. It

also allows users to distinguish SQL features specific to one

product from those that are standard

An application that relies on nonstandard features is less

portable.

Page 8: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Availability in Market

In 1979, Relational Software, Inc. (now Oracle Corporation)

introduced the first commercially available implementation

of SQL, Oracle V2 (Version2) for VAX computers. Oracle V2

beat IBM's release of the System/38 RDBMS to market by a

few weeks.

Page 9: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

RDBMS Comparison

DBMS Maintainer First release date Software license

Microsoft Access Microsoft 1992 Proprietary

Microsoft SQL

Server

Microsoft 1989 Proprietary

MySQL Sun Microsystems

(now Oracle)

1995 GPL or Proprietary

Oracle Oracle Corporation 1979 Proprietary

Page 10: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Operating system support

Windows Mac OS X Linux Unix Symbian

Microsoft Access

Microsoft SQL Server

MySQL

Oracle

Page 11: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

DBMS GUI Max DB size Procedure

and

triggers

Query

support

Max column per

row

Microsoft Access 2 GB Not all 255

Microsoft SQL Server 524,258 TB All in 2005

and beyond

30000

MySQL Unlimited Not all 4096

Oracle Unlimited 1000

Page 12: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Oracle Express Edition

We use oracle XE for the following reasons:

free to develop, deploy, and distribute .

fast to download.

Download Oracle XE from oracle website www.oracle.com

We are going to adopt Oracle Database 10g Express Edition

Page 13: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Install of Oracle Express

Double click on the executable file – setup- of oracle XE .

Page 14: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 1/9

Launching of the setup

Page 15: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 2/9

Next

Page 16: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 3/9

Accept the agreement

Page 17: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 4/9

Destination folder and space information

Page 18: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 5/9

Port number

Page 19: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 6/9

Password specification

Page 20: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 7/9

Summary of installation

Page 21: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 8/9

Progress

Page 22: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Step 9/9

Finish of installation

Page 23: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Finally, you can open oracle express as shown

Page 24: Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320 –CS370 Lab #1. Agenda What is DBMS ? History of DBMS Introducing SQL and its relation

Any questions about oracle installation will be not allowed

after 10/11/2010