SlideShare a Scribd company logo
1 of 28
Data and its 
representation 
Ruhulla Abdul 
1st year IFF student 
Financial University under the Government of 
the Russian Federation 
Moscow 
2014
Content 
 Database 
 DBMS 
 Database model 
 Relational database 
 Ensuring Data Integrity 
 Understanding data and data-gathering 
 Different parts of a database 
 The database planning process 
 Post-relational database
What is a database? 
A database is a storage space for content / information (data) 
Data is factual information about objects and concepts, such as: 
• measurements 
• statistics 
You can find it in: 
 filing cabinets 
 spreadsheets 
 folders 
 ledgers 
 lists 
 colleagues’ memories 
 piles of papers on your desk
Database System 
 Database: 
A collection of related data. 
 Data: 
Database System: 
DBMS + Database 
Known facts that can be recorded and have an 
implicit meaning. 
 Database Management System (DBMS): 
A software package/system to facilitate the 
Define, Construct, Manipulate and Share functions of a 
computerized database.
DBMS 
 Software package for defining and managing a database. 
 Examples: 
 Proprietary: MS Access, MS SQL Server, DB2, Oracle, Sybase 
 Open source: MySql, PostgreSQL
DBMS Advantages 
 Program-data independence 
 Minimal data redundancy 
 Improved data consistency & quality 
 Access control 
 Transaction control 
 Improved accessibility & data sharing 
 Increased productivity of application development 
 Enforced standards
Typical DBMS Functionality 
 Define a particular database in terms of its data types, structures, 
and constraints 
 Construct or Load the initial database contents on a secondary 
storage medium 
 Manipulate the database: 
 Retrieval: Querying, generating reports 
 Modification: Insertions, deletions and updates to its content 
 Accessing the database through Web applications 
 Share a database allows multiple users and programs to access the 
database simultaneously
Database model 
A database model is a type of data model that determines the logical structure of a database and 
fundamentally determines in which manner data can be stored, organized, and manipulated. 
Common logical data models for databases include: 
 Hierarchical database model 
 Network model 
 Relational model 
 Entity–relationship model 
 Enhanced entity–relationship model 
 Object model 
 Document model 
 Entity–attribute–value model 
 Star schema 
An object-relational database combines the two related structures. 
Physical data models include: 
 Inverted index 
 Flat file 
Other models include: Associative, Multidimensional, Multivalue l, Semantic, XML database Named 
graph, Triplestore
Common types of data models 
A database model is a specification describing how a database is structured and used. 
Several such models have been suggested. Common models include: 
 Flat model - This may not strictly qualify as a data model. The flat (or table) model consists of a 
single, two-dimensional array of data elements, where all members of a given column are 
assumed to be similar values, and all members of a row are assumed to be related to one 
another. 
 Hierarchical model - In this model data is organized into a tree-like structure, implying a single 
upward link in each record to describe the nesting, and a sort field to keep the records in a 
particular order in each same-level list. 
 Network model - This model organizes data using two fundamental constructs, called records and 
sets. Records contain fields, and sets define one-to-many relationships between records: one 
owner, many members. 
 Relational model - is a database model based on first-order predicate logic. Its core idea is to 
describe a database as a collection of predicates over a finite set of predicate variables, 
describing constraints on the possible values and combinations of values. 
 Object-relational model - Similar to a relational database model, but objects, classes and 
inheritance are directly supported in database schemas and in the query language. 
 Star schema - The simplest style of data warehouse schema. The star schema consists of a few 
