SlideShare a Scribd company logo
1 of 15
Database Assignment
Help
support@myassignmenthelpers.com
http://www.myassignmenthelpers.com
/
Type of Data to Store
 Type of Data
◦ Raw data
◦ Pre-processed
◦ Compressed
 Frequency of Data Storage for Sensor Data
◦ Tradeoff between precision and quantity
Database Types / Data Models
 Relational
 OO
 Hybrid (Object-Relational)
 Temporal
 Deductive
 Others
◦ Spatial, …
Data Representations
 Relational
◦ We all know…flat tables of atomic attributes
with foreign key relationships
 OO
◦ Complex data reps
 multivalued, composite
 Temporal
◦ Relational model: add valid start, end dates to
each table (versions of info and when valid)
◦ Includes time, events, durations…
Operations
 DDL/DML (data def/manip languages)
◦ SQL
◦ OQL
 Update operations
◦ Built-in insert, delete, update
◦ Stored procedures for triggers, active (ECA)
rules
Example Operations for Temporal
Databases
 INCLUDES
◦ Rows valid in a certain time period
 BEFORE/AFTER a time condition
 Set operations
◦ Union, intersection of 2 time periods
Distributed vs. Centralized
 Centralized database can produce a
bottleneck
◦ Large volume of data input
◦ Large database
◦ Large volume of queries
 In distributed databases, data
consistency, replication, and retrieval can
be more problematic
◦ Consistency of schemas
◦ Retrieval in case the data location is not known
◦ Communication overhead to ensure database
consistency
Types of Database Systems
 Commercial
◦ DB2
◦ Empress
◦ Informix
◦ Oracle
◦ MS Access
◦ MS SQL
◦ Sybase
 Free
◦ Berkeley DB
◦ PostgreSQL
◦ MySQL
Database System
 Database:
A collection of related data.
 Data:
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.
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 system environment
Example
 A UNIVERSITY database for maintaining information
concerning students, courses, and grades in a
university environment
 We have:
STUDENT file stores data on each student
COURSE file stores data on each course
SECTION file stores data on each section of each
course
GRADE_REPORT file stores the grades that students
receive
PREREQUISITE file stores the prerequisites
Example of a simple database
Database manipulation
 Database manipulation involves querying
and updating
 Examples of querying are:
Retrieve a transcript
List the prerequisites of the “Database”
course
 Examples of updating are:
Enter a grade of “A” for “Smith” in
“Database” course
Advantages of using the DBMS
approach
 Restricting unauthorized access to data
 Providing Storage Structures (e.g.
indexes) for efficient Query Processing
 Providing backup and recovery services
 Providing multiple interfaces to different
classes of users
 Representing complex relationships
among data

More Related Content

Viewers also liked

Online shopping system (E-commerce)
Online shopping system (E-commerce)Online shopping system (E-commerce)
Online shopping system (E-commerce)Sarp Infotech
 
Energy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNEnergy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNZubin Bhuyan
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 
Online shopping portal: Software Project Plan
Online shopping portal: Software Project PlanOnline shopping portal: Software Project Plan
Online shopping portal: Software Project Planpiyushree nagrale
 
Online shopping system
Online shopping systemOnline shopping system
Online shopping systemNik_Panchal
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation Smit Patel
 
Online shopping report-6 month project
Online shopping report-6 month projectOnline shopping report-6 month project
Online shopping report-6 month projectGinne yoffe
 
Online shopping ppt by rohit jain
Online shopping ppt by rohit jainOnline shopping ppt by rohit jain
Online shopping ppt by rohit jainRohit Jain
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system fileSunil Jaiswal
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Jargalsaikhan Alyeksandr
 

Viewers also liked (14)

Online shopping system (E-commerce)
Online shopping system (E-commerce)Online shopping system (E-commerce)
Online shopping system (E-commerce)
 
Energy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSNEnergy Efficient Data Gathering Protocol in WSN
Energy Efficient Data Gathering Protocol in WSN
 
Ch 21
Ch 21Ch 21
Ch 21
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Online shopping portal: Software Project Plan
Online shopping portal: Software Project PlanOnline shopping portal: Software Project Plan
Online shopping portal: Software Project Plan
 
Routing Protocols in WSN
Routing Protocols in WSNRouting Protocols in WSN
Routing Protocols in WSN
 
Online shopping system
Online shopping systemOnline shopping system
Online shopping system
 
Airlines Database Design
Airlines Database DesignAirlines Database Design
Airlines Database Design
 
Air ticket reservation system presentation
Air ticket reservation system presentation Air ticket reservation system presentation
Air ticket reservation system presentation
 
Onlineshopping
OnlineshoppingOnlineshopping
Onlineshopping
 
Online shopping report-6 month project
Online shopping report-6 month projectOnline shopping report-6 month project
Online shopping report-6 month project
 
Online shopping ppt by rohit jain
Online shopping ppt by rohit jainOnline shopping ppt by rohit jain
Online shopping ppt by rohit jain
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
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
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Database assignment help

  • 2. Type of Data to Store  Type of Data ◦ Raw data ◦ Pre-processed ◦ Compressed  Frequency of Data Storage for Sensor Data ◦ Tradeoff between precision and quantity
  • 3. Database Types / Data Models  Relational  OO  Hybrid (Object-Relational)  Temporal  Deductive  Others ◦ Spatial, …
  • 4. Data Representations  Relational ◦ We all know…flat tables of atomic attributes with foreign key relationships  OO ◦ Complex data reps  multivalued, composite  Temporal ◦ Relational model: add valid start, end dates to each table (versions of info and when valid) ◦ Includes time, events, durations…
  • 5. Operations  DDL/DML (data def/manip languages) ◦ SQL ◦ OQL  Update operations ◦ Built-in insert, delete, update ◦ Stored procedures for triggers, active (ECA) rules
  • 6. Example Operations for Temporal Databases  INCLUDES ◦ Rows valid in a certain time period  BEFORE/AFTER a time condition  Set operations ◦ Union, intersection of 2 time periods
  • 7. Distributed vs. Centralized  Centralized database can produce a bottleneck ◦ Large volume of data input ◦ Large database ◦ Large volume of queries  In distributed databases, data consistency, replication, and retrieval can be more problematic ◦ Consistency of schemas ◦ Retrieval in case the data location is not known ◦ Communication overhead to ensure database consistency
  • 8. Types of Database Systems  Commercial ◦ DB2 ◦ Empress ◦ Informix ◦ Oracle ◦ MS Access ◦ MS SQL ◦ Sybase  Free ◦ Berkeley DB ◦ PostgreSQL ◦ MySQL
  • 9. Database System  Database: A collection of related data.  Data: 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.
  • 10. 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
  • 12. Example  A UNIVERSITY database for maintaining information concerning students, courses, and grades in a university environment  We have: STUDENT file stores data on each student COURSE file stores data on each course SECTION file stores data on each section of each course GRADE_REPORT file stores the grades that students receive PREREQUISITE file stores the prerequisites
  • 13. Example of a simple database
  • 14. Database manipulation  Database manipulation involves querying and updating  Examples of querying are: Retrieve a transcript List the prerequisites of the “Database” course  Examples of updating are: Enter a grade of “A” for “Smith” in “Database” course
  • 15. Advantages of using the DBMS approach  Restricting unauthorized access to data  Providing Storage Structures (e.g. indexes) for efficient Query Processing  Providing backup and recovery services  Providing multiple interfaces to different classes of users  Representing complex relationships among data