Week-1 LECTURE Intro to Module Database and Database Systems
Week-1 LECTURE Intro to Module Database and Database Systems
Databases
Autumn Year: 2024
Agenda
• Structure of Course • Assessment
• Module Leaders • Expectation from students
• Lecturers and Tutors • Topics covered in Data
Modelling and Database
• Module Aim Systems
• Learning Outcomes
Module Aim
• Allows students to understand, and put into practice,
techniques available for Analysing, Designing and
Developing Database Systems.
• To give introduction to issues governing Design and
Implementation of Database Systems.
• To provide Introduction to both Theoretical aspects of
Designing sound Database Systems as well as Practical
aspects of Implementing such Systems.
What is Database?
• Something to store data digitally.
• Represented by Cylinder.
Where is Database used?
• Websites. (as a part of website) to
collect, store and display data
• Desktop Applications
• Phone Applications
database.
known as Queries.
• In the early 1980s, the American National Standards Institute (ANSI) and the International
Organization for Standardization (ISO) published the first official SQL standard, which defined
the language and established it as a standard for database management.
• Since then, SQL has become the standard language for interacting with relational databases and
is supported by most RDBMSs, including MySQL, Oracle, and Microsoft SQL Server.
Jobs that you can crack through SQL.
• Data analyst
• Data scientist
• Web developer
• Programmer
• Software engineer
• Business intelligence analyst
• SEO Analyst
• Accountant
Oracle
• Oracle makes software, called database management
systems (DBMS), to create and manage databases.
• Self Study
• Download Module Specification, Lecture Slides, Tutorials and other materials from LMU or
Google Classroom
Further Reading
• Connolly, T. & Begg, C. Database Systems - A Practical Approach to
Design, Implementation and Management (6th ed.)
• Ritchie, C. Relational Database Principles (2nd Ed.)
• Kroenke, D. Database Concepts
• McFadden, F. R., Hoffer, J. A. & Prescott, M. B. Modern Database
Management (7th Ed.)
• Shah, N. Database Systems Using Oracle
• Kline, K. with Kline, D. SQL in a Nutshell - A Desktop Quick Reference
• Earp, R. & Bagui, S. Learning SQL A Sep-by-Step Guide using Oracle
Introduction to Databases and
Database Design Process
Topics
• Introduction: definitions
• Data and Information
• Metadata
• Database Systems
• Data Modelling
• Database Management Systems
• Database Design Process
• Oracle
Data and information
Data
● Raw, unorganized fact that doesn’t have meaning
● Can be in the form of a number, figure, character, symbol, audio, video and so on
Data and information
Information
● Processed and structured set of data that gives meaning
● Suitable for human interpretation
● Can be used for decision-making
Data and information
C. Data refers to the raw and unprocessed facts and figures that have no context or
purposeful meaning.
C. Data refers to the raw and unprocessed facts and figures that have no context or
purposeful meaning.
● System was adequate for small amounts of data with few reporting
requirements
● Finding and using data in growing collections of File Folders became
time-consuming and cumbersome
File Processing Approach
● A file processing system is a collection of programs that
store and manage files in computer hard-disk.
● Traditional approach to Information System Design.
● In a typical file processing system, each department or
area within an organization has its own set of files.
● The records in one file may not relate to the records in
any other file.
● Organizations have used file processing systems for many
years.
File Processing Approach
• Many of these systems, however, have two major weaknesses: they have redundant data and they
isolate data.
• Data separated and isolated.
Five major operations can be performed on file are:
• Creation of a new file.
• Opening an existing file.
• Reading data from a file.
• Writing data in a file.
• Closing a file.
File Processing Approach
• Focuses on data processing needs of individual departments.
Account
Customer details Account file
processing
Loan
Customer details Loan file
processing
File Processing Approach
First_name Last_name Phone Address Email
James Smith 12345667 Chicago [email protected]
•Deposit Department
•Remittance Department
•Loan Department
•Notary Service
• Inconsistent Data
• Inflexibility
instances of his data are updated. Failure to do so can lead to inconsistencies in customer records.
● Wasted Storage: Storing the same data multiple times consumes more storage space than necessary.
● Data Integrity: If updates are made to one instance of customer’s data but not others, it can lead to
● Increased Maintenance: When changes need to be made to customer data, they have to be made in multiple
places, which increases the complexity of maintenance and the likelihood of errors.
Data Redundancy issue
● Security Concerns: Storing redundant data increases the surface area for potential security breaches. If
organization.
relationships.
▪ Data Storage Management: Stores data and related data entry forms,
• It follows that although data is input once, can be used for several purposes.
• Database provides data for organization as whole, not just for individual departments.
• Organization of data into Database, rather than into separate files, encourages integration of
data.
• Because data held only once, easier to ensure that it’s up-to-date.
Database Design Process
• Main phases in Database Design Process
• Requirements collection and analysis: Fact finding (interviews, observation, looking
at current data)
• Conceptual Database Design: Entities, ER modelling, function specs.
• Choice of DBMS
• Data Model mapping (logical database design): ER model 🡪 Relations,
Normalization
• Physical Database Design: Indexes, physical storage etc.
Database Users
• Users are differentiated by way they expect to interact with system
• Application programmers – interact with system through DML.
• Sophisticated users – form requests in Database query language
• Specialized users – write specialized Database applications that do not fit into traditional
data processing framework (knowledge base and expert systems, CAD, etc)
• Naïve users – invoke one of permanent application programs that have been written
previously. E.g. people accessing database over web, bank tellers, clerical staff
Database Administrator
• Coordinates all activities of Database system (has a good
understanding of enterprise information resources and needs)
• Database Administrator's duties include
• Schema definition
• Storage structure and access method definition
• Schema and physical organization modification
Database Administrator
• Database Administrator's duties include
• Granting user authority to access Database
• Specifying integrity constraints
• Acting as liaison with users
• Routine Maintenance
• Monitoring performance, responding to changes in requirements, backups, etc.
About Oracle Database XE
Oracle Database Express Edition (XE) is a free, lightweight, and entry-level
version of the Oracle Database software designed for small-scale development,
testing, and educational purposes.
Key features of Oracle Database XE include:
• Free to Use
• Limited Resources
• User-Friendly Installer
• Data Security
About Oracle Database XE
1. SYS user is the superuser in Oracle Database.
• ALL_USERS: Provides information about all users visible to the currently logged-in user and accessible to
the querying user.
• USER_USERS: Placeholder or potentially a custom view name that needs to verify its existence or context in
specific database environment.
All users
User
users