"fact tables" (possibly only one, justifying the name) referencing any number of "dimension tables". 
The star schema is considered an important special case of the snowflake schema.
Types of data model 
Flat model 
Hierarchical model 
Network model 
Relational model 
Object-relational model Star schema
Relational database 
A relational database is a collection of data items organized as a set of 
formally-described tables from which data can be accessed or reassembled 
in many different ways without having to reorganize the database tables. It is 
the most popular example of a database model, which uses a table-based 
format. 
The relational database was invented by E. F. Codd at IBM in 1970. 
The standard user and application program interface to a relational database 
is the structured query language (SQL). SQL statements are used both for 
interactive queries for information from a relational database and for 
gathering data for reports. 
In addition to being relatively easy to create and access, a relational 
database has the important advantage of being easy to extend. After the 
original database creation, a new data category can be added without 
requiring that all existing applications be modified. 
SQL statements are used to retrieve and update data in a database.
Structure of relational model 
A relational database is a set of tables containing data fitted into 
predefined categories. Each table (which is sometimes called 
a relation) contains one or more data categories in columns. 
Each row contains a unique instance of data for the categories 
defined by the columns. For example, a typical business order 
entry database would include a table that described a customer 
with columns for name, address, phone number, and so forth. 
Another table would describe an order: product, customer, date, 
sales price, and so forth. 
The Employees table illustrates some of 
these relational database concepts. It 
has five columns and six rows, with each 
row representing a different employee.
Structure of relational model 
The primary key for this table would generally be the employee number because each one is 
guaranteed to be different. (A number is also more efficient than a string for making 
comparisons.) It would also be possible to use First_Name and Last_Name because the 
combination of the two also identifies just one row in our sample database. Using the last name 
alone would not work because there are two employees with the last name of "Washington." In 
this particular case the first names are all different, so one could conceivably use that column as 
a primary key, but it is best to avoid using a column where duplicates could occur. If Elizabeth 
Jones gets a job at this company and the primary key is First_Name, the RDBMS will not allow her 
name to be added (if it has been specified that no duplicates are permitted). Because there is 
already an Elizabeth in the table, adding a second one would make the primary key useless as a 
way of identifying just one row. Note that although using First_Name and Last_Name is a unique 
composite key for this example, it might not be unique in a larger database. Note also that the 
Employees table assumes that there can be only one car per employee.
Databases everywhere 
Because of the versatility of databases, we find them powering all sorts 
of projects: 
 A web site that is capturing registered users 
 A client tracking application for social service organisations 
 A medical record system for a health care facility 
 Your personal address book in your e-mail client 
 A collection of word processed documents 
 A system that issues airline reservations
Ensuring Data Integrity 
Information first - Database second
Understanding data and data-gathering
Different parts of a database 
Fields 
Records 
Queries 
Reports
Fields 
 Database storage units 
 Generic elements of content
Records 
A simple table showing fields (columns) and records(rows): 
And as part of an MS Access database table:
Queries 
 Queries are the information retrieval requests you make to the 
database 
 Your queries are all about the information you are trying to gather
Reports 
 If the query is a question... 
...then the report is its answer 
 Reports can be tailored to the needs of the data-user, making the 
information they extract much more useful
The database planning process 
What kind of database are you working on? 
 Information and referral database 
 Contact/client database 
 Donation database (donorbase) 
 Other
Information and referral databases 
 Store information about service providers 
 Track and match requests for referral 
 Use a simple design 
 Need to be maintained with up-to-date and complete information
Contact/client databases 
 Store contact information for client base 
 Sortable by criteria like: 
 Client interests 
 Services provided 
 Subscription expiry dates 
 Last contacted date
Donation databases (donorbases) 
 Generate reports of donations 
 Order or sort donors according to different conditions 
 Record the various donation details of each donor 
 Create and sort lists of potential and current donors 
 Print letters, labels and reports
Post-relational database 
The relational model, first proposed in 1970 by Edgar F. Codd, departed from this 
tradition by insisting that applications should search for data by content, rather than by 
following links. The relational model employs sets of ledger-style tables, each used for a 
different type of entity. Only in the mid-1980s did computing hardware become powerful 
enough to allow the wide deployment of relational systems (DBMSs plus applications). By 
the early 1990s, however, relational systems dominated in all large-scale data processing 
applications, and as of 2014 they remain dominant except in niche areas. The dominant 
database language, standardised SQL for the relational model, has influenced 
database languages for other data models. 
 Object databases were developed in the 1980s to overcome the inconvenience 
of object-relational impedance mismatch, which led to the coining of the term "post-relational" 
and also the development of hybrid object-relational databases. 
 The next generation of post-relational databases in the late 2000s became known 
