Lecture 2
Lecture 2
Lecture 2
Example:
Now, when we have collected electoral data of an
area, state or country, it has become a database of
country’s voters
Database System:
Advantages:
4.Data administration.
• Database Applications:
• Banking: all transactions Airlines: reservations,
schedules Universities: registration, grades
• Sales: customers, products, purchases
• Online retailers: order tracking, customized
recommendations Manufacturing: production,
inventory, orders, supply chain Human resources:
employee records, salaries, tax deductions
Database Administrators (DBA):
The DBA is responsible for authorizing access to the database, for
Coordinating and monitoring its use and for acquiring software and hardware resources as
needed.
These are the people, who maintain and design the database daily.
Relational databases
Relational databases became dominant in the 1980s. Items in a relational
database are organized as a set of tables with columns and rows.
Relational database technology provides the most efficient and flexible
way to access structured information.
Object-oriented databases
Information in an object-oriented database is represented in the form of
objects, as in object-oriented programming.
Distributed databases
A distributed database consists of two or more files located in different
sites. The database may be stored on multiple computers, located in the
same physical location, or scattered over different networks.
Data warehouses
A central repository for data, a data
warehouse is a type of database
specifically designed for fast query and
analysis.
NoSQL databases
A NoSQL, or nonrelational database,
allows unstructured and semistructured
data to be stored and manipulated (in
contrast to a relational database, which
defines how all data inserted into the
database must be composed). NoSQL
databases grew popular as web
applications became more common
and more complex.
OLTP databases. An OLTP database is a speedy, analytic database designed for
large numbers of transactions performed by multiple users.
These are only a few of the several dozen types of databases in use today. Other, less
common databases are tailored to very specific scientific, financial, or other functions. In
addition to the different database types, changes in technology development
approaches and dramatic advances such as the cloud and automation are propelling
databases in entirely new directions. Some of the latest databases include
Cloud databases
A cloud database is a collection of data, either structured or unstructured, that
resides on a private, public, or hybrid cloud computing platform. There are two
types of cloud database models: traditional and database as a service (DBaaS).
With DBaaS, administrative tasks and maintenance are performed by a service
provider.
Roles of a database administrator
1. Database design:
A database administrator has the responsibility of designing a database that
meets the demands of users. Hence, having knowledge of database design is
crucial for an administrator.
2. Database backup:
A database administrator has the responsibility to back up every data in the
database, recurrently. This is necessary, so that operations can be restored in
times of disaster or downtime.
3. Database availability:
A database administrator has the responsibility of ensuring database
accessibility to users from time to time.
4. Database restore:
A database administrator has the responsibility of restoring a file from a
backup state, when there is a need for it.
5. Data move:
A database administrator has the responsibility of moving a database set, say
from a physical base to a cloud base, or from an existing application to a new
application.
6. Database upgrade:
A database administrator has the responsibility of upgrading database software
files when there is a new update for them, as this protects software from security
breaches.
7. Database patch:
In times of new upgrades for database software, the database administrator has
the responsibility of ensuring that the database system functions perfectly and
works to close up any gaps in the new update.
8. Database security:
Datasets are assets, and one major responsibility of database administrators is to
protect the data and ensure adequate security in an organization’s database.
9. Capacity planning:
A database administrator has the responsibility of
planning for increased capacity, in case of sudden
growth in database need.
10. Database monitoring:
A database administrator has the responsibility of
monitoring the database and the movement of data in
the database. Administrators provide access for users
who require access to the database.
11. Error log review:
A database administrator has the responsibility of
interpreting the error messages sent by a database
when there is a fault or bridge.