Information Management: Introduction, Database Concepts
Information Management: Introduction, Database Concepts
Information Management: Introduction, Database Concepts
- Address
- Person
- Average Grade
DATABASE - usually large collection of data – preferably related information and organized especially for rapid
search and retrieval
-a structured object, it can be a pile of papers(MANUAL), but most likely in the modern world it exists on a
computer system(COMPUTER-BASED / COMPUTERIZED)
-structured object consists of data and metadata
A table definition contains the fields for the names and address, the length of each fields and the datatypes
Datatype restricts values in fields (allowing only a date or a number)
Manual - traditional method of recording information (pen/pencil and paper)
Advantages
Cheaper
Portable (handy)
Do not consume electricity
No need for special trainings
Computerized – modern
Advantages
Components of DBMS
A database management system (DBMS) consists of several components. Each component plays very important role
in the database management system environment.
The major components of database management system are:
Software
The main component of a DBMS is the software.
It is the set of programs used to handle the database and to control and manage the overall computerized database
DBMS software itself, is the most important software component in the overall system
Operating system including network software being used in network, to share the data of database among multiple
users.
Application programs developed in programming languages such as C++, Visual Basic that are used to access database
in database management system.
Each program contains statements that request the DBMS to perform operation on database. The operations may
include retrieving, updating, deleting data etc.
The application program may be conventional or online workstations or terminals.
Hardware
Hardware consists of a set of physical electronic devices such as computers (together with associated I/O devices like
disk drives), storage devices, I/O channels,
Electromechanical devices that make interface between computers and the real world systems etc., and so on.
It is impossible to implement the DBMS without the hardware devices,
In a network, a powerful computer with high data processing speed and a storage device with large storage capacity is
required as database server.
Data
Data is the most important component of the DBMS. The main purpose of DBMS is to process the data.
In DBMS, databases are defined, constructed and then data is stored, updated and retrieved to and from the
databases.
The database contains both the actual (or operational) data and the metadata (data about data or description about
data).
Procedures
Procedures refer to the instructions and rules that help to design the database and to use the DBMS.
The users that operate and manage the DBMS require documented procedures on hot use or run the database
management system.
The database access language is used to access the data to and from the database.
The users use the database access language to enter new data, change the existing data in database and to retrieve
required data from databases.
The user write a set of appropriate commands in a database access language and submits these to the DBMS.
The DBMS translates the user commands and sends it to a specific part of the DBMS called the Database Jet Engine.
The database engine generates a set of results according to the commands submitted by user, converts these into a
user readable form called an Inquiry Report and then displays them on the screen. The administrators may also use
the database access language to create and maintain the databases.
The most popular database access language is SQL (Structured Query Language).
There are three kinds of people who play different roles in database system
Application Programmers
The people who write application programs in programming languages (such as Visual Basic, Java, or C++) to
interact with databases
Database Administrators
A person who is responsible for managing the overall database management system is called database
administrator or simply DBA.
End-Users
The end-users are the people who interact with database management system to perform different
operations on database such as retrieving, updating, inserting, deleting data etc.
Types of Database Management Systems:
An important feature of relational systems is that a single database can be spread across several tables. This differs
from flat-file databases, in which each database is self-contained in a single table.
An RDBMS is a particular type of DBMS that uses a relational model for its databases. An RDBMS therefore enables you to
create relational databases.
Relational database management systems have become the most popular type of database system. Most major database
management systems are relational.
Popular examples include Microsoft Access, SQL Server, Oracle Database, MySQL, FileMaker, PostgreSQL, and more below.
A relational database is a sydatabase that allows related data to be stored across multiple tables, and linked by establishing
a relationship between the tables. This provides an efficient way to store data, as you can
What is a table?
The data is stored in database objects which are called as tables. This table is basically a collection of related data
entries and it consists of numerous columns and rows
What is a column?
A column is a vertical entity in a table that contains all information associated with a specific field in a table.
What is a Record or a Row?
A record is also called as a row of data is each individual entry that exists in a table.
DATABASE
- Is the implementation or creation of a physical database on a computer
EVOLUTION OF DATABASE MODELING
Relational Database Model is currently the best solution for both storage and
retrieval
Hierarchical and the Network Database Model were partial solutions to the never-
ending problem of how to store data and how to do it efficiently
DISADVANTAGE: You cannot search for an EMPLOYEE without first finding the COMPANY
NETWORK DATABASE MODEL
*many-to-many relationship between EMPLOYEE and TASK, EMPLOYEE can be assigned many TASKS, and a TASK
can be assigned to many EMPLOYEES
RELATIONAL DATABASE MODEL
- Is a term used to describe an entire suite of programs for both managing a relational database and
communicating with the relational database engine
- Microsoft Access is an example of RDBMS
- Is both the database engine and any other tools that come with it
HISTORY OF RDBMS
- invented by an IBM researcher named Dr. E. F. Codd
(other people enhanced the original research, bringing the relational database model to where it is today)
- Began as a way of getting groups of data from a larger set, can be done by removing duplication from the
data using a process called normalization
- NORMALIZATION is composed of a number of steps called normal forms
- Structured Query Language (SQL) – data access language that allowed for queries against organized data
structures
- DB2 of IBM, Oracle Database from Oracle, etc…
APPLICATION
- is an interactive computer program with a user-friendly interface.
End-users use interfaces (or screens) to access data in a database and can execute reports requiring the click of
a button and subsequent retrieval from the printer.
End-users see just the pretty boxes on their screens and not the inner workings of the database, such as tables
• It is essential to understand that a well-organized design process is paramount to success
• From the perspective of database modeling, different application types can somewhat determine the
requirements for the design of a database model
TYPES OF APPLICATION
Online Transaction Processing (OLTP) – specialized, highly concurrent (shareable)
architecture requiring rapid access to very small amounts of data
Data Warehouse – requires large amounts of properly sorted data, low concurrency,
and relatively low response time
TYPES OF DATABASE
Examples:
Client-server – users could range from as little as one to thousands
- catered for low concurrency because the number of users is
always manageable (Local, Offline)
- server provides resources and services to one or more clients
- servers include web servers, mail servers, and file servers
- Each of these servers provide resources to client devices, such as
desktop computers, laptops, tablets, and smartphones
- Most servers have a one-to-many relationship with clients, meaning a single server can provide
resources to multiple clients at one time.
Online Transaction Processing (OLTP) - the number of users is an unimaginable order
- problems with concurrency (Online)
- used for order entry, financial transactions, customer relationship management and retail sales. Such systems have a
large number of users who conduct short transactions.
- OLTP’s primary system features are immediate client feedback (banks, airlines and retailers)
Decision Support Databases (DSD) – they support decision, generally more management-level and even
executive-level decision-types
- computer program application that analyzes business data and presents it so that users can make business decisions
more easily.
- A decision support system may present information graphically and may include an expert system or artificial
intelligence
- Examples: clinical decision for medical diagnosis, a bank loan officer verifying the credit of a loan applicant,
an engineering firm that has bids on several projects and wants to know if they can be competitive
with their costs
Examples:
Data Warehouse Database – data warehouse contain many years of historical data to provide effective
forecasting capabilities. Result can be excessively large, even millions of times larger than OLTP.
-is a relational database that is designed for query and analysis rather than for transaction processing
-are designed to help you analyze data. For example, to learn more about your company's sales data, you can build a
warehouse that concentrates on sales. Using this warehouse, you can answer questions like "Who was our best
customer for this item last year?"
- OLTP database is the source database because the OLTP database is the database where all the transactional
information in the data warehouse originates
Data mart – is a small subset of a larger data warehouse
- Are typically extracted as small sections of data warehouses, or created as small section during the process of
creating a much larger data warehouse database
- Child data warehouse
Difference Between Data Warehouse and Data Mart
• A data warehouse is a central repository for all an organization's data, an organization's data marts are subsets of
the organization's data warehouse.
Hybrid Database – mixture of OLTP type concurrency requirements and data warehouse type throughput
requirements