as NoSQL databases, introducing fast key-value stores and document-oriented 
databases. A competing "next generation" known as NewSQL databases attempted 
new implementations that retained the relational/SQL model while aiming to match 
the high performance of NoSQL compared to commercially available relational 
DBMSs.
Questions 
1) What is a database? Give an example of everyday life database 
2) Use the table below to break each content type into fields. Refer to the list of 
example fields for suggestions 
3) What is DBMS. Why is it so popular? 
4) Tell about common types of data models or Draw them 
5) Relational Database – what is it? Why it is so popular? 
6) Why we use SQL language in relational database? 
7) Structure of Relational Database 
8) List part of database. Describe them 
9) What kind of databases do you know? 
10) What is Post-relation database? 
11) Difference between Relation and post-relation database
References 
 http://fakit.narod.ru/uch2003/p4_6_2_3.html 
 http://habrahabr.ru/post/152477/ 
 http://citforum.ru/seminars/cbd99/ardent_1.shtml 
 http://en.wikipedia.org/wiki/Database 
 https://en.wikipedia.org/wiki/Relational_model 
 http://www.webopedia.com/TERM/D/database.html 
 http://www.databasejournal.com/ 
 http://en.wikipedia.org/wiki/Database_model

More Related Content

What's hot

Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Modeloudesign
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and dataBryan Corpuz
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.pptMuruly Krishan
 
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
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
Data resource management
Data resource managementData resource management
Data resource managementNirajan Silwal
 
Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007crespoje
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.SivakumarSivakumar R D .
 
Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Fizaril Amzari Omar
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentationRakibul islam
 
08 sip database
08 sip database08 sip database
08 sip databaseIkhsan Bz
 

What's hot (20)

Database
DatabaseDatabase
Database
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.ppt
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
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
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
 
Data resource management
Data resource managementData resource management
Data resource management
 
Introduction - Database (MS Access)
Introduction - Database (MS Access)Introduction - Database (MS Access)
Introduction - Database (MS Access)
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
 
Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
08 sip database
08 sip database08 sip database
08 sip database
 

Similar to Databases and its representation

2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdffikadumola
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02smelltulip
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databaseSuleman Memon
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lernetarunprajapati0t
 
DATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptxDATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptxRUBAB79
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4Syed Ariful Islam Emon
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxLaxmi Pandya
 

Similar to Databases and its representation (20)

2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Presentation1
Presentation1Presentation1
Presentation1
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
 
DATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptxDATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptx
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
 
dbms notes.ppt
dbms notes.pptdbms notes.ppt
dbms notes.ppt
 
Database
DatabaseDatabase
Database
 
DBMS - Introduction
DBMS - IntroductionDBMS - Introduction
DBMS - Introduction
 
chap1.pdf
chap1.pdfchap1.pdf
chap1.pdf
 
Data models
Data modelsData models
Data models
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.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.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
 
Dbms
DbmsDbms
Dbms
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
 

More from Ruhull

Website redesign as a cause of consumer dissatisfaction
Website redesign as a cause of consumer dissatisfactionWebsite redesign as a cause of consumer dissatisfaction
Website redesign as a cause of consumer dissatisfactionRuhull
 
World offshore centers. How It works
World offshore centers. How It worksWorld offshore centers. How It works
World offshore centers. How It worksRuhull
 
Corporation Culture of International search-engine companies
Corporation Culture of International search-engine companiesCorporation Culture of International search-engine companies
Corporation Culture of International search-engine companiesRuhull
 
William Shakespeare. Quiz
William Shakespeare. QuizWilliam Shakespeare. Quiz
William Shakespeare. QuizRuhull
 
Boeing against Airbus
Boeing against AirbusBoeing against Airbus
Boeing against AirbusRuhull
 
Interpersonal trust and trust to social institutions in Russia
Interpersonal trust and trust to social institutions in RussiaInterpersonal trust and trust to social institutions in Russia
Interpersonal trust and trust to social institutions in RussiaRuhull
 
John Maynard Keynes. Keynesian economics
John Maynard Keynes. Keynesian economicsJohn Maynard Keynes. Keynesian economics
John Maynard Keynes. Keynesian economicsRuhull
 
Organizational and Production structure of a Firm
Organizational and Production structure of a FirmOrganizational and Production structure of a Firm
Organizational and Production structure of a FirmRuhull
 
Managerial Planning and Goal Setting
Managerial Planning and Goal SettingManagerial Planning and Goal Setting
Managerial Planning and Goal SettingRuhull
 
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, Politics
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, PoliticsAristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, Politics
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, PoliticsRuhull
 
Advantages of international companies over the common firms
Advantages of international companies over the common firms Advantages of international companies over the common firms
Advantages of international companies over the common firms Ruhull
 
