+ All Categories
Home > Documents > faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web...

faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web...

Date post: 01-Nov-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
4
Managing Files: Basic Concepts Data storage hierarchy - levels of data stored in a computer: Database – an organized collection of integrated files. File – a collection of related records. Record – a collection of related fields. Often called a row. Field – a unit (individual piece) of data consisting of one or more characters (bytes). Often called a column. Character (byte) – a letter, number, or special character. Key field – a field that is chosen to uniquely identify a record so that it can be easily retrieved and processed. Field Name Rec ord Fie ld
Transcript
Page 1: faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web viewDatabase – an organized collection of integrated files. File – a collection

Managing Files: Basic Concepts

• Data storage hierarchy - levels of data stored in a computer:

– Database – an organized collection of integrated files.

– File – a collection of related records.

– Record – a collection of related fields. Often called a row.

– Field – a unit (individual piece) of data consisting of one or more characters (bytes). Often called a column.

• Character (byte) – a letter, number, or special character.

• Key field – a field that is chosen to uniquely identify a record so that it can be easily retrieved and processed.

Database: An organized collection of related (integrated) files. A database is a collection of related data or facts.

• DBMS: Database management system (DBMS) – programs that control the structure of a database and access to the data.

Field

Record

Field Name

Page 2: faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web viewDatabase – an organized collection of integrated files. File – a collection

• DBMS is a collection of programs that control the database.

• Advantages of DBMS:

– File sharing

– Reduced data redundancy

• Data redundancy – situation in which the same data fields appear in many different files and often in different formats.

– Improved data integrity

• Data integrity – measure of how accurate, consistent, and up-to-date data is.

– Increased security

Database Models

The four most common Database Models

• 1. Hierarchical database – fields or records are arranged in related groups, resembling a family tree, with child (lower-level) records subordinate to parent (higher-level) records.

• 2. Network database – similar to a hierarchical database, but each child record can have more than one parent record.

Page 3: faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web viewDatabase – an organized collection of integrated files. File – a collection

• Relational database – a database which relates (connects) data in different files through the use of a key field, or common data element.

4. Object-oriented database – database which uses “objects” (software written in small, reusable chunks) as elements within database files

SQL (Structured Query Language) – the standard language used to create, modify, maintain, and query relational databases.

• Common Corporate DBMS and also called database softwares

– Oracle

– DB2

– Microsoft SQL Server

– MySQL ()

Page 4: faizan816.files.wordpress.comSecure Site faizan816.files.wordpress.com/2016/01/db.docx  · Web viewDatabase – an organized collection of integrated files. File – a collection

Recommended