SlideShare una empresa de Scribd logo
1 de 20
Data Management: Database Approach Lecture: Dec. 09, 2009
Database A database is a collection of interrelated data items that are managed as a single unit. An instance is a copy of the database software running in memory. Database model refers to the way in which a database organizes its data to pattern the real world.
Hierarchy of Data Data is generally organized in a hierarchy that begins with the smallest piece of data used by computers (a bit) and progresses through the  hierarchy to a database. A bit(a binary digit) represents a circuit that is either on or off. A byte (8 bits) is an organized unit of bits which represents a character. A character  is the basic building block of information. Characters are put together to form a field.
Hierarchy of data (continued) A field is typically a name,  number, or combination of characters that describe s an aspect of a business object (e.g. an employee, a location, a truck) or activity (e.g. a sale). A  A Record  is a collection of related data fields. A file/table is a collection of all related records. A database is a collection of related tables.
Hierarchy of Data Faculty table Database (Schools Database) Student table Grades table Tables/files Dickinson, Dave 	06-03-06 Jackson, Jacob	06-03-06 Mayville, Mat	10-03-06 (Personal File) Records 00136 Dickinson, Dave 06-03-06 (Record containing ID number, name, and hire date) Fields Dickinson (Last name field) Characters (Byte) 100 0100 (Letter F in ASCII)
Files A file is a collection of related records that are stored as a single unit by an operating system.
Difference of Database from files Characteristics or properties that databases possess that ordinary files do not have: Management by a Database Management System (DBMS) Layers of data abstraction Physical data independence Logical data independence
The Database Management System (DBMS) A group of programs that manipulate the database and provide an interface between the database and the user of the database and other application programs.
DBMS Services Moving data to and from the physical data files as needed. Managing concurrent data access by multiple users, including provisions to prevent simultaneous updates from conflicting with one another. Managing transactions so that each transaction’s database changes are an all-or-nothing unit of work. In other words, if the transaction succeeds, all database changes made by it are recorded in the database; if the transaction fails, none of the changes it made are recorded in the database.
DBMS Services (continued) Support for a query language, which is a system of commands that a database user employs to retrieve data from the database. Provisions for backing up the database and recovering from failures. Security mechanisms to prevent unauthorized data access and modification.
Layers of Data Abstraction Databases have the unique capability of presenting multiple users of the data with their own distinct views of that data while storing the underlying data only once, this are calledUser Views. A userin this context is any person or application that signs on to the database for the purpose of storing and/or retrieving data. An applicationis a set of computer programs designed to solve a particular business problem, such as an order-entry system, a payroll-processing system, or an accounting system.
Database layers of abstraction View 1 View 2 View n External  Layer Logical Data Independence Logical Layer Internal Schema (Logical Schema) Physical Data Independence PhysicalLayer Database File Database File Database File Database File Database File
The Physical Layer The physical layer contains the data files that hold all the data for the database. a Database Administrator (DBA) handles the details of installing and configuring the database software and data files and making the database available to the database users. The DBMS works with the computer’s operating system to automatically manage the data files, including all file opening, closing, reading, and writing operations.
The Logical Layer The logical layer or logical model is the first of two layers of abstraction in the database. The physical layer has a concrete existence in the operating system files, whereas the logical layer exists only as abstract data structures assembled from the physical layer as needed. The DBMS transforms the data in the data files into a common structure.  Depending on the particular DBMS, this can be a set of two-dimensional tables, a hierarchical structure similar to a company’s organization chart, or some other structure. This layer is sometimes called the schema, a term used for the collection of all the data items stored in a particular database.
The External Layer The external layer or external model is the second layer of abstraction in the database. This layer is composed of the user views discussed earlier, which are collectively called the subschema. This is the layer where users and application programs that access the database connect and issue queries against the database.  Only the DBA deals with the physical and logical layers.
Physical Data Independence The ability to alter the physical file structure of a database without disrupting existing users and processes. The measure, sometimes called the degree of physical data independence, is how much change can be made in the file system without impacting the logical layer.
The DBMS catalog The DBMS catalog keeps track of where the objects are physically stored. Examples of physical changes that may be made in a data-independent manner: Moving a database data file from one device to another or one directory to another Splitting or combining database data files Renaming database files Moving a database object from one data file to another Adding new database objects or data files
Logical Data Independence The ability to make changes to the logical layer without disrupting existing users and processes . As with physical data independence, there are degrees of logical data independence.  It is important to understand that most logical changes also involve a physical change. Deletion of objects in the logical layer will cause anything that uses those objects to fail but should not affect anything else.
Logical Data Independence Examples of changes in the logical layer that can be safely made due to logical data independence: Adding a new database object Adding data items to an existing object Any change where a view can be placed in the external model that replaces (and processes the same as) the original object in the logical layer, such as combining or splitting existing objects
Data Entities, Attributes and Keys Entity – a generalized class of people, places, or things for which data is collected, stored and maintained. Attribute – a characteristic of an entity. Data item – the specific value of an attribute. Key – a field or a set of fields in a record that is used to identify the record. Primary key – a field or set of fields in a record that uniquely identifies the record.

