Chapter 1 Introduction To Databases and Transactions
Chapter 1 Introduction To Databases and Transactions
Transactions
UNIT 1
Outline
● Database system
● Purpose of Database system
● Data Models
● Relational Databases
● Database archtecture
● Database Design
● Storage Manager
● Query Processing
● Transaction Manager
Database is collection of ____
● Banking: transactions
● Airlines: reservations, schedules
● Universities: registration, grades
● Sales: customers, products, purchases
● Online retailers: order tracking, customized recommendations
● Manufacturing: production, inventory, orders, supply chain
● Human resources: employee records, salaries, tax deductions
File Processing system
DISADVANTAGES OF FILE PROCESSING SYSTEM
Duplication of data at several places is called
as _______________.
row
A example Relational Database
XML: Extensible Markup Language
● Defined by the WWW Consortium (W3C)
● Originally intended as a document markup language not a
database language
● The ability to specify new tags, and to create nested tag structures
made XML a great way to exchange data, not just documents
● XML has become the basis for all new generation data
interchange formats.
● A wide variety of tools is available for parsing, browsing and
querying XML documents/data
Object-Relational Data Models
● Relational model: flat, “atomic” values
● Object Relational Data Models
● Extend the relational data model by including object orientation
and constructs to deal with added data types.
● Allow attributes of tuples to have complex types, including
non-atomic values such as nested relations.
● Preserve relational foundations, in particular the declarative
access to data, while extending modeling power.
● Provide upward compatibility with existing relational languages.
Database Design
● Need to come up with a methodology to ensure that each of the
relations in the database is “good”
● Two ways of doing so:
● l Entity Relationship Model (Chapter 7)
Models an enterprise as a collection of entities and relationships
Represented diagrammatically by an entity-relationship diagram:
● lNormalization Theory (Chapter 8)
Formalize what designs are bad, and test for them
Views of Data
It refers that how database is actually stored in database, what
data and structure of data used by database for data. So
describe all this database provides user with views and these are
● Data abstraction