1. The document discusses database management systems (DBMS) and provides examples of common database applications like banking, airlines, universities, and more.
2. It then gives examples of university database applications like adding students/courses, registering for classes, assigning grades, and more.
3. Early database applications were built directly on file systems, but DBMS provides advantages like data integrity, security, transaction control, concurrent access, and independence from physical storage.
This document discusses database management systems (DBMS) and their components. It describes DBMS as a set of programs that allow for the storage and retrieval of data. It then discusses the key components of a DBMS including the physical, logical, and view levels of abstraction, data models, data independence, data definition and manipulation languages like SQL, and the roles of database administrators and users. The document provides an overview of the architecture and design of database systems.
Unit 1: Introduction to DBMS Unit 1 CompleteRaj vardhan
油
This document discusses database management systems (DBMS) and their advantages over traditional file-based data storage. It describes the key components of a DBMS, including the hardware, software, data, procedures, and users. It also explains the three levels of abstraction in a DBMS - the physical level, logical level, and view level - and how they provide data independence. Finally, it provides an overview of different data models like hierarchical, network, and relational models.
The document provides an introduction to database management systems (DBMS). It defines what a database and DBMS are, and explains that a DBMS allows users to define, create, and manipulate databases for applications. It also discusses some key components of a DBMS environment, including software, hardware, data, procedures, and database access languages like SQL. The document compares traditional file-based data storage with DBMS approaches and outlines some benefits DBMS provide like reduced redundancy, improved data integrity and sharing, and increased accessibility.
This document provides an overview of database management systems (DBMS). It discusses what a DBMS is, its architecture and components. A DBMS allows for centralized control of data to reduce redundancy and inconsistencies. It also provides data sharing, integrity, security and recovery mechanisms. The document describes the entity-relationship, network, relational and object-oriented data models. It also discusses the three-tier architecture of a DBMS and the concept of data abstraction through the three schema architecture.
The document discusses different database concepts:
1) A database is a collection of organized data that can be easily retrieved, inserted, and deleted. Database management systems (DBMS) like MySQL and Oracle are software used to manage databases.
2) The two main data models are the relational model, which organizes data into tables and relations, and the object-oriented model, which represents data as objects with properties and methods.
3) DBMS provide advantages like data sharing, backup/recovery, security, and independence between data and applications. However, they also have disadvantages such as higher costs and complexity.
This document provides an overview of a Relational Database Management System (RDBMS) unit prepared by D.GAYA, an Assistant Professor of Computer Science at Pondicherry University Community College. It defines key RDBMS concepts and components, including database languages, the query processor, runtime and database managers, and the database engine. It also outlines benefits of RDBMS such as data security, sharing, integration and abstraction/independence. Applications mentioned include following ACID properties, multi-user access, multiple views, and security features. Finally, it briefly introduces data modeling and different data models.
FellowBuddy.com is an innovative platform that brings students together to share notes, exam papers, study guides, project reports and presentation for upcoming exams.
We connect Students who have an understanding of course material with Students who need help.
Benefits:-
# Students can catch up on notes they missed because of an absence.
# Underachievers can find peer developed notes that break down lecture and study material in a way that they can understand
# Students can earn better grades, save time and study effectively
Our Vision & Mission Simplifying Students Life
Our Belief The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.
Like Us - https://www.facebook.com/FellowBuddycom
The document discusses database management systems (DBMS). It covers topics such as the introduction to databases, components of a DBMS, and applications of DBMS. It defines a DBMS as a system software used to create and manage databases. A DBMS provides users with tools to define, manipulate, retrieve, and manage data. It also discusses the different types of databases like hierarchical, network, relational, and object-oriented databases.
The document provides an introduction to database management systems and their components. It discusses that a database is a collection of related data representing some aspect of the real world. A database management system (DBMS) allows users to define, construct, manipulate and share databases. The key functions of a DBMS include data definition, data storage, data manipulation such as querying and updating, and sharing data among multiple users. The document also provides examples of database systems and their typical components such as utilities, tools, and centralized and client/server architectures.
This document provides an overview of database management systems (DBMS). It defines what a DBMS is and discusses the need for DBMS compared to traditional file systems. Specifically, it notes that a DBMS allows for centralized control of data to reduce redundancy and improve data sharing, integrity, security and access. Examples of popular DBMS are provided, along with different database types based on number of users and data location. Common applications of DBMS are also listed.
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.
The document discusses key concepts related to databases and database management systems (DBMS). It defines what a database is - a collection of interrelated data organized for efficient retrieval, insertion and deletion. It describes characteristics of the database approach like self-describing nature, insulation between programs and data, support of multiple views, and sharing of data. The document also discusses database management systems, advantages and disadvantages of DBMS, types of DBMS like hierarchical, network, relational and object-oriented, database architectures, types of databases like centralized and distributed, data models, and defines what a database schema is.
The document provides an overview of database management systems (DBMS). It discusses the need for DBMS, different database architectures including centralized, client-server and distributed. It also covers data models, ER diagrams, relational models, and SQL. Key advantages of DBMS over file systems include reducing data redundancy, improving data integrity and security, and enabling concurrent access.
DBMS and file systems are two approaches to organizing data in a computer system. The file system approach involves storing data in decentralized files managed by individual departments, while the DBMS approach involves centralizing data storage to reduce redundancy and improve data integrity, security, and sharing. Some key differences are that DBMS provides abstraction of data, recovery mechanisms, data independence, and supports integrity constraints, while file systems require custom programming and management of individual files.
The document provides an introduction to database management systems. It discusses the key components of a DBMS including data models like the hierarchical, network, relational, and entity-relationship models. It also summarizes some of the advantages of using a DBMS like data independence, efficient data access, data integrity and security, data administration, concurrent access and crash recovery, and reduced application development time. Textbooks and references on the topic are also listed.
The document provides an introduction to database management systems (DBMS) and database models. It defines key terms like data, database, DBMS, file system vs DBMS. It describes the evolution of DBMS from 1960 onwards and different database models like hierarchical, network and relational models. It also discusses the roles of different people who work with databases like database designers, administrators, application programmers and end users.
DBMS introduction and functionality of of dbmsranjana dalwani
油
Database management systems (DBMS) allow for the storage and manipulation of large collections of related data. A DBMS includes software that provides efficient access to data and ensures data integrity. Key benefits of DBMS include data independence, efficient data access, data integrity and security, concurrent access and crash recovery. DBMS touch many aspects of daily life through applications in banking, transportation, education and more.
The document discusses database management systems (DBMS) and their advantages over traditional file-based data storage. It notes that a DBMS allows for controlled data access and defines, creates, and maintains databases. It then outlines some problems with traditional file systems like data redundancy, isolation, and lack of atomicity and integrity. The document concludes that a DBMS provides benefits like reducing redundancy, enforcing integrity constraints, improving security, flexibility, and data sharing compared to file systems.
This document provides an introduction to database systems. It defines key concepts like data, databases, database management systems (DBMS), and file systems. It describes the evolution from manual data handling to file-based systems to modern database approaches. The database approach provides benefits like reducing data redundancy, improving data sharing and security. Actors involved with databases like database administrators, designers, and end users are also outlined. Basic database terminology is defined, including entities, attributes, records, files and different database models.
- DBMS stands for Database Management System and is a collection of interrelated data and a set of programs used to access, update, and manage the data. The goal of a DBMS is to provide an environment that is convenient and efficient for retrieving, storing, and manipulating data.
- A database schema represents the logical structure of a database and includes information about the database's tables, fields, relationships, and data types. A database instance is a snapshot of the data stored in a database at a particular point in time.
- There are three levels of data abstraction: the physical level describes how data is physically stored, the logical level describes the logical relationships and structure of data, and the view level describes how different
This document provides an introduction to database concepts. It discusses the limitations of file-based systems, including data redundancy, lack of data sharing, and inconsistent data updates across programs. These issues are addressed by the database approach, which involves centralized data storage and a database management system (DBMS) to control access. Key advantages of the database approach include data independence, reduced redundancy, improved integrity and security. The document also outlines the typical components and roles involved in a DBMS environment.
But please no chartjunk! (Contribution to the Scientific Works Late Night a...Mathias Magdowski
油
Illustrations and diagrams should be the figureheads of term papers and theses, because every reader looks at them first when reviewing the work. This is especially true in the natural sciences and technology, but also in economics and the humanities. Unfortunately, you often see chartjunk or graphic garbage, i.e. diagrams that look quite nice at first glance, but are more confusing than helpful in terms of content. The workshop uses many good and bad examples to explain how to recognize and avoid such low-information graphics.
Responsible Use of Research Metrics Module Launchdri_ireland
油
Presentation by Dr Michelle Doran, National Open research Coordinator of the National Open Research Forum at the official launch of the Responsible Use of Research Metrics Module on 31 March 2025, at the Museum of Literature Ireland.
More Related Content
Similar to database management systems for ug students (20)
This document provides an overview of a Relational Database Management System (RDBMS) unit prepared by D.GAYA, an Assistant Professor of Computer Science at Pondicherry University Community College. It defines key RDBMS concepts and components, including database languages, the query processor, runtime and database managers, and the database engine. It also outlines benefits of RDBMS such as data security, sharing, integration and abstraction/independence. Applications mentioned include following ACID properties, multi-user access, multiple views, and security features. Finally, it briefly introduces data modeling and different data models.
FellowBuddy.com is an innovative platform that brings students together to share notes, exam papers, study guides, project reports and presentation for upcoming exams.
We connect Students who have an understanding of course material with Students who need help.
Benefits:-
# Students can catch up on notes they missed because of an absence.
# Underachievers can find peer developed notes that break down lecture and study material in a way that they can understand
# Students can earn better grades, save time and study effectively
Our Vision & Mission Simplifying Students Life
Our Belief The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.
Like Us - https://www.facebook.com/FellowBuddycom
The document discusses database management systems (DBMS). It covers topics such as the introduction to databases, components of a DBMS, and applications of DBMS. It defines a DBMS as a system software used to create and manage databases. A DBMS provides users with tools to define, manipulate, retrieve, and manage data. It also discusses the different types of databases like hierarchical, network, relational, and object-oriented databases.
The document provides an introduction to database management systems and their components. It discusses that a database is a collection of related data representing some aspect of the real world. A database management system (DBMS) allows users to define, construct, manipulate and share databases. The key functions of a DBMS include data definition, data storage, data manipulation such as querying and updating, and sharing data among multiple users. The document also provides examples of database systems and their typical components such as utilities, tools, and centralized and client/server architectures.
This document provides an overview of database management systems (DBMS). It defines what a DBMS is and discusses the need for DBMS compared to traditional file systems. Specifically, it notes that a DBMS allows for centralized control of data to reduce redundancy and improve data sharing, integrity, security and access. Examples of popular DBMS are provided, along with different database types based on number of users and data location. Common applications of DBMS are also listed.
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.
The document discusses key concepts related to databases and database management systems (DBMS). It defines what a database is - a collection of interrelated data organized for efficient retrieval, insertion and deletion. It describes characteristics of the database approach like self-describing nature, insulation between programs and data, support of multiple views, and sharing of data. The document also discusses database management systems, advantages and disadvantages of DBMS, types of DBMS like hierarchical, network, relational and object-oriented, database architectures, types of databases like centralized and distributed, data models, and defines what a database schema is.
The document provides an overview of database management systems (DBMS). It discusses the need for DBMS, different database architectures including centralized, client-server and distributed. It also covers data models, ER diagrams, relational models, and SQL. Key advantages of DBMS over file systems include reducing data redundancy, improving data integrity and security, and enabling concurrent access.
DBMS and file systems are two approaches to organizing data in a computer system. The file system approach involves storing data in decentralized files managed by individual departments, while the DBMS approach involves centralizing data storage to reduce redundancy and improve data integrity, security, and sharing. Some key differences are that DBMS provides abstraction of data, recovery mechanisms, data independence, and supports integrity constraints, while file systems require custom programming and management of individual files.
The document provides an introduction to database management systems. It discusses the key components of a DBMS including data models like the hierarchical, network, relational, and entity-relationship models. It also summarizes some of the advantages of using a DBMS like data independence, efficient data access, data integrity and security, data administration, concurrent access and crash recovery, and reduced application development time. Textbooks and references on the topic are also listed.
The document provides an introduction to database management systems (DBMS) and database models. It defines key terms like data, database, DBMS, file system vs DBMS. It describes the evolution of DBMS from 1960 onwards and different database models like hierarchical, network and relational models. It also discusses the roles of different people who work with databases like database designers, administrators, application programmers and end users.
DBMS introduction and functionality of of dbmsranjana dalwani
油
Database management systems (DBMS) allow for the storage and manipulation of large collections of related data. A DBMS includes software that provides efficient access to data and ensures data integrity. Key benefits of DBMS include data independence, efficient data access, data integrity and security, concurrent access and crash recovery. DBMS touch many aspects of daily life through applications in banking, transportation, education and more.
The document discusses database management systems (DBMS) and their advantages over traditional file-based data storage. It notes that a DBMS allows for controlled data access and defines, creates, and maintains databases. It then outlines some problems with traditional file systems like data redundancy, isolation, and lack of atomicity and integrity. The document concludes that a DBMS provides benefits like reducing redundancy, enforcing integrity constraints, improving security, flexibility, and data sharing compared to file systems.
This document provides an introduction to database systems. It defines key concepts like data, databases, database management systems (DBMS), and file systems. It describes the evolution from manual data handling to file-based systems to modern database approaches. The database approach provides benefits like reducing data redundancy, improving data sharing and security. Actors involved with databases like database administrators, designers, and end users are also outlined. Basic database terminology is defined, including entities, attributes, records, files and different database models.
- DBMS stands for Database Management System and is a collection of interrelated data and a set of programs used to access, update, and manage the data. The goal of a DBMS is to provide an environment that is convenient and efficient for retrieving, storing, and manipulating data.
- A database schema represents the logical structure of a database and includes information about the database's tables, fields, relationships, and data types. A database instance is a snapshot of the data stored in a database at a particular point in time.
- There are three levels of data abstraction: the physical level describes how data is physically stored, the logical level describes the logical relationships and structure of data, and the view level describes how different
This document provides an introduction to database concepts. It discusses the limitations of file-based systems, including data redundancy, lack of data sharing, and inconsistent data updates across programs. These issues are addressed by the database approach, which involves centralized data storage and a database management system (DBMS) to control access. Key advantages of the database approach include data independence, reduced redundancy, improved integrity and security. The document also outlines the typical components and roles involved in a DBMS environment.
But please no chartjunk! (Contribution to the Scientific Works Late Night a...Mathias Magdowski
油
Illustrations and diagrams should be the figureheads of term papers and theses, because every reader looks at them first when reviewing the work. This is especially true in the natural sciences and technology, but also in economics and the humanities. Unfortunately, you often see chartjunk or graphic garbage, i.e. diagrams that look quite nice at first glance, but are more confusing than helpful in terms of content. The workshop uses many good and bad examples to explain how to recognize and avoid such low-information graphics.
Responsible Use of Research Metrics Module Launchdri_ireland
油
Presentation by Dr Michelle Doran, National Open research Coordinator of the National Open Research Forum at the official launch of the Responsible Use of Research Metrics Module on 31 March 2025, at the Museum of Literature Ireland.
Mutation and its types (Point, Silent, Mis sense and Non sense mutations)Anoja Kurian
油
A mutation is a change in the DNA sequence of an organism, which can be caused by errors during DNA replication, exposure to mutagens, or viral infections. These changes can be inherited (germline mutations) or occur in body cells (somatic mutations).
Actinobacterium Producing Antimicrobials Against Drug-Resistant BacteriaAbdulmajid Almasabi
油
discuss a published study on Streptomyces
antimicrobicus sp. nov., a novel actinobacterium isolated from clay soil in a paddy field in Thailand. The study explores its antimicrobial activity against drug-resistant bacteria.
Magellan MX Weather Stations combine a multi parameter weather sensor with an internal compass and GPS for critical weather monitoring with automatic wind direction alignment.
Features:
Weather protected multi-sensor design
GPS for compensated wind speed
Automatic self-alignment of wind direction using internal compass
Reliable, quick deploy/install
Low power consumption - ideal for battery or solar-powered installations
No mechanical components
One year warranty
Smog solutions, smog solutions by using chemistryAyesha Imtiaz
油
Smog Solutions: Combating Air Pollution Through Chemistry
Introduction
Air pollution, particularly smog, poses severe threats to human health, ecosystems, and climate stability. Smoga toxic blend of smoke and fogis primarily composed of nitrogen oxides (NOx), volatile organic compounds (VOCs), ground-level ozone (O), sulfur dioxide (SO), and particulate matter (PM2.5/PM10). Major sources include vehicle emissions, industrial processes, power plants, and agricultural activities.
Chemistry plays a pivotal role in mitigating smog by breaking down pollutants, converting them into less harmful substances, and preventing their formation. This comprehensive guide explores chemical solutions for smog reduction, covering:
Mechanisms of Smog Formation
Chemical Technologies for Smog Control
Industrial and Automotive Applications
Emerging Innovations in Air Purification
Policy and Future Directions
1. Understanding Smog Formation
1.1 Photochemical Smog vs. Industrial Smog
Photochemical Smog (Los Angeles-type)
Forms in sunny, urban areas due to NOx + VOCs + sunlight.
Produces ozone (O), peroxyacyl nitrates (PANs), and aldehydes.
Common in cities with heavy traffic (e.g., Beijing, Mexico City).
Industrial Smog (London-type)
Caused by coal burning, releasing SO, soot, and sulfuric acid (HSO).
Leads to acid rain and respiratory diseases.
1.2 Key Pollutants & Their Effects
Pollutant Major Sources Health/Environmental Impact
NOx (NO, NO) Vehicles, power plants Respiratory diseases, acid rain, smog
VOCs (Benzene, Formaldehyde) Paints, fuels, solvents Carcinogenic, ozone formation
O (Ground-level) NOx + VOCs + Sunlight Lung damage, crop loss
PM2.5/PM10 Dust, combustion Asthma, cardiovascular diseases
SO Coal plants, refineries Acid rain, bronchitis
2. Chemical Solutions for Smog Reduction
2.1 Catalytic Converters (Automotive Emissions Control)
How It Works:
Uses platinum (Pt), palladium (Pd), and rhodium (Rh) catalysts.
Converts NOx N + O, CO CO, and hydrocarbons HO + CO.
Chemical Reactions:
Reduction (NOx Removal):
2
N
O
N
2
+
O
2
2NON
2
+O
2
2
N
O
2
N
2
+
2
O
2
2NO
2
N
2
+2O
2
Oxidation (CO & HC Removal):
2
C
O
+
O
2
2
C
O
2
2CO+O
2
2CO
2
C
6
H
14
+
9.5
O
2
6
C
O
2
+
7
H
2
O
C
6
H
14
+9.5O
2
6CO
2
+7H
2
O
Limitations:
Inefficient at cold starts (needs warm-up).
Does not capture CO (only converts it).
2.2 Photocatalytic Oxidation (PCO) for Air Purification
Mechanism:
Uses titanium dioxide (TiO) nanoparticles activated by UV light.
Breaks down NOx, VOCs, and bacteria into harmless compounds.
Applications:
Smog-reducing paints (e.g., on buildings, roads).
Air purifiers with TiO-coated filters.
Oral Cancer: A type of cancer that develops in the tissues of the mouth or throat.
Lung Cancer: A malignant tumor in the lungs that disrupts normal lung function.
Early detection significantly improves survival rates.
Awareness and preventive measures can reduce risk.
Tobacco Use: Smoking, chewing tobacco, and betel quid increase risk.
Alcohol Consumption: Heavy alcohol use weakens oral tissues, making them vulnerable.
HPV Infection: Certain strains of HPV (Human Papillomavirus) are linked to oral cancers.
Sun Exposure: Prolonged sun exposure increases the risk of lip cancer.
Poor Diet and Oral Hygiene: Nutritional deficiencies and chronic irritation from sharp teeth or dentures can contribute.
Title: Oral Cancer and Lung Cancer
---
際際滷 1: Introduction
Definition:
Oral Cancer: A type of cancer that develops in the tissues of the mouth or throat.
Lung Cancer: A malignant tumor in the lungs that disrupts normal lung function.
Importance:
Early detection significantly improves survival rates.
Awareness and preventive measures can reduce risk.
際際滷 2: Oral Cancer Overview
Develops in the mouth, lips, tongue, inner cheeks, or throat.
Often linked to tobacco and alcohol use.
Increasingly associated with HPV infections.
Can be aggressive if not treated early.
際際滷 3: Risk Factors of Oral Cancer
Tobacco Use: Smoking, chewing tobacco, and betel quid increase risk.
Alcohol Consumption: Heavy alcohol use weakens oral tissues, making them vulnerable.
HPV Infection: Certain strains of HPV (Human Papillomavirus) are linked to oral cancers.
Sun Exposure: Prolonged sun exposure increases the risk of lip cancer.
Poor Diet and Oral Hygiene: Nutritional deficiencies and chronic irritation from sharp teeth or dentures can contribute.
際際滷 4: Symptoms of Oral Cancer
Persistent mouth sores that do not heal.
Pain or difficulty in chewing and swallowing.
Red or white patches inside the mouth.
Unexplained bleeding or numbness in the mouth.
Hoarseness or voice changes.
Lumps, swelling, or thickening of oral tissues.
際際滷 5: Diagnosis of Oral Cancer
Physical Examination: Checking for visible sores, lumps, or discoloration.
Biopsy: Removing a small sample of tissue for testing.
Imaging Tests:
CT scan and MRI to determine the spread.
X-rays to check jawbone involvement.
PET scan for detecting metastasis.
Endoscopy: Used to examine deeper throat regions.
際際滷 6: Treatment of Oral Cancer
Surgery: Removal of tumors or affected tissues.
Radiation Therapy: Targeted radiation to destroy cancer cells.
Chemotherapy: Drug treatment to kill cancer cells.
Targeted Therapy: Medications that specifically attack cancer cell growth.
Reconstructive Surgery: Helps restore facial and oral functions after tumor removal.
Early detection improves survival rates.
Lifestyle changes can significantly lower cancer risks.
Regular medical check-ups aid in early diagnosis.
Support cancer research and awareness campaigns.Healthy Lifestyle
The JWST-NIRCamViewofSagittarius C. II. Evidence for Magnetically Dominated H...S辿rgio Sacani
油
We present JWST-NIRCam narrowband, 4.05 亮mBr留 images of the Sgr C H II region, located in the central molecular zone (CMZ) of the Galaxy. Unlike any H II region in the solar vicinity, the Sgr C plasma is dominated by filamentary structure in both Br 留 and the radio continuum. Some bright filaments, which form a fractured arc with a radius of about 1.85 pc centered on the Sgr C star-forming molecular clump, likely trace ionization fronts. The brightest filaments form a -shaped structure in the center of the H II region. Fainter filaments radiate away from the surface of the Sgr C molecular cloud. The filaments are emitting optically thin freefree emission, as revealed by spectral index measurements from 1.28 GHz (MeerKAT) to 97GHz (Atacama Large Millimeter/ submillimeter Array). But, the negative in-band 1 to 2 GHz spectral index in the MeerKAT data alone reveals the presence of a nonthermal component across the entire Sgr C H II region. We argue that the plasma flow in Sgr C is controlled by magnetic fields, which confine the plasma to ropelike filaments or sheets. This results in the measured nonthermal component of low-frequency radio emission plasma, as well as a plasma 硫 (thermal pressure divided by magnetic pressure) below 1, even in the densest regions. We speculate that all mature H II regions in the CMZ, and galactic nuclei in general, evolve in a magnetically dominated, low plasma 硫 regime. Unified Astronomy Thesaurus concepts: Emission nebulae (461)
3. Data: Known facts that can be recorded and have an implicit meaning
Database: A collection of related data.
Database Management System (DBMS): A software package/ system to facilitate
the creation and maintenance of a computerized database
1. INTRODUCTION
Applications of DBMS
- Banking
- Airlines
- Universities
- Credit card transactions
- Tele communication
- Finance
- Sales
- Manufacturing
- Human resources
-- Electronic Commerce
-- Social Networking
-- OnLine Analytical Processing (OLAP)
Purpose of DBMS:
Traditionally, data was organized in file formats. DBMS was a new concept then, and all the research was
done to make it overcome the deficiencies in traditional style of data management.
The main purpose of the database is to operate a large amount of information by storing, retrieving, and
managing data.
4. File Organization : Terms and Concepts
Database: Group of related files
File: Group of records of same type
Record: Group of related fields
Field: Group of words or a complete
number
Byte: Group of bits that represents a
single character
Bit: Smallest unit of data; binary digit
(0,1)
Data Hierarchy in a Computer System
5. Problems with the Traditional File Environment
Data redundancy &
inconsistency
Program-Data dependence
Lack of flexibility
Integrity problems
Poor security
Atomicity problems
No concurrency control
Traditional File Processing
6. Data Redundancy
Data Redundancy means same information is duplicated in several files. This makes data redundancy.
Data Inconsistency
Data Inconsistency means different copies of the same data are not matching. That means different
versions of same basic data are existing. This occurs as the result of update operations that are not
updating the same data stored at different places.
Example: Address Information of a customer is recorded differently in different files.
Difficulty in Accessing Data
It is not easy to retrieve information using a conventional file processing system. Convenient and efficient
information retrieval is almost impossible using conventional file processing system.
7. Data Isolation
Data are scattered in various files, and the files may be in different format, writing new
application program to retrieve data is difficult.
Integrity Problems
The data values may need to satisfy some integrity constraints. For example the balance field
Value must be grater than 5000. We have to handle this through program code in file processing
systems. But in database we can declare the integrity constraints along with definition itself.
Independence of data and program
Both the database and the user program can be altered independently of each other thus saving
time and money which would be required to retain consistency.
8. Atomicity Problem
It is difficult to ensure atomicity in file processing system.
For example transferring $100 from Account A to account B.
If a failure occurs during execution there could be situation like $100 is deducted from Account A and not
credited in Account B.
Concurrent Access anomalies
If multiple users are updating the same data simultaneously it will result in inconsistent data state.
In file processing system it is very difficult to handle this using program code. This results in concurrent
access anomalies.
Security Problems
Enforcing Security Constraints in file processing system is very difficult as the application programs are
added to the system in an ad-hoc manner.
9. DBMS and its Advantages
A Database Management System is a collection of programs that enables users to create and
maintain a database. It is a general purpose software system that facilitates processes of
defining, constructing and manipulating databases for various applications.
Advantages of Database approach:
Controlling Redundancy
Restricting Unauthorized access
Providing persistent storage for program objects and data
structures
Permitting inference and actions using deduction rules
Providing multiple user interface
Representing complex relationships among data
Enforcing integrity constraints and providing backup and
recovery
10. Basis DBMS Approach File System Approach
Meaning DBMS is a collection of data. In DBMS, the user is not
required to write the procedures.
The file system is a collection of data. In this system, the user
has to write the procedures for managing the database.
Sharing of data Due to the centralized approach, data sharing is easy. Data is distributed in many files, and it may be of different
formats, so it isn't easy to share data.
Data Abstraction DBMS gives an abstract view of data that hides the details. The file system provides the detail of the data representation
and storage of data.
Security and Protection DBMS provides a good protection mechanism. It isn't easy to protect a file under the file system.
Recovery Mechanism DBMS provides a crash recovery mechanism, i.e., DBMS
protects the user from system failure.
The file system doesn't have a crash mechanism, i.e., if the
system crashes while entering some data, then the content of
the file will be lost.
Manipulation Techniques DBMS contains a wide variety of sophisticated techniques to
store and retrieve the data.
The file system can't efficiently store and retrieve the data.
Concurrency Problems DBMS takes care of Concurrent access of data using some
form of locking.
In the File system, concurrent access has many problems like
redirecting the file while deleting some information or updating
some information.
Where to use Database approach used in large systems which interrelate
many files.
File system approach used in large systems which interrelate
many files.
Cost The database system is expensive to design. The file system approach is cheaper to design.
Data Redundancy and Inconsistency Due to the centralization of the database, the problems of data
redundancy and inconsistency are controlled.
In this, the files and application programs are created by
different programmers so that there exists a lot of duplication
of data which may lead to inconsistency.
Structure The database structure is complex to design. The file system approach has a simple structure.
Data Independence In this system, Data Independence exists, and it can be of two
types.Logical Data Independence
Physical Data Independence
In the File system approach, there exists no Data
Independence.
Integrity Constraints Integrity Constraints are easy to apply. Integrity Constraints are difficult to implement in file system.
Data Models In the database approach, 3 types of data models
exist:Hierarchal data models
Network data models
Relational data models
In the file system approach, there is no concept of data models
exists.
Flexibility Changes are often a necessity to the content of the data stored The flexibility of the system is less as compared to the DBMS
11. View of Data
External
Schema 1
External
Schema 2
External
Schema n
...
Conceptual
Schema
Physical
Schema
External Schemas
how the data are physically stored
what data are stored,
what relationships, constraints exist
customizations
of the conceptual
schema to the
needs of various
classes of users
actual data
1st
level
of abstraction
2nd
level
of abstraction
3rd
level
of abstraction
12. External view/External schema
Different users often need different views of the data.
Example:
Accountant needs to have access to financial information on a student
Head of Department needs access to academic information.
Student needs to access marks information.
An external schema is a description of part of the DB as seen by an application
programmer or a user
Logical View/Conceptual Schema
Representation of the logical structure of the information content of the DB.
Abstracts away from the actual physical storage.
It is, in a sense, a composite of all the external schema.
Physical/Internal Schema
The internal schema describes the data as it is physically stored.
For example,
record structure
types of fields in a record
existence of primary and secondary indexes
13. Example: University Database
Conceptual schema:
Students(sid: string, name: string, login: string,
age: integer, gpa:real)
Courses(cid: string, cname:string, credits:integer)
Enrolled(sid:string, cid:string, grade:string)
Physical schema:
Relations stored as unordered files.
Index on first column of Students.
External Schema (View):
Course_info(cid:string,enrollment:integer)
The views also provide a security mechanism to prevent users from accessing certain parts of the
database
For example, tellers in a bank see only that part of the database that has information on customer
accounts; they cannot access information about salaries of employees
14. Schema & Instance
Databases change over time as information is inserted and deleted
The collection of information stored in the database at a particular moment is called an instance of
the database
The overall design of the database is called the database schema
The concept of database schemas and instances can be understood by analogy to a program written
in a programming language
A database schema corresponds to the variable declarations in a program, each variable has a
particular value at a given instant
The values of the variables in a program at a point in time correspond to an instance of a database
schema
Database systems have several schemas, partitioned according to the levels of abstraction
15. The physical schema describes the database design at the physical level, while the logical
schema describes the database design at the logical level
A database may also have several schemas at the view level, sometimes called
subschemas, that describe different views of the database
Programmers develop applications by using the logical schema
Physical schema is hidden beneath the logical schema, and can usually be changed easily
without affecting application programs
Application programs are said to exhibit physical data independence if they do not depend on
the physical schema, and thus need not be rewritten if the physical schema changes
17. Database Languages
Data Definition Language: To specify the database schema.
Data Manipulation Language: To express database queries and updates.
18. 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
Procedural user specifies what data is required and how to get those
data
Declarative (nonprocedural) user specifies what data is required
without specifying how to get those data
SQL is the most widely used query language
19. A query is a statement requesting the retrieval of information.
DML involves information retrieval is called a query language.
Data Manipulation Language (DML)
20. Data Definition Language (DDL)
Specification notation for defining the database schema
Example: create table account (
account_number char(10),
branch_name char(10),
balance integer)
DDL compiler generates a set of tables stored in a data dictionary
Data dictionary contains metadata (i.e., data about data)
Database schema
Data storage and definition language
Specifies the storage structure and access methods used
Integrity constraints
Domain constraints
Referential integrity (e.g. branch_name must correspond to a valid
branch in the branch table)
21. Data Dictionary
A data dictionary contains a list of all files in the database, the number of
records in each file, and the names and types of each field
Most database management systems keep the data dictionary hidden from
users to prevent them from accidentally destroying its contents.
Data dictionaries do not contain any actual data from the database, only
bookkeeping information for managing it.
Without a data dictionary, however, a database management system cannot
access data from the database.
23. Storage Manager
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.
Translates DML statements into low-level file-system commands.
The storage manager is responsible to the following tasks:
Interaction with the file manager
Efficient storing, retrieving and updating of data
Controls the placement of data on disk and its movement between disk and
main memory.
Data structures:
Data files: which store the database itself.
Data dictionary: stores meta data about the structures of the database.
Indices: provide fast access to data items.
24. Storage Manager
Components:
Authorization and integrity manager:
Tests for satisfaction of integrity constraints and checks the authority of users to
access data.
Transaction manager:
Consistent state
Concurrent transaction executions
File manager:
Manages the allocation of space on disk storage and the data structures used to
represent information stored on disk.
Buffer manger:
Responsible for fetching the data from disk storage into main memory, and deciding
what data to cache in main memory.
It enables the database to handle data sizes that are much larger than the size of main
memory.
25. Query Processor
Components:
DDL interpreter: interprets DDL statements and records the definitions in
the data dictionary.
DML compiler: translates DML statements in a query language into an
evaluation plan consisting of low-level instructions that the query
evaluation engine understands.
Translate into any of a number of alternative evaluation plans that all give the same result
Query evaluation engine: executes low-level instructions generated by the
DML compiler.
27. Query Processing
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
28. Data Models
A data model provides a way to describe the design of a database at the physical,
logical, and view level.
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
31. SQL
SQL: Structured Query Language
Example: Find the name of the customer with customer-id 192-83-7465
select customer.customer_name
from customer
where customer.customer_id = 192-83-7465
Example: Find the balances of all accounts held by the customer with
customer-id 192-83-7465
select account.balance
from depositor, account
where depositor.customer_id = 192-83-7465 and
depositor.account_number = account.account_number
32. The Entity-Relationship Model
Models an enterprise as a collection of entities and relationships
Entity: a thing or object in the enterprise that is distinguishable
from other objects
Described by a set of attributes
Relationship: an association among several entities
Represented diagrammatically by an entity-relationship diagram:
33. The Entity-Relationship Model
Rectangles: which represent entity sets.
Ellipses: which represent attributes.
Diamonds: which represent set of relationships among a member from each
of several entity sets.
Lines: which link attributes to entity sets and entity sets to relationships.
Mapping cardinalities: express the number of entities to which another
entity can be associated via a relationship set.
34. Other Data Models
Object-Based data models
Object-oriented data model
Object-oriented programming language
Object-relational data model
Structured and collection types
Object orientation
Semistructured data models:
Specification of data where individual data items of the same type may
have different sets of attributes.
35. Hierarchical Model
First database systems introduced in the 1960s were based on the hierarchical
model
This model assumes all data relationships can be structured as hierarchies.
Uses a parent and child relationship where a child can only have one parent.
Hierarchical Model still used
today on some IBM mainframes
such as IBMs IMS system.
Need to redesign entire database
to change how data is
interrelated.
Can lead to confusion in
relationships of data.
Only allows one parent record
type.
Ratings Salary
Compensation Job
Assignments
Pension Insurance Health
Benefits
Employer
36. Network Model
Network Model came about from the Conference on Data Systems Language
(CODASYL).
Design is based on data sets
Similar to the hierarchical model with sequential access properties.
Uses logically related data items to define record types.
As data sets are added so is the
complexity and confusion.
Procedural model of one record
processing at a time.
Difficult to change data once it is
stored
Need detailed understanding of
the data and how it is stored.
37. Database Users
Users are differentiated by the way they expect to interact with the system
Application programmers interact with system through DML calls
Sophisticated users interact with the system without writing the programs.
form requests in a database query language
Specialized users write specialized database applications that do not fit into
the traditional data processing framework
Na誰ve users invoke one of the permanent application programs that have
been written previously
Examples, people accessing database over the web, bank tellers, clerical
staff
Read reports generated from the database.
38. Database Administrator
Coordinates all the activities of the database system; the database administrator has
a good understanding of the enterprises information resources and needs.
Database administrator's duties include:
Schema definition
Storage structure and access method definition
Schema and physical organization modification
Granting user authority to access the database
Specifying integrity constraints
Monitoring performance and responding to changes in requirements
39. Transaction Management
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.
40. Transaction Management
ACID Properties
Key concept is a transaction: a sequence of database actions (reads/writes).
A transaction is a collection of operations that performs a single logical function in a
database application
DBMS ensures atomicity (all-or-nothing property) even if system crashes in the
middle of a execution
Each transaction, executed completely, must take the DB between consistent states
or must not run at all.
DBMS ensures that concurrent transactions appear to run in isolation.
DBMS ensures durability of committed execution even if system crashes.