Databases - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Databases

Description:

Record: a collection of related fields (your name, address, phone number) ... Web address that links to document or Web page. OLE Object ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 24
Provided by: AdamS90
Category:

less

Transcript and Presenter's Notes

Title: Databases


1
Databases
2
Terms
  • DBMS Database management system
  • RDBMS Relational database management system
  • Excel flat-file (single table)
  • Access relational (many tables)
  • Database a collection of related information
  • To retrieve information
  • To analyze information

3
File management vs. database
  • File management system or file manager
  • Retrieves and manipulates files, one file at a
    time
  • Database manager data elements are
    cross-referenced and shared. Data is stored in
    only one place. Change it there, all other files
    access it.

4
File management systems
In the traditional file management system, some
of the same data elements, such as addresses,
were repeated in different files. Information
was not shared among files.
5
Database management system
In the database management system, data elements
are integrated and shared among different files.
Information updated in one file will
automatically be updated in other files.
6
Parts
  • Table the primary object for collecting and
    storing data.
  • Organized into columns and rows
  • Fields (columns) hold a single piece of data
    should break it up into its smallest logical
    parts.
  • Records (rows) individual entries in a table.

7
Data Storage Hierarchy
  • Byte a single character (letter A)
  • Field a unit of data consisting of one or more
    characters (a single piece of data like last name
    or first name.)
  • Record a collection of related fields (your
    name, address, phone number)
  • File a collection of related records
  • Database an organized collection of integrated
    files

8
What is a field?
  • Combination of one or more characters
  • Smallest unit of data user accesses
  • Field size defines the maximum number of
    characters a field can contain
  • Field name uniquely identifies each field
  • Data type specifies kind of data field contains

p. 10.05 Fig. 10-3
9
What are common data types?
  • What are common data types?

10
What is a record?
Group of related fields
  • What is a record?

Key field, or primary key, uniquely identifies
each record
11
Key field
  • A field that uniquely identifies a record so that
    it can be retrieved and processed.
  • Customer or ID
  • Social security
  • Must be unique
  • Called primary key in Access

12
What is a data file?
  • Collection of related records stored on disk

13
(No Transcript)
14
  • What is file maintenance?
  • Procedures that keep data current

15
  • What is a query?

Step 1. Select the fields you want to display in
the resulting query.
  • Request for specific data from a database
  • Query language consists of simple, English-like
    statements that allow users to specify data to
    display, print, or store

Step 2. Assign a name to the query, so you can
open it later.
Step 3. View query on the screen.
16
  • What is a form?
  • Window on screen that provides areas for entering
    or changing data in database
  • Used to retrieve and maintain data in a database
  • Form that sends data across network or Internet
    is called e-form, short for electronic form

17
  • What is a report generator?
  • Allows user to design a report on screen,
    retrieve data into report design, then display or
    print reports
  • Also called report writer

p. 10.18 Fig. 10-16
18
Advantages of a DBMS
  • DBMS Database Management system
  • Reduced data redundancy (data is stored in only
    one place, not repeated in different files.)
  • Improved data integrity (data is accurate,
    consistent and up-to-date) because data is
    updated in only once place

19
Advantages of a DBMS
  • Increased user productivity users can run
    reports and extract information without the help
    of programmers
  • Increased security information can be limited by
    the use of passwords

20
Disadvantages of DBMS
  • Cost Installing and maintaining is expensive
    (training how to use properly is expensive)
  • Security possible for unauthorized individuals
    to get past the safeguards
  • Privacy issues databases may hold information
    that is used for unintended purposes

21
Types of database organization
  • Hierarchical databases
  • Network databases
  • Object-Oriented
  • Relational
  • Connects data in different files (tables) through
    the use of a key field or common data element

22
Guidelines for Design
  • Determine output requirements
  • Determine input requirements
  • Determine table structures
  • Determine each tables primary key or unique
    identifier
  • Determine the table relationships
  • Test your database
  • Avoid data redundancy

23
90/10 Rule
  • Place 90 of you effort in designing a database
    properly in order to spend 10 of your time
    maintaining it.
Write a Comment
User Comments (0)
About PowerShow.com