15
Database Assignment Help [email protected] m http:// www.myassignmenthelpers.com/

Database assignment help

Embed Size (px)

Citation preview

Page 1: Database assignment help

Database Assignment Help

[email protected]

http://www.myassignmenthelpers.com/

Page 2: Database assignment help

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

Page 3: Database assignment help

Database Types / Data Models

RelationalOOHybrid (Object-Relational)TemporalDeductiveOthers

◦Spatial, …

Page 4: Database assignment help

Data Representations

Relational◦We all know…flat tables of atomic attributes

with foreign key relationshipsOO

◦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…

Page 5: Database assignment help

Operations

DDL/DML (data def/manip languages)◦SQL◦OQL

Update operations◦Built-in insert, delete, update◦Stored procedures for triggers, active (ECA)

rules

Page 6: Database assignment help

Example Operations for Temporal Databases

INCLUDES◦Rows valid in a certain time period

BEFORE/AFTER a time conditionSet operations

◦Union, intersection of 2 time periods

Page 7: Database assignment help

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

Page 8: Database assignment help

Types of Database Systems

Commercial◦DB2◦Empress◦ Informix◦Oracle◦MS Access◦MS SQL◦Sybase

Free◦Berkeley DB◦PostgreSQL◦MySQL

Page 9: Database assignment help

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 theDefine, Construct, Manipulate and Share

functions of a computerized database.

Page 10: Database assignment help

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

Page 11: Database assignment help

Database system environment

Page 12: Database assignment help

Example

A UNIVERSITY database for maintaining information concerning students, courses, and grades in a university environment

We have:STUDENT file stores data on each studentCOURSE file stores data on each courseSECTION file stores data on each section of each courseGRADE_REPORT file stores the grades that students

receive PREREQUISITE file stores the prerequisites

Page 13: Database assignment help

Example of a simple database

Page 14: Database assignment help

Database manipulation

Database manipulation involves querying and updating

Examples of querying are:Retrieve a transcriptList the prerequisites of the “Database”

courseExamples of updating are:Enter a grade of “A” for “Smith” in

“Database” course

Page 15: Database assignment help

Advantages of using the DBMS approach

Restricting unauthorized access to dataProviding Storage Structures (e.g.

indexes) for efficient Query ProcessingProviding backup and recovery servicesProviding multiple interfaces to different

classes of usersRepresenting complex relationships

among data