Lecture 2- Filebased vs Dbms
Lecture 2- Filebased vs Dbms
Sales Developme
Planning Control Corporat nt
e
Databas
e
Accounting
Data
Informati
on
BASIC DATABASE
CONCEPTS
Metadata
o Data that describe the properties or characteristics of end-user
data and the context of those data Or simply it’s data about data
o It includes details such as the format, size, location, and creation
date of a file or dataset
o Metadata can be used to organize and categorize information,
making it easier to search for and analyze
o Examples of metadata include the author and title of a document,
the length and genre of a video, or the date and location a
photograph was taken
o Metadata is typically stored alongside the actual data and can be
accessed and processed by computers to perform various tasks
BASIC DATABASE
oCONCEPTS
Metadata enable database designers and users to understand what
data exist, what the data mean, and how to distinguish
between data items that at first glance look similar
BASIC DATABASE
CONCEPTS
File Processing System
o When computer-based data processing was first
available, there were no databases
and file-based systems were used
o A transitional file processing system, sometimes referred
to asa file-based system, stores data in separate files
o Each file contains a collection of records, and each record is typically
composed of fields or attributes that store specific data
values
o In this system, data is stored and managed on a file-by-file basis
o Updates or modifications to the data require changes to be made
directly to the individual files
BASIC DATABASE
CONCEPTS
Library Examinatio
n
Registratio
n
DBMS
University
Students
Database
Database
Approach
THE DATABASE
APPROACH
Advantages of Database Approach
1. Program-data Independence
With database approach data and its is
structure/description database where as application stored in
programs manipulating this separately, the change in the
one does not unnecessarily effect other. data are
2. Planned
Good Data Redundancy
database design attempts to integrate previouslystored
separate (and
redundant) data files into a single, logical structure. Ideally, each
primary fact is recorded in only one place in the database files. The
database approach does not eliminate redundancy entirely but tries
to keep it minimum.
3. Improved Data Consistency
By eliminating or controlling data redundancy, we greatly reduce the
opportunities for inconsistency because each data item stores in a
single place.
THE DATABASE
4.APPROACH
Increased Productivity Of Application Development
A major advantage of the database approach is that it greatly
reduces the cost and time for developing new business applications.
The application required for the database my already exists and
need little modification. DBMS also provides a number of highly
productivity tools such as report generators, support for high-level
languages, etc.
5. Reduced Program Maintenance
In a database environment, data are more independent of the
application programs that use them. Within limits, we can change
either the data or the application programs that use the data without
changing the other factor.
6. Improved Data Sharing
A database is designed as a shared corporate resource. Authorized
internal and external users are granted permission to use the
database, and each user (or group of users) is provided one or more
user views into the database to facilitate this use.
THE DATABASE
7.APPROACH
Enforcement of Standard
Proper database development process ensures that the
established guidelines, rules, and conventions are followed
while designing, developing, and maintaining databases. It
involves
and implementing
techniquesmeasures, procedures, integrity, and
consistency,
to quality in the
maintain database
system.
Database approach enhances the accuracy, consistency,
8. Improved Data Quality
completeness, and reliability of the data stored in a
database. It involves implementing strategies, methods,
and techniques to eliminate errors, inconsistencies,
redundancies, and inaccuracies in the data, ensuring that it is
reliable and can effectively support business operations and
decision-making processes.
THE DATABASE
9.APPROACH
Better Backup and Recovery Facility
Data is a very important resource and is very much
valuable for any organization. Database systems offer
excellent facilities for taking backup of data and good
mechanism of restoring those backups to get back the
backed-up data.
10.Better Concurrency Control
Concurrency means the access of database form as number
of points simultaneously. Database systems offers
various mechanisms to access the data in such a way
that all the data accesses are completed correctly and
transparently. Its has proper protocol (RR,RW,WR,WW)
3. Data
Central component containing operational data & metadata.
Schema: Defines database structure (e.g., tables, attributes).
Example: PropertyForRent (propertyNo, rent, ownerNo).
4. Procedures
Rules & instructions for database management.
Includes system operations, backups, recovery, and security.
5. People
Includes DB administrators, developers, and end-users.
Responsible for design, maintenance, and usage.
Roles in the Database
Environment
InE this section, we examine what we listed in the previous
section as the fifth component of the DBMS environment: the
people. We can identify four distinct types of people who
participate in the DBMS environment:
data and database administrators,
database designers,
application developers,
end-users.
Data Administrator
is(DA)
responsible for the management of the data
resource, including database planning; development
and maintenance of standards, policies and
procedures; and conceptual/logical database design.
The DA consults with and advises senior managers,
ensuring that the direction of database development
will ultimately support corporate objectives.
The Database
Administrator (DBA)
is responsible for the physical realization of the database,
including physical database design and implementation,
security and integrity control, maintenance of the operational
system, and ensuring satisfactory performance of the
applications for users
Database Designers
The logical database designer is concerned with
identifying the data (that is, the entities and attributes), the
relationships between the data, and the constraints on the
data that is to be stored in the database.
5. Database Tuning
In addition to features provided directly by vendors of DBMSs, third-
party software is also available for many DBMSs.
In most cases, third-party software extends the features available
with the database software. For example, many third-party vendors
provide advanced database design tools that extend the database
definition and tuning capabilities provided by DBMSs.