Simple Database
Objectives Identify Type of databases (based on relationship of the data) Remember Database models (based on management software) How to access the database (SQL)
Types of Databases (data relationship) Hierarchical Relational Object-oriented
Hierarchical Databases
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
Object-Oriented Database Holds objects such as BLOB (Binary Large Object) data types that hold video clips, graphics, photographs, and other large binary data
Database models (based on management software) File server Client/Server Database Model Internet Client/Server Database Model
File Server Model
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
Client/Server Database Model
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
Internet Client/Server Database Model
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
Summary Type of databases (based on relationship of the data) Database models (based on management software) How to access the database (SQL)