Stop thinking about WHAT WILL HAPPEN and start thinking about WHAT YOU CAN DO.
--Your friends at LectureNotes

Note for Database Management System - DBMS By vtu rangers

  • Database Management System - DBMS
  • Note
  • Visvesvaraya Technological University Regional Center - VTU
  • 10 Topics
  • 310 Offline Downloads
  • Uploaded 2 years ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-2

DBMS 15CS53 (aggregate, grouping, etc.) Examples of Queries in relational algebra. Mapping Conceptual Design into a Logical Design: Relational Database Design using ER-to-Relational mapping. SQL: SQL data definition and data types, specifying constraints in SQL, retrieval queries in SQL, INSERT, DELETE, and UPDATE statements in SQL, Additional features of SQL. Textbook 1: Ch4.1 to 4.5, 2.1 to 2.3, 6.1 to 6.5, 8.1; Textbook 2: 1.15 Module – 3 Teaching Hours 10 SQL : Advances Queries: More complex SQL retrieval queries, Specifying constraints as assertions and action triggers, Views in SQL, Schema change statements in SQL. Database Application Development: Accessing databases from applications, An introduction to JDBC, JDBC classes and interfaces, SQLJ, Stored procedures, Case study: The internet Bookshop. Internet Applications: The three-Tier application architecture, The presentation layer, The Middle Tier Textbook 1: Ch7.1 to 7.4; Textbook 2: 6.1 to 6.6, 7.5 to 7.7. Module – 4 Teaching Hours 10 Normalization: Database Design Theory – Introduction to Normalization using Functional and Multivalued Dependencies: Informal design guidelines for relation schema, Functional Dependencies, Normal Forms based on Primary Keys, Second and Third Normal Forms, BoyceCodd Normal Form, Multivalued Dependency and Fourth Normal Form, Join Dependencies and Fifth Normal Module – 5 Teaching Hours 10 Transaction Processing: Introduction to Transaction Processing, Transaction and System concepts, Desirable properties of Transactions, Characterizing schedules based on recoverability, Characterizing schedules based on Serializability, Transaction support in SQL. Concurrency Control in Databases: Two-phase locking techniques for Concurrency control, Concurrency control based on Timestamp ordering, Multiversion Concurrency control techniques, Validation Concurrency control techniques, Granularity of Data items and Multiple Granularity Locking. Dept of CSE, SJBIT Page 2

Text from page-3

DBMS 15CS53 Introduction to Database Recovery Protocols: Recovery Concepts, NO-UNDO/REDO recovery based on Deferred update, Recovery techniques based on immediate update, Shadow paging, Database backup and recovery from catastrophic failures Textbook 1: 20.1 to 20.6, 21.1 to 21.7, 22.1 to 22.4, 22.7. Course outcomes: The students should be able to: Identify, analyze and define database objects, enforce integrity constraints on a Database using RDBMS. Use Structured Query Language (SQL) for database manipulation. Design and build simple database systems Develop application to interact with databases. Question paper pattern: The question paper will have TEN questions. There will be TWO questions from each module. Each question will have questions covering all the topics under a module. The students will have to answer FIVE full questions, selecting ONE full question from each module. Text Books: 1. Fundamentals of Database Systems, RamezElmasri and Shamkant B. Navathe, 7th Edition, 2017, Pearson. 2. Database management systems, Ramakrishnan, and Gehrke, 3rd Edition, 2014, McGraw Hill Reference Books: 1. SilberschatzKorth and Sudharshan, Database System Concepts, 6th Edition, Mc- GrawHill, 2013. Dept of CSE, SJBIT Page 3

Text from page-4

DBMS 15CS53 MODULE-1 Introduction to Database Introduction Database is a collection of related data. Database management system is software designed to assist the maintenance and utilization of large scale collection of data. DBMS came into existence in 1960 by Charles. Integrated data store which is also called as the first general purpose DBMS. Again in 1960 IBM brought IMS-Information management system. In 1970 Edgor Codd at IBM came with new database called RDBMS. In 1980 then came SQL Architecture- Structure Query Language. In 1980 to 1990 there were advances in DBMS e.g. DB2, ORACLE. Data • Data is raw fact or figures or entity. • When activities in the organization takes place, the effect of these activities need to be recorded which is known as Data. Information • Processed data is called information • The purpose of data processing is to generate the information required for carrying out the business activities. In general data management consists of following tasks • Data capture: Which is the task associated with gathering the data as and when they originate. • Data classification: Captured data has to be classified based on the nature and intended usage. • Data storage: The segregated data has to be stored properly. • Data arranging: It is very important to arrange the data properly • Data retrieval: Data will be required frequently for further processing, Dept of CSE, SJBIT Page 4

Text from page-5

DBMS 15CS53 Hence it is very important to create some indexes so that data can be retrieved easily. • Data maintenance: Maintenance is the task concerned with keeping the data uptodate. • Data Verification: Before storing the data it must be verified for any error. • Data Coding: Data will be coded for easy reference. • Data Editing: Editing means re-arranging the data or modifying the data for presentation. • Data transcription: This is the activity where the data is converted from one form into another. • Data transmission: This is a function where data is forwarded to the place where it would be used further. Metadata (meta data, or sometimes meta information) is "data about data", of any sort in any media. An item of metadata may describe a collection of data including multiple content items and hierarchical levels, for example a database schema. In data processing, metadata is definitional data that provides information about or documentation of other data managed within an application or environment. The term should be used with caution as all data is about something, and is therefore metadata. Database • Database may be defined in simple terms as a collection of data • A database is a collection of related data. • The database can be of any size and of varying complexity. • A database may be generated and maintained manually or it may be computerized. Database Management System • A Database Management System (DBMS) is a collection of program that enables user to create and maintain a database. • The DBMS is hence a general purpose software system that facilitates the process of defining constructing and manipulating database for various applications. Dept of CSE, SJBIT Page 5

Lecture Notes