SlideShare una empresa de Scribd logo
1 de 27
Class Presentation



System Analysis and
     Designs
Topic




Systematic Study on different aspect of DATABASE
Presentation TEAM




               IT @ DCSMAT
DATABASE
A database is any organized collection of data.

Some examples of databases you may encounter
in your daily life are:
    • a telephone book
    • T.V. Guide
    • airline reservation system
    • motor vehicle registration records
    • papers in your filing cabinet
    • files on your computer hard drive.
Database
• It is a collection of interrelated data with
  minimum redundancy to serve many users
  quickly and efficiently
• General theme – to handle information as an
  integrated whole
• General objective – to make information
  access easy, quick, inexpensive and flexible for
  the user.
Objectives of Database
1.   Controlled redundancy
2.   Ease of learning and use
3.   Data independence
4.   More information at low cost
5.   Accuracy and integrity
6.   Recovery from failure
7.   Privacy and security
8.   Performance
Purpose of Database System
• In the early days, database applications were built on
  top of file systems
• Drawbacks of using file systems to store data:
   – Data redundancy and inconsistency
      • Multiple file formats, duplication of information in different files
   – Difficulty in accessing data
      • Need to write a new program to carry out each new task
   – Data isolation — multiple files and formats
   – Integrity problems
      • Integrity constraints (e.g. account balance > 0) become part of
        program code
      • Hard to add new constraints or change existing ones
– Atomicity of updates
   • Failures may leave database in an inconsistent state with
     partial updates carried out
   • E.g. transfer of funds from one account to another should
     either complete or not happen at all
– Concurrent access by multiple users
   • Concurrent accessed needed for performance
   • Uncontrolled concurrent accesses can lead to inconsistencies
       – E.g. two people reading a balance and updating it at the same
         time
– Security problems
Data vs. information:
             What is the difference?
• What is data?
  – Data can be defined in many ways. Information science defines data as
    unprocessed information

• What is information?
  – Information is data that have been organized and communicated in a
    coherent and meaningful manner.
  – Data is converted into information, and information is converted into
    knowledge.
  – Knowledge; information evaluated and organized so that it can be
    used purposefully.
What is the ultimate purpose of a
database management system?

          Is to transform

 Data     Information   Knowledge   Action
Why do we need a database ?
• Keep records of our:
   – Clients
   – Staff
   – Volunteers
• To keep a record of activities and interventions;
• Keep sales records;
• Develop reports;
• Perform research
• Longitudinal tracking
Terms Used in a Database
• Table, a set of columns that contain data. In the
  old days, a table was called a file.
• Row, a set of columns from a table reflecting a
  record.
• Index, an object that allows for fast retrieval of
  table rows. Every primary key and foreign key
  should have an index for retrieval speed.
• Primary key, often designated pk, is 1 or more
  columns in a table that makes a record unique.
• Foreign key, often designated fk, is a common
  column common between 2 tables that define the
  relationship between those 2 tables.
• Foreign keys are either mandatory or optional.
  Mandatory forces a child to have a parent by
  creating a not null column at the child. Optional
  allows a child to exist without a parent, allowing a
  nullable column at the child table (not a common
  circumstance).
• Entity Relationship Diagram or ER is a pictorial
  representation of the application schema.
Key Terms in database design
• User’s view: profile that the user expects to
  see on a specific report
• Processing: the changes made to produce the
  report
• Data model: a framework of the user’s view
• Data file: the area where the actual files are
  stored.
• DML manipulates data; it specifies what is
  required. Eg: update, delete
• DDL describes how data are structured. Eg:
  create, alter
• DBMS manages data according to DML
  requests and DDL descriptions.
Views of data

• Logical view
     - It is what the data look like, regardless of
  how they are stored.
• Physical view
     - It deals with how data are stored,
  accessed, or related to other data in storage
Database Users
• Users are differentiated by the way they expect to interact
  with the system
• Application programmers – interact with system through
  DML calls
• Sophisticated users – form requests in a database query
  language
• Specialized users – write specialized database applications
  that do not fit into the traditional data processing
  framework
• Naive users – invoke one of the permanent application
  programs that have been written previously
   – E.g. people accessing database over the web, bank tellers,
     clerical staff