Más contenido relacionado

La actualidad más candente

Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independence
Anuj Modi
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
adukkas
 
Database management system1
Database management system1Database management system1
Database management system1
jamwal85
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Hitesh Mohapatra
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 

La actualidad más candente (20)

Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independence
 
Dbms
DbmsDbms
Dbms
 
Dbms
DbmsDbms
Dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
A concept of dbms
A concept of dbmsA concept of dbms
A concept of dbms
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architecture
 
Database management system1
Database management system1Database management system1
Database management system1
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Database management system
Database management systemDatabase management system
Database management system
 
Relational database management system (rdbms) i
Relational database management system (rdbms) iRelational database management system (rdbms) i
Relational database management system (rdbms) i
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 

Destacado (6)

Razorbase Examples Part 4
Razorbase Examples Part 4Razorbase Examples Part 4
Razorbase Examples Part 4
 
Group5 PPT on Historical Perspective of Nursing and Computer
Group5 PPT on Historical Perspective of Nursing and ComputerGroup5 PPT on Historical Perspective of Nursing and Computer
Group5 PPT on Historical Perspective of Nursing and Computer
 
Nursing informatics introduction
Nursing informatics   introductionNursing informatics   introduction
Nursing informatics introduction
 
Nursing Informatics - Team 3 Presentation
Nursing Informatics - Team 3 PresentationNursing Informatics - Team 3 Presentation
Nursing Informatics - Team 3 Presentation
 
"Nursing Informatics PowerPoint Presentation"
"Nursing Informatics PowerPoint Presentation""Nursing Informatics PowerPoint Presentation"
"Nursing Informatics PowerPoint Presentation"
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar a Data Management

Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
rsujeet169
 

Similar a Data Management (20)

Dbms
DbmsDbms
Dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)
 
Computer Science Dissertation Literature Review Example
Computer Science Dissertation Literature Review ExampleComputer Science Dissertation Literature Review Example
Computer Science Dissertation Literature Review Example
 
