Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320...
Transcript of Introduction to Database CS320 IS320 CS370 Lab #1 · Introduction to Database CS320 –IS320...
![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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/19.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022042606/5f651317ada1886a145388da/html5/thumbnails/24.jpg)
Any questions about oracle installation will be not allowed
after 10/11/2010