This document discusses database system applications and the advantages of database systems over traditional file processing systems. It provides examples of common database applications in various industries like banking, retail, healthcare, education, and telecommunications. It also outlines some of the key disadvantages of file processing systems like data redundancy, difficulty in data access, isolation of data, integrity issues, and security problems. The document introduces fundamental database concepts like data definition language, data manipulation language, data models, database schema, and relational databases. It provides a high-level overview of SQL as the most widely used database language. Finally, it lists an assignment for student groups to summarize the material and propose sample database tables for various popular websites and applications.
=-=-=-==-=-Overview of the Talk-=-=-=-=-=
Introduction to the Subject
Database
Rational Database
Object Rational Database
Database Management System
History
Programming
SQL,
Connecting Java, Matlab to a Database
Advance DBMS
Data Grid
BigTable
Demo
Products
MySQL, SQLite, Oracle,
DB2, Microsoft Access,
Microsoft SQL Server
Products Comparison.
=-=-=-==-=-Overview of the Talk-=-=-=-=-=
Introduction to the Subject
Database
Rational Database
Object Rational Database
Database Management System
History
Programming
SQL,
Connecting Java, Matlab to a Database
Advance DBMS
Data Grid
BigTable
Demo
Products
MySQL, SQLite, Oracle,
DB2, Microsoft Access,
Microsoft SQL Server
Products Comparison.
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
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
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
3. Database-System Applications
Enterprise Information
• Sales: For customer, product, and purchase information.
• Accounting: For payments, receipts, account balances, assets and other accounting
information.
• Human resources: For information about employees, salaries, payroll taxes, and benefits, and
for generation of paychecks.
• Manufacturing: For management of the supply chain and for tracking pro-duction of items in
factories, inventories of items in warehouses and stores,and orders for items.
• Online retailers: For sales data noted above plus online order tracking, generation of
recommendation lists, and maintenance of online product evaluations
3
4. Database-System Applications
Banking and Finance
• Banking: customer information, accounts, loans, and banking transactions.
• Finance: For storing information about holdings, sales, and purchases of financial instruments
such as stocks and bonds; also for storing real-time market data to enable online trading by
customers and automated trading by the firm.
Universities: For student information, course registrations, and grades (inaddition to standard
enterprise information such as human resources and accounting)
Airlines: For reservations and schedule first to use databases in a geographica
Telecommunication: For keeping recordbills, maintaining balances on prepaid about the
communication networks.
Telecommunications: For keeping records of calls made, generating monthly bills, maintaining
balances on prepaid calling cards, and storing information about the communication networks
4
5. Database on almost everyone’s life today
PAST
few direct
TODAY
most contact
contact to DB directly
5
6. Database (past)
• 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
• Create a new major
• etc
1960’s
Universities
6
7. Disadvantages of File-Processing System
• Data redundancy and inconsistency
• Difficulty in accessing data
• Data isolation
• Integrity problems
• Atomicity problems
• Concurrent-access anomalies
• Security problems
7
8. Data redundancy and inconsistency
Different programmers different files and application different structures and the programs
in several programming languages the same information may be duplicated in several places
(files).
For example : A student has a double major (music and mathematics). The address and
telephone number of that student may appear in a file that consists of student records of
students in the Music department and in a file that consists of student records of students in the
Mathematics department.
This redundancy leads to higher storage and access cost.
It may lead to data inconsistency a changed student address may be reflected in the Music
department records but not elsewhere in the system.
8
9. Difficulty in accessing data
“Find out the names of all students who live within a particular postal-code area “
Because no application program on hand to meet it, then :
1. either obtain the list of all students and extract the needed information manually or
2. ask a programmer to write the necessary application program.
9
10. Data isolation
Because data are scattered in various files, and files may be in different formats, writing new
application programs to retrieve the appropriate data is difficult
10
11. Integrity problems
The data values stored in the database must satisfy certain types of consistency constraints.
Suppose the university maintains an account for each department, and records the balance
amount in each account. Suppose also that the university requires that the account balance of a
department may never fall below zero. Developers enforce these constraints in the system by
adding appropriate code in the various application pro-grams. However, when new constraints
are added, it is difficult to change the programs to enforce them. The problem is compounded
when constraints involve several data items from different files.
11
12. Atomicity problems
A computer system, like any other device, is subject to failure. In many applications, it is crucial
that, if a failure occurs, the data be restored to the consistent state that existed prior to the
failure.
Consider a program to transfer $500 from the account balance of department A to the account
balance of department B. If a system failure occurs during the execution of the program, it is
possible that the $500 was removed from the balance of department A but was not credited to
the balance of department B, resulting in an inconsistent database state. Clearly, it is essential to
database consistency that either both the credit and debit occur, or that neither occur.
That is, the funds transfer must be atomic—it must happen in its entirety or not at all. It is
difficult to ensure atomicity in a conventional file-processing system.
12
13. Concurrent-access anomalies
Interaction of concurrent updates is possible and may result in inconsistent data.
Example : department A, with an account balance of $10,000. If two department clerks debit the
account balance (by say $500 and $100, respectively) of department A at almost exactly the
same time, the result of the concurrent executions may leave the budget in an incorrect (or
inconsistent) state.
Suppose that the programs executing on behalf of each withdrawal read the old balance, reduce
that value by the amount being withdrawn, and write the result back. If the two programs run
concurrently, they may both read the value $10,000, and write back $9500 and $9900,
respectively. Depending on which one writes the value last, the account balance of department A
may contain either $9500 or $9900, rather than the correct value of $9400.
13
14. Security problems
Not every user of the database system should be able to access all the data.
For example, in a university, payroll personnel need to see only that part of the database that has
financial information. They do not need access to information about academic records. But, since
application programs are added to the file-processing system in an ad hoc manner, enforcing
such security constraints is difficult.
14
15. View of Data
A major purpose of a database system is to provide users with an abstract view of the data.
That is, the system hides certain details of how the data are stored and maintained.
Level of Data Abstractions
15
16. Level Data of Abstraction
type instructor=record
ID:char(5);
name:char(20);
deptname:char(20);
salary:numeric(8,2);
end;
another examples :
• Department deptname:type, building:type, budget:type
• Course coursed:type, title:type, deptname:type, credits:type
• Student id:type,name:type,deptname:type, totcred:type
16
17. Database Language
• Data-Definition Language (DDL) to specify the database schema
• Data-Manipulation Language (DML) is a language that enables users to access or
manipulate data as organized by the appropriate data model
In practice, the data-definition and data-manipulation languages are not two separate
languages; instead they simply form parts of a single database language, such as the widely used
SQL language
Data Models : a collection of conceptual tools for describing data, data relationships, data
semantics, and consistency constraints. A data model provides a way to describe the design of a
database at the physical, logical, and view levels.
Database Schema : overall design of the database variable declarations
17
18. Data-Manipulation Language (DML)
• Retrieval of information stored in the database
• Insertion of new information into the database
• Deletion of information from the database
• Modification of information stored in the database
Procedural DMLs require a user to specify what data are needed and how to get those data.
Declarative DMLs (also referred to as non procedural DMLs) require a user to specify what
data are needed without specifying how to get those data.
18
19. Data-Definition Language (DDL)
Data Storage and Definition language database schema
Data stored in database must satisfy certain consistency constraint , ex: minus is disallowed for grade,
birth of date must less than 2000 etc
Domain Constraints possible values integer types, character types, date/time types
Referential Integrity ensure that a value that appears in one relation
Assertions validation database (domain dan referential integrity special form of assertion)
Authorization read authorization, which allows reading, but not modification, of data. Insert
authorization, which allows insertion of new data, but not modification of existing data. Update
authorization, which allows modification, but not deletion, of data; and delete authorization,
which allows deletion of data.
19
22. TUGAS KELOMPOK
Rangkum materi hari ini dengan menggunakan kalimat sendiri
(untuk setiap kelompok) Buatlah tabel-tabel yang menurut Anda kemungkinan digunakan pada :
1. Facebook
2. Google Plus
3. Gmail
4. Yahoo Mail
5. Blogspot.com
6. Wordpress.com
7. Google Earth
8. Google Drive
9. DropBox
10. Youtube.com
11. Kaskus.com
22