CSC 203
CSC 203
INTRODUCTION
In this course we will study the concept of data, database and other related terms used in
Database Management.
THE OBJECTIVES
1. Database
2. Management System
What is a Database?
To understand the concept of database we must first look at the fundamental principles of
database.
Here we consider data which is the building block of every database and other terms
circled around data.
Data
Data is any raw or unprocessed fact; it is the building block of any database. The word data
covers the collection of facts stored in a database, it is distinct pieces of information that
may not make sense independently, example; 1, Tom, Computer science, 18, which are
usually formatted in a special way.
All software is divided into two general categories: data and programs. Programs are
collections of instructions for manipulating data.
Data is not only ubiquitous and pervasive, but also essential for organizations to survive
and prosper (By ubiquitous and pervasive we are highlighting that data is present
everywhere and impacts nearly all aspects of life, data has become a fundamental part of
our daily life, business operations, personal routines and technology etc.). Imaging trying to
operate a business without knowing who your customers are, what products you are
selling, who is working for you, who owes you money, and to whom you owe money. All
businesses must keep this type of data and much more. Just as important they must have
that data available to decision makers when necessary.
1. Data can exist in a variety of forms -- as numbers (0-9) or text in a piece of paper, as bits
(0, 1) and bytes (10001100) stored in electronic memory, or as facts stored in a person’s
mind. Strictly speaking, data is the plural of datum, a single piece of information. In
practice, however, people use data as both the singular and plural form of the word.
2. The term data is often used to distinguish binary machine-readable information from
textual human-readable information. For example, some applications make a
distinction between data files (files that contain binary data) and text files (files that
contain ASCII data).
3. In database management systems, data files are the files that store the database
information, whereas other files, such as index files and data dictionaries, store
administrative information, known as metadata (data about data).
1. Manual record Keeping: Early data management involved physical records like
books, ledgers and files. Examples like census records, financial accounts etc.
Manual systems were slow, prone to error and inefficient for large data sets.
Retrieving or updating the records often required significant effort.
2. File-Based systems: As computers emerged, data was stored in flat files using
basic storage methods e.g. magnetic tapes or disks. Though an improvement from
the previous method, this system leads to redundancy, inconsistency and difficulty
in accessing related data.
Key advantages
• Reduced redundancy.
• Easier to access data.
• Easier to retrieve data.
5. Big Data and NoSQL: With the rise of the internet, social media and IOT (Internet of
Things), unstructured and semi-structured data gained prominence. E.g. videos,
images, social media post, XML, JSON etc. NoSQL databases like MongoDB and
Casandra were developed to handle these datatypes.
6. Cloud database: A cloud database is a database that runs on a cloud platform (e.g.
AWS, Azure, Google cloud). Instead of being stored on your own hardware, the
database is managed and accessed over the internet.
Example: Google drive storing your photos is like a cloud database for your files.
Benefits:
• Easily scalable to handle more data.
• Accessible from anywhere
• Managed by cloud providers so you don’t worry about maintenance.
Data Organization
Bit: A bit is the smallest unit of data in computing. This term is curled from Binary digit.
Examples include 0 or 1, T or F, High or Low, On or Off. In database, this data type is known
as Boolean.
Bytes: A byte is a unit of data which can be 8 bits, 16bits, 32bits or 64 bits based on the
system. The term is curled from the word (By)eith(te). It can represent characters such as
letters, numbers or symbols.
Field: Field is a group of related characters or bytes. A space allocated for a particular item
of information. It is a single piece of related information in a database. A student form for
example, contains several fields: S/n, Name, Department, Age and so on
In database systems, fields, also known as Attributes or Domain are the smallest units of
information you can access. Most fields have certain properties associated with them. For
example, some fields are numeric whereas others are textual, some are long, while others
are short. In addition, every field has a name, called the field name.
Record
A collection of data records or information that has a name, called the filename. Almost all
information stored in a computer must be in a file. There are many different types of files:
data files, text files, program files, directory files, and so on. Different types of files store
different types of information. For example, program files store programs, whereas text files
store text. In database, Tables or Relations which comprise of Fields and Records created
are also regarded as files.
Database
• A phonebook
• Shopping list
• Facebook user base
• Students in a department (Details).
• On piece of paper
• On your mind
• On a computer
Typical Applications of Database
➢ Student Records
➢ Hotel Booking
➢ Library
➢ Maintenance Information System
➢ Banking System
➢ Sales Records
Databases are designed to efficiently solve a wide range of problems related to data
storage, organization, retrieval, and management. Here are some key problems that
databases address:
Overall, databases address the needs for structured data management, secure access,
data integrity, and operational efficiency
Database management system (DBMS) is a special software that helps users create and
maintain a database.
The primary goal of a DBMS is to offer a more convenient and effective way of storing and
retrieving database information. The management system is important because it provides
the necessary rules and regulations without which the maintenance of database cannot be
possible. Issues like selecting the attributes for a particular table; the common attributes
to create relationship between two tables; handling of insertion and deletion of records
from a table must be guided by rule in order to maintain the integrity of the database.
Advantages of DBMS:
Disadvantages of DBMS
Despite its numerous advantages, a Database Management System (DBMS) also has some
disadvantages, especially in specific scenarios. Here are the key drawbacks:
6. Overhead:
• A DBMS consumes considerable system resources, such as memory, CPU,
and storage.
• Resource-intensive applications may slow down overall system
performance.
8. Scalability Challenges:
• Scaling a DBMS to handle very large databases or high user concurrency can
be challenging without significant upgrades.
• Distributed DBMSs can address scalability but add complexity.
Database Administrator Manage and maintain DBMS and Database fundamentals, SQL,
databases vendor courses.
Database Analyst Develop databases for decision SQL, query optimization, data
support reporting warehouses.
Database Architect Design and implementation of DBMS fundamentals, data
database environments (conceptual, modelling, SQL, hardware
logical and physical) knowledge, etc.
Database Consultant Help companies leverage database Database fundamentals, data
technologies to improve business modelling, database design, SQL,
process and achieve specific goals DBMS, hardware, vendor-specific
technologies etc.
Database Security Officer Implement security policies for data DBMS fundamentals, database
administration administration, SQL data security
technologies, etc.
Cloud Computing Data Design and implement the Internet technologies, cloud
Architect infrastructure for next-generation storage technologies, data
cloud database systems security, performance tuning,
large databases, etc.