Types of Databases
1. Non-relational databases
 Non-relational databases place information in field
 categories that we create so that information is
 available for sorting and disseminating the way we
 need it. The data in a non-relational database,
 however, is limited to that program and cannot be
 extracted and applied to a number of other software
 programs, or other database files within a
 school or administrative system. The data can
 only be "copied and pasted.“ Example: a
 spread sheet
2. Relational databases
 In relational databases, fields can be used in a
 number of ways (and can be of variable
 length), provided that they are linked in
 tables. It is developed based on a database
 model that provides for logical connections
 among files (known as tables) by including
 identifying data from one table in another
 table
Data Definition Language (DDL)
• Specification notation for defining the database schema
   – E.g.
      create table account (
            account-number char(10),
            balance          integer)
• DDL compiler generates a set of tables stored in a data
  dictionary
• Data dictionary contains metadata (i.e., data about data)
   – database schema
   – Data storage and definition language
       • language in which the storage structure and access methods used by
         the database system are specified
       • Usually an extension of the data definition language
Data Manipulation Language (DML)
• Language for accessing and manipulating the
  data organized by the appropriate data model
  – DML also known as query language
• Two classes of languages
  – Procedural – user specifies what data is required
    and how to get those data
  – Nonprocedural – user specifies what data is
    required without specifying how to get those data
• SQL is the most widely used query language
SQL
• SQL: widely used non-procedural language
   – E.g. find the name of the customer with customer-id 192-83-7465
                 select customer.customer-name
                 from customer
                 where customer.customer-id = ‘192-83-7465’
   – E.g. find the balances of all accounts held by the customer with
     customer-id 192-83-7465
                 select account.balance
                 from depositor, account
                 where depositor.customer-id = ‘192-83-7465’ and
                       depositor.account-number = account.account-number
• Application programs generally access databases through one of
   – Language extensions to allow embedded SQL
   – Application program interface (e.g. ODBC/JDBC) which allow SQL
     queries to be sent to a database
Selecting a database system: Need
                  Analysis
The needs analysis process will be specific to your organization but, at
  a minimum, should answer the following questions:
• How many records we will warehouse and for how long?
• Who will be using the database and what tasks will they perform?
• How often will the data be modified? Who will make these
  modifications?
• Who will be providing IT support for the database?
• What hardware is available? Is there a budget for purchasing
  additional hardware?
• Who will be responsible for maintaining the data?
• Will data access be offered over the Internet? If so, what level of
  access should be supported?
Selecting a DBMS
              How do I Choose?
Which database product is appropriate for my
   application? You must make a requirements
   assessment.
Does you database need 24x7 availability?
Is your database mission critical, and no data loss
   can be tolerated?
Is your database large? (backup recovery methods)
What data types do I need? (binary, large objects?)
Do I need replication? What level of replication is
   required? Read only? Read/Write? Read/Write is
   very expensive, so can I justify it?
If your answer to any of the above is ‘yes’, I would
   strongly suggest purchasing and using a
   commercial database with support. Support
   includes:

  •   24x7 assistance with technical issues
  •   Patches for bugs and security
  •   The ability to report bugs, and get them resolved in a
      timely manner.
  •   Priority for production issues
  •   Upgrades/new releases
  •   Assistance with and use of proven backup/recovery
      methods
Selecting a DBMS
           The Freeware Choice
Freeware is free.
Freeware is open source.
Freeware functionality is improving.
Freeware is good for smaller non-mission critical
  applications.
IT @ DCSMAT




GROUP - 2

Más contenido relacionado

La actualidad más candente

Data and database administration(database)
Data and database administration(database)Data and database administration(database)
Data and database administration(database)
welcometofacebook
 

La actualidad más candente (20)

Systems Development and Documentation Techniques
Systems Development and Documentation TechniquesSystems Development and Documentation Techniques
Systems Development and Documentation Techniques
 
Lesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMSLesson 1: Introduction to DBMS
Lesson 1: Introduction to DBMS
 
Ais Romney 2006 Slides 18 Introduction To Systems Development
Ais Romney 2006 Slides 18 Introduction To Systems DevelopmentAis Romney 2006 Slides 18 Introduction To Systems Development
Ais Romney 2006 Slides 18 Introduction To Systems Development
 