Computer Science Dissertation Literature Review Example
Computer Science Dissertation Literature Review ExampleComputer Science Dissertation Literature Review Example
Computer Science Dissertation Literature Review Example
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Data Management

  • 1. Data Management: Database Approach Lecture: Dec. 09, 2009
  • 2. Database A database is a collection of interrelated data items that are managed as a single unit. An instance is a copy of the database software running in memory. Database model refers to the way in which a database organizes its data to pattern the real world.
  • 3. Hierarchy of Data Data is generally organized in a hierarchy that begins with the smallest piece of data used by computers (a bit) and progresses through the hierarchy to a database. A bit(a binary digit) represents a circuit that is either on or off. A byte (8 bits) is an organized unit of bits which represents a character. A character is the basic building block of information. Characters are put together to form a field.
  • 4. Hierarchy of data (continued) A field is typically a name, number, or combination of characters that describe s an aspect of a business object (e.g. an employee, a location, a truck) or activity (e.g. a sale). A A Record is a collection of related data fields. A file/table is a collection of all related records. A database is a collection of related tables.
  • 5. Hierarchy of Data Faculty table Database (Schools Database) Student table Grades table Tables/files Dickinson, Dave 06-03-06 Jackson, Jacob 06-03-06 Mayville, Mat 10-03-06 (Personal File) Records 00136 Dickinson, Dave 06-03-06 (Record containing ID number, name, and hire date) Fields Dickinson (Last name field) Characters (Byte) 100 0100 (Letter F in ASCII)
  • 6. Files A file is a collection of related records that are stored as a single unit by an operating system.
  • 7. Difference of Database from files Characteristics or properties that databases possess that ordinary files do not have: Management by a Database Management System (DBMS) Layers of data abstraction Physical data independence Logical data independence
  • 8. The Database Management System (DBMS) A group of programs that manipulate the database and provide an interface between the database and the user of the database and other application programs.
  • 9. DBMS Services Moving data to and from the physical data files as needed. Managing concurrent data access by multiple users, including provisions to prevent simultaneous updates from conflicting with one another. Managing transactions so that each transaction’s database changes are an all-or-nothing unit of work. In other words, if the transaction succeeds, all database changes made by it are recorded in the database; if the transaction fails, none of the changes it made are recorded in the database.
  • 10. DBMS Services (continued) Support for a query language, which is a system of commands that a database user employs to retrieve data from the database. Provisions for backing up the database and recovering from failures. Security mechanisms to prevent unauthorized data access and modification.
  • 11. Layers of Data Abstraction Databases have the unique capability of presenting multiple users of the data with their own distinct views of that data while storing the underlying data only once, this are calledUser Views. A userin this context is any person or application that signs on to the database for the purpose of storing and/or retrieving data. An applicationis a set of computer programs designed to solve a particular business problem, such as an order-entry system, a payroll-processing system, or an accounting system.
  • 12. Database layers of abstraction View 1 View 2 View n External Layer Logical Data Independence Logical Layer Internal Schema (Logical Schema) Physical Data Independence PhysicalLayer Database File Database File Database File Database File Database File
  • 13. The Physical Layer The physical layer contains the data files that hold all the data for the database. a Database Administrator (DBA) handles the details of installing and configuring the database software and data files and making the database available to the database users. The DBMS works with the computer’s operating system to automatically manage the data files, including all file opening, closing, reading, and writing operations.
  • 14. The Logical Layer The logical layer or logical model is the first of two layers of abstraction in the database. The physical layer has a concrete existence in the operating system files, whereas the logical layer exists only as abstract data structures assembled from the physical layer as needed. The DBMS transforms the data in the data files into a common structure. Depending on the particular DBMS, this can be a set of two-dimensional tables, a hierarchical structure similar to a company’s organization chart, or some other structure. This layer is sometimes called the schema, a term used for the collection of all the data items stored in a particular database.
  • 15. The External Layer The external layer or external model is the second layer of abstraction in the database. This layer is composed of the user views discussed earlier, which are collectively called the subschema. This is the layer where users and application programs that access the database connect and issue queries against the database. Only the DBA deals with the physical and logical layers.
  • 16. Physical Data Independence The ability to alter the physical file structure of a database without disrupting existing users and processes. The measure, sometimes called the degree of physical data independence, is how much change can be made in the file system without impacting the logical layer.
  • 17. The DBMS catalog The DBMS catalog keeps track of where the objects are physically stored. Examples of physical changes that may be made in a data-independent manner: Moving a database data file from one device to another or one directory to another Splitting or combining database data files Renaming database files Moving a database object from one data file to another Adding new database objects or data files
  • 18. Logical Data Independence The ability to make changes to the logical layer without disrupting existing users and processes . As with physical data independence, there are degrees of logical data independence. It is important to understand that most logical changes also involve a physical change. Deletion of objects in the logical layer will cause anything that uses those objects to fail but should not affect anything else.
  • 19. Logical Data Independence Examples of changes in the logical layer that can be safely made due to logical data independence: Adding a new database object Adding data items to an existing object Any change where a view can be placed in the external model that replaces (and processes the same as) the original object in the logical layer, such as combining or splitting existing objects
  • 20. Data Entities, Attributes and Keys Entity – a generalized class of people, places, or things for which data is collected, stored and maintained. Attribute – a characteristic of an entity. Data item – the specific value of an attribute. Key – a field or a set of fields in a record that is used to identify the record. Primary key – a field or set of fields in a record that uniquely identifies the record.

Notas del editor

  1. PC database often refer to files as tables
  2. The DBMS provides all the basic services required to organize and maintain thedatabase, including the following:
  3. Prior to systems that offered data independence, even the slightest change to the way datawas stored required the programming staff to make changes to every computer programthat used the data, an expensive and time-consuming process.
  4. For example, you cannot add a new databaseobject (such as a table in a relational DBMS) without physically storing thedata somewhere; hence, there is a corresponding change in the physical layer.