Global financial and economic crisis and its influence on national economy of...
Global financial and economic crisis and its influence on national economy of...Global financial and economic crisis and its influence on national economy of...
Global financial and economic crisis and its influence on national economy of...Ruhull
 
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru..."Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...Ruhull
 
Finance, psychology, economics and the design of successful institutions
Finance, psychology, economics and the design of successful institutionsFinance, psychology, economics and the design of successful institutions
Finance, psychology, economics and the design of successful institutionsRuhull
 
Organizational culture and its influence on project management
Organizational culture and its influence on project managementOrganizational culture and its influence on project management
Organizational culture and its influence on project managementRuhull
 
The Golden Ratio
The Golden RatioThe Golden Ratio
The Golden RatioRuhull
 
Structure of the financial system
Structure of the financial systemStructure of the financial system
Structure of the financial systemRuhull
 
Advantages of nuclear power
Advantages of nuclear powerAdvantages of nuclear power
Advantages of nuclear powerRuhull
 
Placebo Effect
Placebo EffectPlacebo Effect
Placebo EffectRuhull
 
Gazprom Neft
Gazprom NeftGazprom Neft
Gazprom NeftRuhull
 

More from Ruhull (20)

Website redesign as a cause of consumer dissatisfaction
Website redesign as a cause of consumer dissatisfactionWebsite redesign as a cause of consumer dissatisfaction
Website redesign as a cause of consumer dissatisfaction
 
World offshore centers. How It works
World offshore centers. How It worksWorld offshore centers. How It works
World offshore centers. How It works
 
Corporation Culture of International search-engine companies
Corporation Culture of International search-engine companiesCorporation Culture of International search-engine companies
Corporation Culture of International search-engine companies
 
William Shakespeare. Quiz
William Shakespeare. QuizWilliam Shakespeare. Quiz
William Shakespeare. Quiz
 
Boeing against Airbus
Boeing against AirbusBoeing against Airbus
Boeing against Airbus
 
Interpersonal trust and trust to social institutions in Russia
Interpersonal trust and trust to social institutions in RussiaInterpersonal trust and trust to social institutions in Russia
Interpersonal trust and trust to social institutions in Russia
 
John Maynard Keynes. Keynesian economics
John Maynard Keynes. Keynesian economicsJohn Maynard Keynes. Keynesian economics
John Maynard Keynes. Keynesian economics
 
Organizational and Production structure of a Firm
Organizational and Production structure of a FirmOrganizational and Production structure of a Firm
Organizational and Production structure of a Firm
 
Managerial Planning and Goal Setting
Managerial Planning and Goal SettingManagerial Planning and Goal Setting
Managerial Planning and Goal Setting
 
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, Politics
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, PoliticsAristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, Politics
Aristotle. His teaching. Ontology, Gnosiology (epistemology), Ethics, Politics
 
Advantages of international companies over the common firms
Advantages of international companies over the common firms Advantages of international companies over the common firms
Advantages of international companies over the common firms
 
Global financial and economic crisis and its influence on national economy of...
Global financial and economic crisis and its influence on national economy of...Global financial and economic crisis and its influence on national economy of...
Global financial and economic crisis and its influence on national economy of...
 
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru..."Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...
"Iron cage of capitalism” of Weber. evidences of rationalization in modern Ru...
 
Finance, psychology, economics and the design of successful institutions
Finance, psychology, economics and the design of successful institutionsFinance, psychology, economics and the design of successful institutions
Finance, psychology, economics and the design of successful institutions
 
Organizational culture and its influence on project management
Organizational culture and its influence on project managementOrganizational culture and its influence on project management
Organizational culture and its influence on project management
 
The Golden Ratio
The Golden RatioThe Golden Ratio
The Golden Ratio
 
Structure of the financial system
Structure of the financial systemStructure of the financial system
Structure of the financial system
 
Advantages of nuclear power
Advantages of nuclear powerAdvantages of nuclear power
Advantages of nuclear power
 
Placebo Effect
Placebo EffectPlacebo Effect
Placebo Effect
 
Gazprom Neft
Gazprom NeftGazprom Neft
Gazprom Neft
 