Systems development cycle
Systems development cycleSystems development cycle
Systems development cycle
 
Management information system database management
Management information system database managementManagement information system database management
Management information system database management
 
Data Manipulation Language
Data Manipulation LanguageData Manipulation Language
Data Manipulation Language
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
Data and database administration(database)
Data and database administration(database)Data and database administration(database)
Data and database administration(database)
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Rdbms
RdbmsRdbms
Rdbms
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
 
Functional information system
Functional  information systemFunctional  information system
Functional information system
 
Information System & Business applications
Information System & Business applicationsInformation System & Business applications
Information System & Business applications
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)
 
Database design
Database designDatabase design
Database design
 
Introduction to accounting information systems
Introduction to accounting information systemsIntroduction to accounting information systems
Introduction to accounting information systems
 
itft-File design
itft-File designitft-File design
itft-File design
 
Oltp vs olap
Oltp vs olapOltp vs olap
Oltp vs olap
 
Dbms and sqlpptx
Dbms and sqlpptxDbms and sqlpptx
Dbms and sqlpptx
 
erp and related technologies
erp and related technologieserp and related technologies
erp and related technologies
 

Destacado

system analysis and design Chap005
 system analysis and design  Chap005 system analysis and design  Chap005
system analysis and design Chap005
Nderitu Muriithi
 
System analysis and Design Chap001
System analysis and Design Chap001System analysis and Design Chap001
System analysis and Design Chap001
Nderitu Muriithi
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
Nderitu Muriithi
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
Irfan Hussain
 
system analysis and design Chap002
 system analysis and design Chap002 system analysis and design Chap002
system analysis and design Chap002
Nderitu Muriithi
 
Information Systems Analysis and Design
Information Systems Analysis and DesignInformation Systems Analysis and Design
Information Systems Analysis and Design
Christian Reina
 
Rural Industrialisation
Rural IndustrialisationRural Industrialisation
Rural Industrialisation
Ujjwal 'Shanu'
 
Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEB
Shabeeb Shabi
 
Impact of Social Media on E-Commerce
Impact of Social Media on E-CommerceImpact of Social Media on E-Commerce
Impact of Social Media on E-Commerce
Akshay Thakur
 
System analysis and design
System analysis and design System analysis and design
System analysis and design
Razan Al Ryalat
 
Retailing (Concept & Definition)
Retailing (Concept & Definition)Retailing (Concept & Definition)
Retailing (Concept & Definition)
dcsastudent
 
Foreign exchange risk
Foreign exchange riskForeign exchange risk
Foreign exchange risk
Lijo Stalin
 

Destacado (19)

system analysis and design Chap005
 system analysis and design  Chap005 system analysis and design  Chap005
system analysis and design Chap005
 
System analysis and Design Chap001
System analysis and Design Chap001System analysis and Design Chap001
System analysis and Design Chap001
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 
Session 1 Lecture 2 PACT A Framework for Designing Interactive Systems
Session 1 Lecture 2 PACT A Framework for Designing Interactive SystemsSession 1 Lecture 2 PACT A Framework for Designing Interactive Systems
Session 1 Lecture 2 PACT A Framework for Designing Interactive Systems
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
 
Internet threats and its effect on E-commerce
Internet threats and its effect on E-commerceInternet threats and its effect on E-commerce
Internet threats and its effect on E-commerce
 
Chap02
Chap02Chap02
Chap02
 
system analysis and design Chap002
 system analysis and design Chap002 system analysis and design Chap002
system analysis and design Chap002
 
Chap01
Chap01Chap01
Chap01
 
Chap03
Chap03Chap03
Chap03
 
Information Systems Analysis and Design
Information Systems Analysis and DesignInformation Systems Analysis and Design
Information Systems Analysis and Design
 
Rural Industrialisation
Rural IndustrialisationRural Industrialisation
Rural Industrialisation
 
Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEB
 
Impact of Social Media on E-Commerce
Impact of Social Media on E-CommerceImpact of Social Media on E-Commerce
Impact of Social Media on E-Commerce
 
Effect of social media on e commerce
Effect of social media on e commerceEffect of social media on e commerce
Effect of social media on e commerce
 
