This document provides an introduction to database management systems. It discusses the history of databases from the 1950s to present day. It also describes the key components of a database system including data models, query languages, database design, storage management, transaction processing, and more. The goal of a database management system is to allow convenient and efficient data storage and access.
The document provides an overview of database management systems (DBMS). It discusses that a DBMS contains organized data about an enterprise. It offers advantages over file systems like avoiding data redundancy and inconsistencies. The document describes database applications, levels of abstraction in a DBMS, the relational data model using tables and SQL, and components of the database engine like storage management, query processing, and transaction management. It also provides a brief history of database systems from the 1950s to modern times.
This document provides an introduction and overview of an IS220 Database Systems course. It outlines that the course will cover topics like database design, file organization, indexing and hashing, query processing and optimization, transactions, object-oriented and XML databases. It notes that the class will be 70% theory and 30% hands-on assignments completed in pairs. Assessment will include group work, tests, and a final exam. Class rules require punctuality, use of English, dressing professionally, and minimum 80% attendance.
The document provides an overview of database systems, including their purpose, components, and history. It discusses how database systems address issues with using file systems to store data, such as data redundancy, difficulty of accessing data, integrity problems, and concurrent access. The key components of a database system are the database management system (DBMS), data models, data definition and manipulation languages, database design, storage and querying, transaction management, architecture, users, and administrators. The relational model and SQL are introduced as widely used standards. A brief history outlines the evolution from early data processing using tapes and cards to modern database systems.
dbms lecture 1.pptx , where traditional file system vs database management ar...dbmscse61
This document provides an overview of database management systems (DBMS). It discusses that a DBMS allows data to be stored, maintained, and retrieved in an organized manner. It also summarizes key DBMS components like data models, data definition and manipulation languages, database design approaches, and the storage manager. The document is an introductory overview of DBMS concepts.
The document provides an overview of database management systems and the relational model. It discusses key concepts such as:
- The structure of relational databases using relations, attributes, tuples, domains, and relation schemas.
- Entity-relationship modeling and the relational algebra operations used to manipulate relational data, including selection, projection, join, and set operations.
- Additional relational concepts like primary keys, foreign keys, and database normalization to reduce data redundancy and inconsistencies.
The summary captures the main topics and essential information about database systems and the relational model covered in the document in 3 sentences.
The document provides an introduction to database management systems (DBMS). It discusses what a DBMS is and contains, common database applications, and drawbacks of file-based data management. It also covers database languages, transaction management, schemas versus database states, three-schema architecture, and database system structure components like the storage manager and query processor.
This document provides an overview of database management systems. It defines key concepts like what is a database, database system components, and why databases are used. It describes drawbacks of using file systems to store data that databases address. It also explains the three architecture levels (external, conceptual, internal), database users and administrators, and classifications of DBMSs.
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptxVardhanpatil7
1. Maslow’s Theory of Hierarchical Needs
Abraham Maslow postulated that a person will be motivated when all his needs are fulfilled. People do not work for security or money, but they work to contribute and to use their skills. He demonstrated this by creating a pyramid to show how people are motivated and mentioned that ONE CANNOT ASCEND TO
1. Maslow’s Theory of Hierarchical Needs
Abraham Maslow postulated that a person will be motivated when all his needs are fulfilled. People do not work for security or money, but they work to contribute and to use their skills. He demonstrated this by creating a pyramid to show how people are motivated and mentioned that ONE CANNOT ASCEND TO THE NEXT LEVEL UNLESS LOWER-LEVEL NEEDS ARE FULFILLED. The lowest level needs in the pyramid are basic needs and unless these lower-level needs are satisfied peopleTHE NEXT LEVEL UNLESS LOWER-LEVEL NEEDS ARE FULFILLED. The lowest level needs in the pyramid are basic needs and unless these lower-level needs are satisfied people
This document defines database and DBMS, describes their advantages over file-based systems like data independence and integrity. It explains database system components and architecture including physical and logical data models. Key aspects covered are data definition language to create schemas, data manipulation language to query data, and transaction management to handle concurrent access and recovery. It also provides a brief history of database systems and discusses database users and the critical role of database administrators.
This document defines database and DBMS, describes their advantages over file-based systems like data independence and integrity. It explains database system components and architecture including physical and logical data models. Key aspects covered are data definition language to create schemas, data manipulation language to query data, and transaction management to handle concurrent access and recovery. It also provides a brief history of database systems and discusses database users and the critical role of database administrators.
Define Database Management System (DBMS) and database
Describe the advantages and disadvantages of DBMS to file based system.
Analyses structure models in Database
This document provides an overview of CS8492 - Database Management Systems course objectives and content. The course aims to teach fundamental database concepts including data models, relational databases, SQL, transaction processing, and storage techniques. It covers topics such as the relational model, keys, normalization, database architecture, languages, and integrity constraints. The document also provides examples and definitions of relational database concepts.
01-Database Administration and Management.pdfTOUSEEQHAIDER14
This document provides an introduction and overview of database systems. It discusses the purpose of database systems in addressing issues with file-based data storage like data redundancy, inconsistent data, and difficulty of data access. It also describes database applications, data models, database languages like SQL, database design, database architecture, and the major components of a database system including the storage manager, query processor, and transaction manager.
This document provides an overview of database management systems. It discusses the objectives of studying databases including data models, SQL, transaction processing, and storage techniques. It also describes different data models like relational, ER, and object-oriented models. Key components of a database system architecture are explained including users, applications, query processor, and storage manager. Advantages and disadvantages of database systems compared to file processing systems are also summarized.
This document defines key database concepts like databases, database management systems (DBMS), and database applications. It describes the purpose of using a DBMS over file systems, which had drawbacks like data redundancy, integrity issues, and concurrent access problems. A DBMS provides solutions to these issues through its data definition language, data manipulation language, storage management, query processing, transaction processing, and concurrency control functions.
The document provides an overview of database systems and their components. It discusses the purpose of database systems, database languages, data models, database internals including storage management, query processing and transaction management. It also describes different types of database users and the role of the database administrator.
The document provides an introduction to database management systems (DBMS). It discusses what a DBMS is and contains, common database applications, and drawbacks of file-based data management. It also covers database languages, transaction management, schemas versus database states, three-schema architecture, and database system structure components like the storage manager and query processor.
This document provides an overview of database management systems. It defines key concepts like what is a database, database system components, and why databases are used. It describes drawbacks of using file systems to store data that databases address. It also explains the three architecture levels (external, conceptual, internal), database users and administrators, and classifications of DBMSs.
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptxVardhanpatil7
1. Maslow’s Theory of Hierarchical Needs
Abraham Maslow postulated that a person will be motivated when all his needs are fulfilled. People do not work for security or money, but they work to contribute and to use their skills. He demonstrated this by creating a pyramid to show how people are motivated and mentioned that ONE CANNOT ASCEND TO
1. Maslow’s Theory of Hierarchical Needs
Abraham Maslow postulated that a person will be motivated when all his needs are fulfilled. People do not work for security or money, but they work to contribute and to use their skills. He demonstrated this by creating a pyramid to show how people are motivated and mentioned that ONE CANNOT ASCEND TO THE NEXT LEVEL UNLESS LOWER-LEVEL NEEDS ARE FULFILLED. The lowest level needs in the pyramid are basic needs and unless these lower-level needs are satisfied peopleTHE NEXT LEVEL UNLESS LOWER-LEVEL NEEDS ARE FULFILLED. The lowest level needs in the pyramid are basic needs and unless these lower-level needs are satisfied people
This document defines database and DBMS, describes their advantages over file-based systems like data independence and integrity. It explains database system components and architecture including physical and logical data models. Key aspects covered are data definition language to create schemas, data manipulation language to query data, and transaction management to handle concurrent access and recovery. It also provides a brief history of database systems and discusses database users and the critical role of database administrators.
This document defines database and DBMS, describes their advantages over file-based systems like data independence and integrity. It explains database system components and architecture including physical and logical data models. Key aspects covered are data definition language to create schemas, data manipulation language to query data, and transaction management to handle concurrent access and recovery. It also provides a brief history of database systems and discusses database users and the critical role of database administrators.
Define Database Management System (DBMS) and database
Describe the advantages and disadvantages of DBMS to file based system.
Analyses structure models in Database
This document provides an overview of CS8492 - Database Management Systems course objectives and content. The course aims to teach fundamental database concepts including data models, relational databases, SQL, transaction processing, and storage techniques. It covers topics such as the relational model, keys, normalization, database architecture, languages, and integrity constraints. The document also provides examples and definitions of relational database concepts.
01-Database Administration and Management.pdfTOUSEEQHAIDER14
This document provides an introduction and overview of database systems. It discusses the purpose of database systems in addressing issues with file-based data storage like data redundancy, inconsistent data, and difficulty of data access. It also describes database applications, data models, database languages like SQL, database design, database architecture, and the major components of a database system including the storage manager, query processor, and transaction manager.
This document provides an overview of database management systems. It discusses the objectives of studying databases including data models, SQL, transaction processing, and storage techniques. It also describes different data models like relational, ER, and object-oriented models. Key components of a database system architecture are explained including users, applications, query processor, and storage manager. Advantages and disadvantages of database systems compared to file processing systems are also summarized.
This document defines key database concepts like databases, database management systems (DBMS), and database applications. It describes the purpose of using a DBMS over file systems, which had drawbacks like data redundancy, integrity issues, and concurrent access problems. A DBMS provides solutions to these issues through its data definition language, data manipulation language, storage management, query processing, transaction processing, and concurrency control functions.
The document provides an overview of database systems and their components. It discusses the purpose of database systems, database languages, data models, database internals including storage management, query processing and transaction management. It also describes different types of database users and the role of the database administrator.
This document provides an overview of operating systems including definitions, functions, types, popular operating systems, and top five operating systems. It defines an operating system as an interface between the user and computer hardware that controls execution of programs. It describes functions such as memory management, processor management, and file management. It discusses types including batch, multiprogramming, time-sharing, distributed, real-time, and network operating systems. The top five computer operating systems are identified as Windows, Mac OS, Chrome OS, Android, and the top five smartphone operating systems as Android, iOS, Windows Mobile, Blackberry OS, and Firefox OS.
Client side validation is performed by a web browser to check form fields before submitting to a server. It can automatically validate required fields and data types using attributes like required. Server side validation then further checks the input on the server after it is submitted. Data validation ensures user input is complete, correct and useful by verifying fields are filled, dates are valid, and text isn't in numeric fields to help get accurate information from users.
Relational algebra consists of operators that allow deriving new relations from old ones. The five main operators are:
1) Union combines relations, 2) Intersection returns common tuples between relations, 3) Difference returns tuples in one relation not in another, 4) Selection returns tuples satisfying a condition, and 5) Projection eliminates columns and removes duplicates. Other operators include Cartesian Product, which pairs all tuples between relations, and Rename, which changes the schema but not instances.
This document discusses key concepts of the relational data model including relations, tuples, attributes, domains, relation schemas, and relation states. It defines these concepts formally and provides examples. Key constraints that must hold for relations are covered, including superkeys, candidate keys, and primary keys. The document is part of a lecture on the relational data model and relational database constraints.
OK_Unit - I Multidisciplinary nature of environmental studies.pptSATHYABAMAMADHANKUMA
Environmental studies is a multidisciplinary field that utilizes information from both physical and social sciences to address various environmental problems. It examines the interactions between natural systems, like air, water, soil, and living organisms. The environment consists of both abiotic and biotic components, as well as different spheres like the atmosphere, hydrosphere, and biosphere. Environmental studies aims to conserve nature and natural resources, protect biodiversity, control pollution, and address social and development issues in a sustainable manner through renewable energy and environmental protection.
An ecosystem is a biological community of interacting organisms and their physical environment. This document discusses different types of ecosystems including terrestrial and aquatic ecosystems. It provides details about forest ecosystems, describing their key components such as producers, consumers, decomposers and abiotic factors. It also discusses grassland ecosystems and their characteristics.
1) Natural resources are classified based on renewability, utility, and origin. Renewable resources can be regenerated while non-renewable resources are limited in stock.
2) Forest, water, mineral, and soil resources are some of the main natural resources and their overuse and mismanagement are causing problems like soil erosion, loss of biodiversity, and land degradation.
3) Sustainable practices like afforestation, rainwater harvesting, wastewater treatment, and judicious resource use can help conserve natural resources for future generations.
HTML 5 introduces several new features for web development including a simplified syntax for common elements like <script> and <link>. It also enables new capabilities like local storage allowing data to be stored locally within the browser. HTML 5 defines a drag and drop API that provides native drag and drop functionality making it easier for developers to implement drag and drop interactions within web applications.
The document discusses database recovery techniques, including the use of logs, backups, caching, and rollback. It covers log-based recovery concepts like write-ahead logging (WAL), as well as alternative update and recovery approaches such as deferred updating, immediate updating, shadow paging, and different combinations of undo/redo operations. Recovery from catastrophic failures can use backups to reload the database and then apply redo log operations to reconstruct the effects of committed transactions.
Risk management involves identifying and managing risks associated with software projects. It aims to avoid disasters or heavy losses. There are three categories of risk: project risks that affect schedule or resources, product risks that affect quality or performance, and business risks that affect the developing or purchasing organization. The risk management process involves identifying risks, analyzing their probability and impact, planning risk avoidance or minimization, monitoring risks, and documenting outcomes. Process visibility is important and can be achieved through documentation, diagrams, training, and tools that make processes accessible. It helps ensure competency and collaboration.
Mrs. B. Sathyabama teaches the subject Database Management Systems (DBMS) to the II MCA batch of 2020-2022 at T John College. The document provides details about the curriculum planning and delivery for DBMS, including expected learning outcomes, student details, the course plan, teaching pedagogy, assignments, and assessment. Various initiatives are planned like guest lectures, assignments involving critical thinking, and library assignments. Reference books and online resources on DBMS are also listed.
The document discusses different types of loaders:
1) "Compile and go" loader directly places assembled machine code into memory without producing object files, wasting memory and time.
2) General loader produces object files from source then loads them, avoiding retranslation and wasting less memory than "compile and go".
3) Absolute loader uses relocated object files that specify load addresses, making loading simple but requiring the programmer to manually perform linking.
New syllabus entomology (Lession plan 121).pdfArshad Shaikh
*Fundamentals of Entomology*
Entomology is the scientific study of insects, including their behavior, ecology, evolution, classification, and management. Insects are the most diverse group of organisms on Earth, with over a million described species. Understanding entomology is crucial for managing insect pests, conserving beneficial insects, and appreciating their role in ecosystems.
*Key Concepts:*
- Insect morphology and anatomy
- Insect physiology and behavior
- Insect ecology and evolution
- Insect classification and identification
- Insect management and conservation
Entomology has numerous applications in agriculture, conservation, public health, and environmental science, making it a vital field of study.
♥☽✷♥
Make sure to catch our weekly updates. Updates are done Thursday to Fridays or its a holiday/event weekend.
Thanks again, Readers, Guest Students, and Loyalz/teams.
This profile is older. I started at the beginning of my HQ journey online. It was recommended by AI. AI was very selective but fits my ecourse style. I am media flexible depending on the course platform. More information below.
AI Overview:
“LDMMIA Reiki Yoga refers to a specific program of free online workshops focused on integrating Reiki energy healing techniques with yoga practices. These workshops are led by Leslie M. Moore, also known as LDMMIA, and are designed for all levels, from beginners to those seeking to review their practice. The sessions explore various themes like "Matrix," "Alice in Wonderland," and "Goddess," focusing on self-discovery, inner healing, and shifting personal realities.”
♥☽✷♥
“So Life Happens-Right? We travel on. Discovering, Exploring, and Learning...”
These Reiki Sessions are timeless and about Energy Healing / Energy Balancing.
A Shorter Summary below.
A 7th FREE WORKSHOP
REiki - Yoga
“Life Happens”
Intro Reflections
Thank you for attending our workshops. If you are new, do welcome. We have been building a base for advanced topics. Also, this info can be fused with any Japanese (JP) Healing, Wellness Plans / Other Reiki /and Yoga practices.
Power Awareness,
Our Defense.
Situations like Destiny Swapping even Evil Eyes are “stealing realities”. It’s causing your hard earned luck to switch out. Either way, it’s cancelling your reality all together. This maybe common recently over the last decade? I noticed it’s a sly easy move to make. Then, we are left wounded, suffering, accepting endless bad luck. It’s time to Power Up. This can be (very) private and quiet. However; building resources/EDU/self care for empowering is your business/your right. It’s a new found power we all can use for healing.
Stressin out-II
“Baby, Calm down, Calm Down.” - Song by Rema, Selena Gomez (Video Premiered Sep 7, 2022)
Within Virtual Work and VR Sims (Secondlife Metaverse) I love catching “Calm Down” On the radio streams. I love Selena first. Second, It’s such a catchy song with an island feel. This blends with both VR and working remotely.
Its also, a good affirmation or mantra to *Calm down* lol.
Something we reviewed in earlier Workshops.
I rarely mention love and relations but theres one caution.
When we date, almost marry an energy drainer/vampire partner; We enter doorways of no return. That person can psychic drain U during/after the relationship. They can also unleash their demons. Their dark energies (chi) can attach itself to you. It’s SYFI but common. Also, involving again, energy awareness. We are suppose to keep our love life sacred. But, Trust accidents do happen. The Energies can linger on. Also, Reiki can heal any breakup damage...
(See Pres for more info. Thx)
TechSoup Microsoft Copilot Nonprofit Use Cases and Live Demo - 2025.05.28.pdfTechSoup
In this webinar we will dive into the essentials of generative AI, address key AI concerns, and demonstrate how nonprofits can benefit from using Microsoft’s AI assistant, Copilot, to achieve their goals.
This event series to help nonprofits obtain Copilot skills is made possible by generous support from Microsoft.
How to Setup Lunch in Odoo 18 - Odoo guidesCeline George
In Odoo 18, the Lunch application allows users a convenient way to order food and pay for their meal directly from the database. Lunch in Odoo 18 is a handy application designed to streamline and manage employee lunch orders within a company.
This study describe how to write the Research Paper and its related issues. It also presents the major sections of Research Paper and various tools & techniques used for Polishing Research Paper
before final submission.
Finding a Right Journal and Publication Ethics are explain in brief.
How to Add a Custom Menu, List view and FIlters in the Customer Portal Odoo 18Celine George
To create a new menu in the "My Accounts" portal and set up a list/form view in Odoo 18, follow these steps. For Example- The custom menu has now been added to the "Fleet" customer portal.
Flower Identification Class-10 by Kushal Lamichhane.pdfkushallamichhame
This includes the overall cultivation practices of rose prepared by:
Kushal Lamichhane
Instructor
Shree Gandhi Adarsha Secondary School
Kageshowri Manohara-09, Kathmandu, Nepal
Principal Satbir Singh writes “Kaba and Kitab i.e. Building Harmandir Sahib and Compilation of Granth Sahib gave Sikhs a central place of worship and a Holy book is the single most important reason for Sikhism to flourish as a new religion which gave them a identity which was separate from Hindu’s and Muslim’s.
What are the Features & Functions of Odoo 18 SMS MarketingCeline George
A key approach to promoting a business's events, products, services, and special offers is through SMS marketing. With Odoo 18's SMS Marketing module, users can notify customers about flash sales, discounts, and limited-time offers.
The 'Oedipus The King Student Revision Booklet' has been designed to help students prepare for writing about this text for a SAC or the exam. It scaffolds students to revise the plot, characters, symbols and dramatic devices of the text and builds their skills to write about the key ideas in response to a range of different types of essay topics.
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesCeline George
The Lunch module in Odoo 18 helps users place their food orders, making meal management seamless and efficient. It allows employees to browse available options, place orders, and track their meals effortlessly.
How to Setup Renewal of Subscription in Odoo 18Celine George
A subscription is a recurring plan where you set a subscription period, such as weekly, monthly, or yearly. Based on this period, the subscription renews automatically. In Odoo 18, you have the flexibility to manage renewals either manually or automatically.
2. Outline
• The Need for Databases
• Data Models
• Relational Databases
• Database Design
• Storage Manager
• Query Processing
• Transaction Manager
9/29/2022
INTRODUCTION 2
3. History of Database Systems
• 1950s and early 1960s:
• Data processing using magnetic tapes for storage
• Tapes provided only sequential access
• Punched cards for input
• Late 1960s and 1970s:
• Hard disks allowed direct access to data
• Network and hierarchical data models in widespread use
• Ted Codd defines the relational data model
• Would win the ACM Turing Award for this work
• IBM Research begins System R prototype
• UC Berkeley begins Ingres prototype
• High-performance (for the era) transaction processing
9/29/2022
INTRODUCTION 3
4. History (cont.)
• 1980s:
• Research relational prototypes evolve into commercial systems
• SQL becomes industrial standard
• Parallel and distributed database systems
• Object-oriented database systems
• 1990s:
• Large decision support and data-mining applications
• Large multi-terabyte data warehouses
• Emergence of Web commerce
• Early 2000s:
• XML and XQuery standards
• Automated database administration
• Later 2000s:
• Giant data storage systems
• Google BigTable, Yahoo PNuts, Amazon, .. 9/29/2022
INTRODUCTION 4
5. Database Management System (DBMS)
• DBMS contains information about a particular enterprise
• Collection of interrelated data
• Set of programs to access the data
• An environment that is both convenient and efficient to use
• Database Applications:
• 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
• Databases can be very large.
• Databases touch all aspects of our lives 9/29/2022
INTRODUCTION 5
6. University Database Example
• Application program examples
• Add new students, instructors, and courses
• Register students for courses, and generate class rosters
• Assign grades to students, compute grade point averages
(GPA) and generate transcripts
• In the early days, database applications were built
directly on top of file systems
9/29/2022
INTRODUCTION 6
7. Drawbacks of using file systems to store data
• Data redundancy and inconsistency
• Multiple file formats, duplication of information in different files
• Difficulty in accessing data
• Need to write a new program to carry out each new task
• Data isolation
• Multiple files and formats
• Integrity problems
• Integrity constraints (e.g., account balance > 0) become “buried”
in program code rather than being stated explicitly
• Hard to add new constraints or change existing ones
9/29/2022
INTRODUCTION 7
8. Drawbacks of using file systems to store data (Cont.)
• Atomicity of updates
• Failures may leave database in an inconsistent state with partial updates carried
out
• Example: Transfer of funds from one account to another should either
complete or not happen at all
• Concurrent access by multiple users
• Concurrent access needed for performance
• Uncontrolled concurrent accesses can lead to inconsistencies
• Example: Two people reading a balance (say 100) and updating it by withdrawing
money (say 50 each) at the same time
• Security problems
• Hard to provide user access to some, but not all, data
Database systems offer solutions to all the above problems
9/29/2022
INTRODUCTION 8
9. Levels of Abstraction
• Physical level: describes how a record (e.g., instructor) is
stored.
• Logical level: describes data stored in database, and the
relationships among the data.
type instructor = record
ID : string;
name : string;
dept_name : string;
salary : integer;
end;
• View level: application programs hide details of data types.
Views can also hide information (such as an employee’s salary)
for security purposes.
9/29/2022
INTRODUCTION 9
10. View of Data
An architecture for a database system
9/29/2022
INTRODUCTION 10
11. Instances and Schemas
• Similar to types and variables in programming languages
• Instance – the actual content of the database at a particular point in time
• Analogous to the value of a variable
• Logical Schema – the overall logical structure of the database
• Example: The database consists of information about a set of customers and
accounts in a bank and the relationship between them
Analogous to type information of a variable in a program
• Physical schema– the overall physical structure of the database
• Physical Data Independence – the ability to modify the physical schema
without changing the logical schema
• Applications depend on the logical schema
• In general, the interfaces between the various levels and components should be well
defined so that changes in some parts do not seriously influence others.
9/29/2022
INTRODUCTION 11
12. Data Models
• A collection of tools for describing
• Data
• Data relationships
• Data semantics
• Data constraints
• Relational model
• Entity-Relationship data model (mainly for database design)
• Object-based data models (Object-oriented and Object-relational)
• Semistructured data model (XML)
• Other older models:
• Network model
• Hierarchical model
9/29/2022
INTRODUCTION 12
13. Relational Model
• All the data is stored in various tables.
• Example of tabular data in the relational model Columns
Rows
9/29/2022
INTRODUCTION 13
15. Data Definition Language (DDL)
• Specification notation for defining the database schema
Example: create table instructor (
ID char(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2))
• DDL compiler generates a set of table templates stored in a data dictionary
• Data dictionary contains metadata (i.e., data about data)
• Database schema
• Integrity constraints
• Primary key (ID uniquely identifies instructors)
• Authorization
• Who can access what
9/29/2022
INTRODUCTION 15
16. Data Manipulation Language (DML)
• Language for accessing and manipulating the data organized
by the appropriate data model
• DML also known as query language
• Two classes of languages
• Pure – used for proving properties about computational power and
for optimization
• Relational Algebra
• Tuple relational calculus
• Domain relational calculus
• Commercial – used in commercial systems
• SQL is the most widely used commercial language
9/29/2022
INTRODUCTION 16
17. SQL
• The most widely used commercial language
• SQL is NOT a Turing machine equivalent language
• SQL is NOT a Turing machine equivalent language
• To be able to compute complex functions SQL is usually
embedded in some higher-level language
• Application programs generally access databases through one
of
• Language extensions to allow embedded SQL
• Application program interface (e.g., ODBC/JDBC) which allow SQL
queries to be sent to a database
9/29/2022
INTRODUCTION 17
18. Database Design
• Logical Design – Deciding on the database schema. Database design
requires that we find a “good” collection of relation schemas.
• Business decision – What attributes should we record in the database?
• Computer Science decision – What relation schemas should we have and how
should the attributes be distributed among the various relation schemas?
• Physical Design – Deciding on the physical layout of the database
The process of designing the general structure of the database:
9/29/2022
INTRODUCTION 18
20. Design Approaches
• Need to come up with a methodology to ensure that each
of the relations in the database is “good”
• Two ways of doing so:
• Entity Relationship Model
• Models an enterprise as a collection of entities and relationships
• Represented diagrammatically by an entity-relationship diagram:
• Normalization Theory
• Formalize what designs are bad, and test for them
9/29/2022
INTRODUCTION 20
21. 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.
9/29/2022
INTRODUCTION 21
22. 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
9/29/2022
INTRODUCTION 22
24. Storage Management
• Storage manager is a program module that provides the
interface between the low-level data stored in the database and
the application programs and queries submitted to the system.
• The storage manager is responsible to the following tasks:
• Interaction with the OS file manager
• Efficient storing, retrieving and updating of data
• Issues:
• Storage access
• File organization
• Indexing and hashing
9/29/2022
INTRODUCTION 24
26. Query Processing (Cont.)
• Alternative ways of evaluating a given query
• Equivalent expressions
• Different algorithms for each operation
• Cost difference between a good and a bad way of evaluating a
query can be enormous
• Need to estimate the cost of operations
• Depends critically on statistical information about relations which the
database must maintain
• Need to estimate statistics for intermediate results to compute cost of
complex expressions
9/29/2022
INTRODUCTION 26
27. Transaction Management
• What if the system fails?
• What if more than one user is concurrently updating the
same data?
• A transaction is a collection of operations that performs a
single logical function in a database application
• Transaction-management component ensures that the
database remains in a consistent (correct) state despite
system failures (e.g., power failures and operating system
crashes) and transaction failures.
• Concurrency-control manager controls the interaction
among the concurrent transactions, to ensure the
consistency of the database.
9/29/2022
INTRODUCTION 27
30. Database Architecture
The architecture of a database systems is greatly influenced by
the underlying computer system on which the database is running:
• Centralized
• Client-server
• Parallel (multi-processor)
• Distributed
9/29/2022
INTRODUCTION 30