15
1 Simple Database

1 Simple Database. 2 Objectives Identify Type of databases (based on relationship of the data) Remember Database models (based on management software)

Embed Size (px)

Citation preview

1

Simple Database

2

Objectives

Identify Type of databases (based on relationship of the data)

Remember Database models (based on management software)

How to access the database (SQL)

3

Types of Databases (data relationship)

HierarchicalRelationalObject-oriented

4

Hierarchical Databases

5

Relational Database

Holds data in a group of tables that can be related to one another by columns they have in common

Column headings are called field names Rows are called records, which are made up

of individual fields Each row of data can be identified uniquely

by the content of one or more fields (primary key)

Result of a database search is called a query

6

7

Object-Oriented Database

Holds objects such as BLOB (Binary Large Object) data types that hold video clips, graphics, photographs, and other large binary data

8

Database models (based on management software) File server Client/Server Database

Model Internet Client/Server

Database Model

9

File Server Model

10

Client/Server Database Model Some database management

software is on the client, some is on the server that contains the database

2-tier model (client and server) Used in most Internet applications

today

11

Client/Server Database Model

12

Internet Client/Server Database Model Differs from traditional client/server model:

Neither client nor server portions of database software are on the PC of the Internet user

The browser on the user’s PC accesses a database via the client/server model (client is on the web site and server has direct access to the database)

3-tier model (browser, client, server) Advantage

Client PC does not need to contain database management software

13

Internet Client/Server Database Model

14

Use SQL (Structured Query Language) to Access Data The standard for the command set

used to interface with most databases Database engine

Applications software that provides a user with an interface to the DBMS

Database server Computer that contains the database and

the DBMS

15

Summary

Type of databases (based on relationship of the data)

Database models (based on management software)

How to access the database (SQL)