SlideShare uma empresa 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.

Mais conteúdo relacionado

Mais procurados

Architecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceArchitecture of-dbms-and-data-independence
Architecture of-dbms-and-data-independenceAnuj Modi
 
Data base management system
Data base management systemData base management system
Data base management systemashirafzal1
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Naman Joshi
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Conceptsadukkas
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architectureUra Euro
 
Database management system1
Database management system1Database management system1
Database management system1jamwal85
 
Database management system
Database management systemDatabase management system
Database management systemSayed Ahmed
 
Relational database management system (rdbms) i
Relational database management system (rdbms) iRelational database management system (rdbms) i
Relational database management system (rdbms) iRavinder Kamboj
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemHitesh Mohapatra
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 

Mais procurados (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
 

Destaque

Razorbase Examples Part 4
Razorbase Examples Part 4Razorbase Examples Part 4
Razorbase Examples Part 4Sherman Monroe
 
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 ComputerPrince Jay Lapinid
 
Nursing informatics introduction
Nursing informatics   introductionNursing informatics   introduction
Nursing informatics introductionIan Jasper Mangampo
 
Nursing Informatics - Team 3 Presentation
Nursing Informatics - Team 3 PresentationNursing Informatics - Team 3 Presentation
Nursing Informatics - Team 3 PresentationShirldrexel2014
 
"Nursing Informatics PowerPoint Presentation"
"Nursing Informatics PowerPoint Presentation""Nursing Informatics PowerPoint Presentation"
"Nursing Informatics PowerPoint Presentation"chandy-20
 

Destaque (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
 

Semelhante a Data Management

Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
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 ArchitectureSabeeh Ahmed
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfMrjJoker1
 
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 Conceptsoudesign
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfrsujeet169
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singhGursharan Singh
 
Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Database Management Systems (Mcom Ecommerce)
Database Management Systems (Mcom Ecommerce)Rupen Parte
 

Semelhante 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

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 WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
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...Drew Madelung
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Último (20)

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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

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 do 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.