DOC PREVIEW
UMBC CMSC 691 - An Introduction to DBMS Technology

This preview shows page 1-2-3-23-24-25-26-46-47-48 out of 48 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 48 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

An Introduction to DBMS TechnologyPresentation OverviewTransactionDatabases and Information EconomyDatabase versus File SystemData Independence and Access EfficiencyConcurrency Control and Data IntegrityReliability and SecurityData Distribution and HeterogeneityCategories of Data ModelsLevels of Abstraction in a Database3-schema Architecture3-Schema Architecture (cont'd)The Entity-Relational ModelThe E-R Model (2)Data ModelThe Relational Model (Codd 1970)Definitions: Domain & RelationRelational Model (cont’d)Slide 20KeysIntegrity ConstraintsForeign KeysE-R to Relations (I.e., Defining Relations)Translating from E-RSchema NormalizationQuery and Update LanguagesRelational Query LanguagesSQLSQL (cont’d)SQL Data TypesSQL Data Types (cont’d)Data Definition LanguageSQL SchemaDropAlterData Manipulation LanguageData Query: SELECTRelational Operators in SQLData UpdateData Update (cont’d)SQL ViewsView SpecificationView ResolutionUpdating ViewsUpdating Views (2)CHECK OPTIONSQL Constraints1An Introduction to DBMS TechnologyYelena YeshaOlga Streltchenko2Presentation OverviewDatabase functionalityRelational Data ModelSQLWeb-Database Connectivity3Transaction A transaction is an exchange of:Information;Goods;Services;Currency/currencies;Transaction propertiesAtomicity: a transaction must be all or nothing.Consistency: a transaction takes the system from one consistent state to another.Isolation.Durability.4Databases and Information EconomyShift from computation to information;corporate computing;personal computing and the Internet;scientific computing.Growing importance of transaction-orientation and information retrieval.The database field concentrates on the efficient management of large amounts of persistent, reliable shared data.5Database versus File SystemDatabase management systems (DBMS) is a software that provides transaction support by implementing Data independence;Data access efficiency;Concurrency control ;Data integrity;Reliability;Security;Data distribution and heterogeneity.6Data Independence and Access EfficiencyDBMS allows to avoid rewriting all access routines every time the data format changes or data is added/modified/deleted. insulate applications from data storage details.Logical independence: protection from changes in logical structure of data.Physical independence: protection from changes in physical structure of data.DBMS maintains data structures and implements algorithms allowing to avoid linear searchindexing: search in O(log n);fast access even on complex data queries.7Concurrency Control and Data IntegrityInterleaving actions of different applications boosts performance.DBMS insures semantically correct access to the same data by concurrent applicationstwo programs accessing the same data at the same time can result in an inconsistent update;implement sharing in a controlled manner.Data semantics may require certain constraints to be satisfied.DBMS guarantees that application programs comply with the constraints when adding/modifying the data.8Reliability and SecurityDBMS provides techniques for recovery from software and hardware failuresguarantee survival of the data across catastrophes.DBMS prevents unauthorized users from accessing/modifying data or denying service to other users.9Data Distribution and HeterogeneityCentralization is the enemy of scalabilitya vast number of modern applications are distributed.Data sharing in a distributed environment is a challenge.Heterogeneity applies to networks, hardware, operating systems, programming languages, data formats, etc.Distributed applications must mask the differences.Need distributed data management.10Categories of Data ModelsHigh-level or conceptualentities, attributes, relationships.Representational or implementation or logicalrelational, network hierarchical, object-oriented, object-relational.Physical or low-leveldata storage.11Levels of Abstraction in a DatabaseSchema versus Instanceschema = description of the data that captures data types, relationships, constraints on the data;lmeta-data (data about data), knowledge, e.g., Employees(EmpName, EmpNo, Dept, Sal)is independent of any application programchanges infrequentlyinstance = set of records/tuples/rows for that schema, the actual data in the database at a given timetime-varyinge.g., <Jane, 201, Shoe, 1M>,<Susan, 302, Toy, 1M>123-schema ArchitecturePhysical level description of a database:how things are stored on disk:files, record structures, indices, data structures for disk blocks, methodology for dealing with too long records, etc.Conceptual level description of a databaseThe description of application data (its schema) using one of the traditional data models.133-Schema Architecture (cont'd)View-level description of a databaseWhat users of a particular application seetheir own customized schema, e.g., for payroll, for the ticket agent, for a simulation program.Multiple levels helps with data independence;helps with maintenance.Many views, single logical and physical schema.Levels of abstraction give data independence.14The Entity-Relational ModelEntity: a distinguishable object.Entity set: a set of entities all of the same type.Attribute: a single property of an entity;simple vs composite; single-valued vs multi-valued; stored vs derived; null values.Domain: set of values permitted for that attribute.15The E-R Model (2)Relationship: an association between two or more entities.Relationship set: a set of relationships all of the same typeThere is no correct schema for a batch of data. Which schema is best depends on the application.Many basic data modelling choices depend on an understanding of the application.16Data ModelData model: notation for describing data, plus a set of operations used to manipulate that data.a set of primitives for defining the structure of a DB;a set of operations for specifying the retrievals and updates on a DB;relational, hierarchical, network, object-oriented.17The Relational Model (Codd 1970)The relational data model is the most important data model currently existing.Value-oriented, i.e., allows operations on relations whose results are relations, thus enables to combine operations.As opposed to object-oriented


View Full Document

UMBC CMSC 691 - An Introduction to DBMS Technology

Documents in this Course
NOTES

NOTES

8 pages

OWL

OWL

109 pages

Security

Security

53 pages

SIP

SIP

45 pages

Proposals

Proposals

30 pages

Proposals

Proposals

30 pages

Load more
Download An Introduction to DBMS Technology
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view An Introduction to DBMS Technology and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view An Introduction to DBMS Technology 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?