System analysis and design
System analysis and design System analysis and design
System analysis and design
 
Retailing (Concept & Definition)
Retailing (Concept & Definition)Retailing (Concept & Definition)
Retailing (Concept & Definition)
 
Foreign exchange risk
Foreign exchange riskForeign exchange risk
Foreign exchange risk
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 

Similar a System Analysis And Design

01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
TOUSEEQHAIDER14
 

Similar a System Analysis And Design (20)

Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
INTRODUCTION OF DATA BASE
INTRODUCTION OF DATA BASEINTRODUCTION OF DATA BASE
INTRODUCTION OF DATA BASE
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
 
Database Systems Lec 1.pptx
Database Systems Lec 1.pptxDatabase Systems Lec 1.pptx
Database Systems Lec 1.pptx
 
Data concepts
Data conceptsData concepts
Data concepts
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
 
Dbms
DbmsDbms
Dbms
 
Intoduction- Database Management System
Intoduction- Database Management SystemIntoduction- Database Management System
Intoduction- Database Management System
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
Unit01 dbms 2
Unit01 dbms 2Unit01 dbms 2
Unit01 dbms 2
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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...
 
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...
 

System Analysis And Design

  • 2. Topic Systematic Study on different aspect of DATABASE
  • 3. Presentation TEAM IT @ DCSMAT
  • 4. DATABASE A database is any organized collection of data. Some examples of databases you may encounter in your daily life are: • a telephone book • T.V. Guide • airline reservation system • motor vehicle registration records • papers in your filing cabinet • files on your computer hard drive.
  • 5. Database • It is a collection of interrelated data with minimum redundancy to serve many users quickly and efficiently • General theme – to handle information as an integrated whole • General objective – to make information access easy, quick, inexpensive and flexible for the user.
  • 6. Objectives of Database 1. Controlled redundancy 2. Ease of learning and use 3. Data independence 4. More information at low cost 5. Accuracy and integrity 6. Recovery from failure 7. Privacy and security 8. Performance
  • 7. Purpose of Database System • In the early days, database applications were built on top of file systems • Drawbacks of using file systems to store data: – Data redundancy and inconsistency • Multiple file formats, duplication of information in different files – Difficulty in accessing data • Need to write a new program to carry out each new task – Data isolation — multiple files and formats – Integrity problems • Integrity constraints (e.g. account balance > 0) become part of program code • Hard to add new constraints or change existing ones
  • 8. – Atomicity of updates • Failures may leave database in an inconsistent state with partial updates carried out • E.g. transfer of funds from one account to another should either complete or not happen at all – Concurrent access by multiple users • Concurrent accessed needed for performance • Uncontrolled concurrent accesses can lead to inconsistencies – E.g. two people reading a balance and updating it at the same time – Security problems
  • 9. Data vs. information: What is the difference? • What is data? – Data can be defined in many ways. Information science defines data as unprocessed information • What is information? – Information is data that have been organized and communicated in a coherent and meaningful manner. – Data is converted into information, and information is converted into knowledge. – Knowledge; information evaluated and organized so that it can be used purposefully.
  • 10. What is the ultimate purpose of a database management system? Is to transform Data Information Knowledge Action
  • 11. Why do we need a database ? • Keep records of our: – Clients – Staff – Volunteers • To keep a record of activities and interventions; • Keep sales records; • Develop reports; • Perform research • Longitudinal tracking
  • 12. Terms Used in a Database • Table, a set of columns that contain data. In the old days, a table was called a file. • Row, a set of columns from a table reflecting a record. • Index, an object that allows for fast retrieval of table rows. Every primary key and foreign key should have an index for retrieval speed. • Primary key, often designated pk, is 1 or more columns in a table that makes a record unique.
  • 13. • Foreign key, often designated fk, is a common column common between 2 tables that define the relationship between those 2 tables. • Foreign keys are either mandatory or optional. Mandatory forces a child to have a parent by creating a not null column at the child. Optional allows a child to exist without a parent, allowing a nullable column at the child table (not a common circumstance). • Entity Relationship Diagram or ER is a pictorial representation of the application schema.
  • 14. Key Terms in database design • User’s view: profile that the user expects to see on a specific report • Processing: the changes made to produce the report • Data model: a framework of the user’s view • Data file: the area where the actual files are stored.
  • 15. • DML manipulates data; it specifies what is required. Eg: update, delete • DDL describes how data are structured. Eg: create, alter • DBMS manages data according to DML requests and DDL descriptions.
  • 16. Views of data • Logical view - It is what the data look like, regardless of how they are stored. • Physical view - It deals with how data are stored, accessed, or related to other data in storage
  • 17. Database Users • Users are differentiated by the way they expect to interact with the system • Application programmers – interact with system through DML calls • Sophisticated users – form requests in a database query language • Specialized users – write specialized database applications that do not fit into the traditional data processing framework • Naive users – invoke one of the permanent application programs that have been written previously – E.g. people accessing database over the web, bank tellers, clerical staff
  • 18. Types of Databases 1. Non-relational databases Non-relational databases place information in field categories that we create so that information is available for sorting and disseminating the way we need it. The data in a non-relational database, however, is limited to that program and cannot be extracted and applied to a number of other software programs, or other database files within a school or administrative system. The data can only be "copied and pasted.“ Example: a spread sheet
  • 19. 2. Relational databases In relational databases, fields can be used in a number of ways (and can be of variable length), provided that they are linked in tables. It is developed based on a database model that provides for logical connections among files (known as tables) by including identifying data from one table in another table
  • 20. Data Definition Language (DDL) • Specification notation for defining the database schema – E.g. create table account ( account-number char(10), balance integer) • DDL compiler generates a set of tables stored in a data dictionary • Data dictionary contains metadata (i.e., data about data) – database schema – Data storage and definition language • language in which the storage structure and access methods used by the database system are specified • Usually an extension of the data definition language
  • 21. Data Manipulation Language (DML) • Language for accessing and manipulating the data organized by the appropriate data model – DML also known as query language • Two classes of languages – Procedural – user specifies what data is required and how to get those data – Nonprocedural – user specifies what data is required without specifying how to get those data • SQL is the most widely used query language
  • 22. SQL • SQL: widely used non-procedural language – E.g. find the name of the customer with customer-id 192-83-7465 select customer.customer-name from customer where customer.customer-id = ‘192-83-7465’ – E.g. find the balances of all accounts held by the customer with customer-id 192-83-7465 select account.balance from depositor, account where depositor.customer-id = ‘192-83-7465’ and depositor.account-number = account.account-number • Application programs generally access databases through one of – Language extensions to allow embedded SQL – Application program interface (e.g. ODBC/JDBC) which allow SQL queries to be sent to a database
  • 23. Selecting a database system: Need Analysis The needs analysis process will be specific to your organization but, at a minimum, should answer the following questions: • How many records we will warehouse and for how long? • Who will be using the database and what tasks will they perform? • How often will the data be modified? Who will make these modifications? • Who will be providing IT support for the database? • What hardware is available? Is there a budget for purchasing additional hardware? • Who will be responsible for maintaining the data? • Will data access be offered over the Internet? If so, what level of access should be supported?
  • 24. Selecting a DBMS How do I Choose? Which database product is appropriate for my application? You must make a requirements assessment. Does you database need 24x7 availability? Is your database mission critical, and no data loss can be tolerated? Is your database large? (backup recovery methods) What data types do I need? (binary, large objects?) Do I need replication? What level of replication is required? Read only? Read/Write? Read/Write is very expensive, so can I justify it?
  • 25. If your answer to any of the above is ‘yes’, I would strongly suggest purchasing and using a commercial database with support. Support includes: • 24x7 assistance with technical issues • Patches for bugs and security • The ability to report bugs, and get them resolved in a timely manner. • Priority for production issues • Upgrades/new releases • Assistance with and use of proven backup/recovery methods
  • 26. Selecting a DBMS The Freeware Choice Freeware is free. Freeware is open source. Freeware functionality is improving. Freeware is good for smaller non-mission critical applications.

Notas del editor

  1. This presentation demonstrates the new capabilities of PowerPoint and it is best viewed in Slide Show. These slides are designed to give you great ideas for the presentations you’ll create in PowerPoint 2010!For more sample templates, click the File tab, and then on the New tab, click Sample Templates.