Upload
saagarseth
View
213
Download
0
Embed Size (px)
Citation preview
8/13/2019 DAN 613 - Computer Applications 2013-14
1/25
20
8/13/2019 DAN 613 - Computer Applications 2013-14
2/25
8/13/2019 DAN 613 - Computer Applications 2013-14
3/25
8/13/2019 DAN 613 - Computer Applications 2013-14
4/25
8/13/2019 DAN 613 - Computer Applications 2013-14
5/25
8/13/2019 DAN 613 - Computer Applications 2013-14
6/25
8/13/2019 DAN 613 - Computer Applications 2013-14
7/25
8/13/2019 DAN 613 - Computer Applications 2013-14
8/25
S
8/13/2019 DAN 613 - Computer Applications 2013-14
9/25
DBMS Bene
Improved strategic use of corporate data
Reduced complexity of the organizationinformation systems environment
Reduced data redundancy and inconsisten
Enhanced data integrity
Application-data independence
Improved security
DBMS B f
8/13/2019 DAN 613 - Computer Applications 2013-14
10/25
DBMS Benef
Reduced application development andmaintenance costs
Improved flexibility of information systems
Increased access and availability of data andinformation
Logical & Physical data independence
Concurrent access anomalies
Facilitate atomicity problem
Provides central control on the system through D
8/13/2019 DAN 613 - Computer Applications 2013-14
11/25
8/13/2019 DAN 613 - Computer Applications 2013-14
12/25
8/13/2019 DAN 613 - Computer Applications 2013-14
13/25
8/13/2019 DAN 613 - Computer Applications 2013-14
14/25
8/13/2019 DAN 613 - Computer Applications 2013-14
15/25
Data Hierarchy
Database Collection of
interrelated data
File A group of
interrelated records
Record
Field
Byte Bit
Personal
Data file
Credit
History file
Transaction
Data file
Last Name
Shetty
First Name
Lalith
Address
89 A, Block II
Manipal
Phone no
29282833
Shetty Lalith 89 A, Block II
Manipal
29282833
L a l i t h
Last Name First Name Address Phone no
0 or 1
8/13/2019 DAN 613 - Computer Applications 2013-14
16/25
8/13/2019 DAN 613 - Computer Applications 2013-14
17/25
8/13/2019 DAN 613 - Computer Applications 2013-14
18/25
8/13/2019 DAN 613 - Computer Applications 2013-14
19/25
Salesmanrecord
CustomRecor
Accrece
Salesstatistics
record
8/13/2019 DAN 613 - Computer Applications 2013-14
20/25
Hierarchical Model
This helps to establish explicit or logicalrelationship among various data elemen
of multiple files
Each BOX is referred record also called aa node
Record that has subsidiary records calleas PARENT
SUBSIDIARY called as CHILD
8/13/2019 DAN 613 - Computer Applications 2013-14
21/25
R l ti l M d l
8/13/2019 DAN 613 - Computer Applications 2013-14
22/25
Relational Model
A relational database allows the definition
data structures, storage and retrieval
operations and integrity constraints.
In such a database the data and relationsbetween them are organised in tables.
A table is a collection of records and each
record in a table contains the same fields.
8/13/2019 DAN 613 - Computer Applications 2013-14
23/25
Oracle
DB2
Sybase Adaptive
Server Enterprise
FileMaker
Firebird
Ingres
Informix
Microsoft Access
Relational
8/13/2019 DAN 613 - Computer Applications 2013-14
24/25
Relational In the relational data model, the data
database is organized in relations. A relatio
synonymous with a table.
A relational database is a database conforms to the relational model, and refers
database's data and schema (the databastructure of how those data are arranged).
The term "relational database is sometiinformally used to refer to a relational datab
management system, which is the software th
used to create and use a relational database
Keys
8/13/2019 DAN 613 - Computer Applications 2013-14
25/25
Keys
Primary Key: A unique key is a kind of constrainthat ensures that an object, or critical informatio
about the object, occurs in at most one tuple in a
given relation
Foreign key is a reference to a key in anotherrelation, meaning that the referencing Tuple has
one of its attributes, the values of a key in the
referenced tuple