Recently uploaded

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Recently uploaded (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Databases and its representation

  • 1. Data and its representation Ruhulla Abdul 1st year IFF student Financial University under the Government of the Russian Federation Moscow 2014
  • 2. Content  Database  DBMS  Database model  Relational database  Ensuring Data Integrity  Understanding data and data-gathering  Different parts of a database  The database planning process  Post-relational database
  • 3. What is a database? A database is a storage space for content / information (data) Data is factual information about objects and concepts, such as: • measurements • statistics You can find it in:  filing cabinets  spreadsheets  folders  ledgers  lists  colleagues’ memories  piles of papers on your desk
  • 4. Database System  Database: A collection of related data.  Data: Database System: DBMS + Database Known facts that can be recorded and have an implicit meaning.  Database Management System (DBMS): A software package/system to facilitate the Define, Construct, Manipulate and Share functions of a computerized database.
  • 5. DBMS  Software package for defining and managing a database.  Examples:  Proprietary: MS Access, MS SQL Server, DB2, Oracle, Sybase  Open source: MySql, PostgreSQL
  • 6. DBMS Advantages  Program-data independence  Minimal data redundancy  Improved data consistency & quality  Access control  Transaction control  Improved accessibility & data sharing  Increased productivity of application development  Enforced standards
  • 7. Typical DBMS Functionality  Define a particular database in terms of its data types, structures, and constraints  Construct or Load the initial database contents on a secondary storage medium  Manipulate the database:  Retrieval: Querying, generating reports  Modification: Insertions, deletions and updates to its content  Accessing the database through Web applications  Share a database allows multiple users and programs to access the database simultaneously
  • 8. Database model A database model is a type of data model that determines the logical structure of a database and fundamentally determines in which manner data can be stored, organized, and manipulated. Common logical data models for databases include:  Hierarchical database model  Network model  Relational model  Entity–relationship model  Enhanced entity–relationship model  Object model  Document model  Entity–attribute–value model  Star schema An object-relational database combines the two related structures. Physical data models include:  Inverted index  Flat file Other models include: Associative, Multidimensional, Multivalue l, Semantic, XML database Named graph, Triplestore
  • 9. Common types of data models A database model is a specification describing how a database is structured and used. Several such models have been suggested. Common models include:  Flat model - This may not strictly qualify as a data model. The flat (or table) model consists of a single, two-dimensional array of data elements, where all members of a given column are assumed to be similar values, and all members of a row are assumed to be related to one another.  Hierarchical model - In this model data is organized into a tree-like structure, implying a single upward link in each record to describe the nesting, and a sort field to keep the records in a particular order in each same-level list.  Network model - This model organizes data using two fundamental constructs, called records and sets. Records contain fields, and sets define one-to-many relationships between records: one owner, many members.  Relational model - is a database model based on first-order predicate logic. Its core idea is to describe a database as a collection of predicates over a finite set of predicate variables, describing constraints on the possible values and combinations of values.  Object-relational model - Similar to a relational database model, but objects, classes and inheritance are directly supported in database schemas and in the query language.  Star schema - The simplest style of data warehouse schema. The star schema consists of a few "fact tables" (possibly only one, justifying the name) referencing any number of "dimension tables". The star schema is considered an important special case of the snowflake schema.
  • 10. Types of data model Flat model Hierarchical model Network model Relational model Object-relational model Star schema
  • 11. Relational database A relational database is a collection of data items organized as a set of formally-described tables from which data can be accessed or reassembled in many different ways without having to reorganize the database tables. It is the most popular example of a database model, which uses a table-based format. The relational database was invented by E. F. Codd at IBM in 1970. The standard user and application program interface to a relational database is the structured query language (SQL). SQL statements are used both for interactive queries for information from a relational database and for gathering data for reports. In addition to being relatively easy to create and access, a relational database has the important advantage of being easy to extend. After the original database creation, a new data category can be added without requiring that all existing applications be modified. SQL statements are used to retrieve and update data in a database.
  • 12. Structure of relational model A relational database is a set of tables containing data fitted into predefined categories. Each table (which is sometimes called a relation) contains one or more data categories in columns. Each row contains a unique instance of data for the categories defined by the columns. For example, a typical business order entry database would include a table that described a customer with columns for name, address, phone number, and so forth. Another table would describe an order: product, customer, date, sales price, and so forth. The Employees table illustrates some of these relational database concepts. It has five columns and six rows, with each row representing a different employee.
  • 13. Structure of relational model The primary key for this table would generally be the employee number because each one is guaranteed to be different. (A number is also more efficient than a string for making comparisons.) It would also be possible to use First_Name and Last_Name because the combination of the two also identifies just one row in our sample database. Using the last name alone would not work because there are two employees with the last name of "Washington." In this particular case the first names are all different, so one could conceivably use that column as a primary key, but it is best to avoid using a column where duplicates could occur. If Elizabeth Jones gets a job at this company and the primary key is First_Name, the RDBMS will not allow her name to be added (if it has been specified that no duplicates are permitted). Because there is already an Elizabeth in the table, adding a second one would make the primary key useless as a way of identifying just one row. Note that although using First_Name and Last_Name is a unique composite key for this example, it might not be unique in a larger database. Note also that the Employees table assumes that there can be only one car per employee.
  • 14. Databases everywhere Because of the versatility of databases, we find them powering all sorts of projects:  A web site that is capturing registered users  A client tracking application for social service organisations  A medical record system for a health care facility  Your personal address book in your e-mail client  A collection of word processed documents  A system that issues airline reservations
  • 15. Ensuring Data Integrity Information first - Database second
  • 16. Understanding data and data-gathering
  • 17. Different parts of a database Fields Records Queries Reports
  • 18. Fields  Database storage units  Generic elements of content
  • 19. Records A simple table showing fields (columns) and records(rows): And as part of an MS Access database table:
  • 20. Queries  Queries are the information retrieval requests you make to the database  Your queries are all about the information you are trying to gather
  • 21. Reports  If the query is a question... ...then the report is its answer  Reports can be tailored to the needs of the data-user, making the information they extract much more useful
  • 22. The database planning process What kind of database are you working on?  Information and referral database  Contact/client database  Donation database (donorbase)  Other
  • 23. Information and referral databases  Store information about service providers  Track and match requests for referral  Use a simple design  Need to be maintained with up-to-date and complete information
  • 24. Contact/client databases  Store contact information for client base  Sortable by criteria like:  Client interests  Services provided  Subscription expiry dates  Last contacted date
  • 25. Donation databases (donorbases)  Generate reports of donations  Order or sort donors according to different conditions  Record the various donation details of each donor  Create and sort lists of potential and current donors  Print letters, labels and reports
  • 26. Post-relational database The relational model, first proposed in 1970 by Edgar F. Codd, departed from this tradition by insisting that applications should search for data by content, rather than by following links. The relational model employs sets of ledger-style tables, each used for a different type of entity. Only in the mid-1980s did computing hardware become powerful enough to allow the wide deployment of relational systems (DBMSs plus applications). By the early 1990s, however, relational systems dominated in all large-scale data processing applications, and as of 2014 they remain dominant except in niche areas. The dominant database language, standardised SQL for the relational model, has influenced database languages for other data models.  Object databases were developed in the 1980s to overcome the inconvenience of object-relational impedance mismatch, which led to the coining of the term "post-relational" and also the development of hybrid object-relational databases.  The next generation of post-relational databases in the late 2000s became known as NoSQL databases, introducing fast key-value stores and document-oriented databases. A competing "next generation" known as NewSQL databases attempted new implementations that retained the relational/SQL model while aiming to match the high performance of NoSQL compared to commercially available relational DBMSs.
  • 27. Questions 1) What is a database? Give an example of everyday life database 2) Use the table below to break each content type into fields. Refer to the list of example fields for suggestions 3) What is DBMS. Why is it so popular? 4) Tell about common types of data models or Draw them 5) Relational Database – what is it? Why it is so popular? 6) Why we use SQL language in relational database? 7) Structure of Relational Database 8) List part of database. Describe them 9) What kind of databases do you know? 10) What is Post-relation database? 11) Difference between Relation and post-relation database
  • 28. References  http://fakit.narod.ru/uch2003/p4_6_2_3.html  http://habrahabr.ru/post/152477/  http://citforum.ru/seminars/cbd99/ardent_1.shtml  http://en.wikipedia.org/wiki/Database  https://en.wikipedia.org/wiki/Relational_model  http://www.webopedia.com/TERM/D/database.html  http://www.databasejournal.com/  http://en.wikipedia.org/wiki/Database_model