490 likes | 511 Views
Database. Definition Structure Parts Types. Database. database - organized collection of data that may reside in multiple files database software - stores, organizes and retrieves the data. The Electronic File Cabinet: Database Basics.
E N D
Database • Definition • Structure • Parts • Types Chapter 4c,
Database • database - organized collection of data that may reside in multiple files • database software - stores, organizes and retrieves the data Chapter 4c,
The Electronic File Cabinet: Database Basics Like word processors, spreadsheets, and graphics programs, database programs are applications. Database programs are designed to maintain collections of information stored on computer disks. Chapter 4c, 8.04
The Electronic File Cabinet: Database Basics • What Good Is a Database? • What’s a Good Database System? • Database Anatomy • Database Operations Chapter 4c, 8.04
What Good Is a Database? Databases make it easier to: • store large quantities of information. • retrieve information quickly and flexibly. • organize and reorganize information. • print and distribute information in a variety of ways. Chapter 4c, 8.05
What’s a Good Database System?(Properties) • data integrity- the validity of the data • data independence - the way an application program displays the data does not have to be the same way the data is physically stored Chapter 4c,
What’s a Good Database System?(Properties) • data redundancy - repetition of data • data security - access to data (sensitive) or protection against loss • data maintenance - ease of adding, deleting and updating records Chapter 4c,
Bell, Pat 123 Eagle Cr. Anytown, OR 123 Eagle Cr. Database Anatomy: An Electronic File Cabinet made up of files, which are… Databases are … made up of records, which are… made up of fields. Chapter 4c, 8.06
Database Terms Field Record File Key Field Objects Relationship Chapter 4c,
Database Terms Examples: First name middle initial phone no. catalog no. One unit or piece of data; the more precise each field is, the more efficient the database management is when you start searching and manipulating data Field Chapter 4c,
Database Terms Examples: a driver’s license, all the info about each catalog item A collection of all related fields about one person, place or thing Record Chapter 4c,
Database Terms Examples: All drivers licenses for a state, all items in a catalog A collection of records related to the same topic File Chapter 4c,
Database Terms Examples: SS number catalog item # filename customer # numeric count A field containing different (unique) information for each record in a database; if you don’t identify a key field, Access can assign one. Key Field Chapter 4c,
Database Terms Examples: Tables forms reports queries macros modules Items attached to a database to hold data stored in the database Objects Chapter 4c,
Database Terms Examples: Using Social Security #, item number, or Vendor no. to tie data from one table to data from another table An association established between tables using fields that the tables have in common Relationship Chapter 4c,
View View: a display of the information in fields based on a particular arrangement of field data. Two views: list (in Access this is called Datasheet view) and browse (form view) list - a table, see records line by line browse - see one record at a time in the guise of an onscreen form Chapter 4c, 8.07
Database Operations Database commands are used to retrieve, organize, print and distribute database information. • Import: • Browse: • Sort: • Report: • Query(Filter): Chapter 4c,
Import:receive data in the form of text files Chapter 4c,
Browsenavigate through information by just looking at it. Chapter 4c,
Sort: rearrange records (alphabetically or numerically). Chapter 4c,
Report: printout of an ordered list of records. Chapter 4c,
Queries/Filters:search or select one or more specific records A set of criteria applied to records in order to show a subset of the records or sort the records Chapter 4c,
The User’s View Database programs can produce a variety of reports (or printouts). Customized reports display an ordered list of selected records and fields Chapter 4c, 8.09
Database Objects Table Query Form Report Macros Module Chapter 4c,
Database Objects The primary unit of a database that stores field names, field descriptions, field controls, and field data. Tables display multiple records in column/row format similar to a spreadsheet layout. Table Chapter 4c,
Database Objects A structured guideline used to search database tables and retrieve records that meet specific conditions. Query Chapter 4c,
Database Objects An aesthetically pleasing layout of table data designed to display one record on-screen at a time. Form Chapter 4c,
Database Objects An organized format of database data design to generate printouts that provide meaningful information Report Chapter 4c,
Database Objects A mini program that stores a set of instructions designed to perform a particular task. Macros Chapter 4c,
Database Objects A collection of Visual Basic programming procedures stored together to customize the Access environment. Module Chapter 4c,
Database Objects • When you create a new database, you have to name the database and identify the folder to store. • Eventually you will create objects within the database, and Access will store the objects together in the same database file. Chapter 4c,
Special-Purpose Database Programs databases: electronic phone directories Ready-to-use, encyclopedias, atlases, and similar reference materials. Geographical information systems (GISs): include geographic and demographic data in map form, Chapter 4c, 8.10
1997 Special-Purpose Database Programs Personal information managers (PIMs): an electronic organizer that is customized to fit individual needs. Chapter 4c, 8.10
Rules of Thumb: Dealing with Databases • Choose the right tool for the job. • Plan ahead. • Start small and test your database design. • Make data consistent. • Make use of automatic data checking. • Query with care. • Develop smart search methods. Chapter 4c, 8.12
Structure of the data • lowest level - characters • characters are combined to form a field (single item of information) • collection of fields is a record • records are stored in file(s) • it is up to the database designer how the data is to be organized, it is up to the database software to retrieve, and store the information Chapter 4c,
Types of Database Software • file management programs • database management systems Chapter 4c,
File Management Programs • a computer program that allows the user to store and manage information on a single file • used by individuals and small businesses • easy to learn, low price, less complex • example - Works database Chapter 4c,
Database Management Systems • A program that stores data in files structured into fields and records. Can use data stored in one file to match with several other files • more expensive, more complex • four different structures Chapter 4c,
Database Structures to Link Files • Hierarchical • Network • Relational • Object-Oriented Chapter 4c,
Hierarchical Databases • links data with a hierarchical relationship • group fields together to form a special relationship- looks like a pyramid • limits the way you can search for information based on the relationships Chapter 4c,
Hierarchical Design Chapter 4c,
Network Databases • also based on relationships , but a child can have more that one parent or none Chapter 4c,
Network Design Chapter 4c,
Relational Databases • Most popular - Access • Information related through a common field called a key • key field - is a field that occurs in two or more files and serves as a bridge between them Chapter 4c,
Relational Database Chapter 4c,
Object-Oriented Databases • based on the relationships of the objects within the database • newest type - heavily used in multimedia objects Chapter 4c,
Parts of the DBMS Software • Data Definition Language- used to describe the structure (schema) • Schema outlines the data - each field must be identified with a name, length and type • Data Manipulation Language - use to view, add, delete, sort and modify records Chapter 4c,
Parts Continued • Query Language-asks questions of the dB • Report Generator - design and generate reports based on the information within the dB Chapter 4c,