0% found this document useful (0 votes)
44 views7 pages

Computer Assignment

computer assingnment
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views7 pages

Computer Assignment

computer assingnment
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

A database management system (DBMS) is a software system for creating and

managing databases. A DBMS enables end users to create, protect, read,


update and delete data in a database. It also manages security, data integrity
and concurrency for databases.

 Purposes of database system

 Administration tasks. A DBMS supports many typical database administration tasks,

including change management, performance monitoring and tuning, security, and backup and

recovery. Most database management systems are also responsible for automated rollbacks and

restarts as well as logging and auditing of activity in databases and the applications that access

them.

 Storage. A DBMS provides efficient data storage and retrieval by ensuring that data is stored in

tables, rows and columns.

 Concurrency control. In environments where multiple users access and modify the database

simultaneously, a DBMS guarantees controlled transaction execution to prevent data corruption or

inconsistency.

 Centralized view. A DBMS provides a centralized view of data that multiple users can access

from multiple locations in a controlled manner. A DBMS can limit what data end users see and how

they view the data, providing many views of a single database schema. End users and software

programs are free from having to understand where the data is physically located or on what type

of storage medium it resides because the DBMS handles all requests.

 Data manipulation. A DBMS ensures data integrity and consistency by letting users insert,

update, delete and modify data inside a database.

 Data independence. A DBMS offers both logical and physical data independence to protect users

and applications from having to know where data is stored or from being concerned about changes

to the physical structure of data. As long as programs use the application programming interface

(API) for the database that the DBMS provides, developers won't have to modify programs just

because changes have been made to the database.

 Backup and recovery. A DBMS facilitates backup and recovery options by creating backup

copies so that data can be restored to a consistent state. This protects against data loss due to

hardware failures, software errors or other unforeseen events. In a relational database

management system (RDBMS) -- the most widely used type of DBMS -- the API is structured
query language (SQL), a standard programming language for defining, protecting and accessing

data.

Benefits of using a DBMS

A DBMS offers several key advantages over traditional file-based systems, including the following:

 Data integrity and concurrency. One of the biggest advantages of using a DBMS is that it lets users and

application programmers access and use the same data concurrently while managing data integrity. Data is better

protected and maintained when shared using a DBMS instead of creating new iterations of the same data stored in

new files for every new application.

 Central storage. A DBMS provides a central store of data that multiple users can access in a controlled manner.

Central storage and management of data within the DBMS provide the following:

o Data abstraction and independence.

o Data security.

o Locking mechanism for concurrent access.

o An efficient handler to balance the needs of multiple applications using the same data.

o The ability to swiftly recover from crashes and errors.

o Strong data integrity capabilities.

o Logging and auditing of activity.

o Simple access using a standard API.

o Uniform administration procedures for data.

 Data sharing and redundancy. A DBMS enables efficient sharing between multiple users and applications. Its

capability of centralized storage also reduces data redundancy which typically occurs if the same data is stored

unnecessarily in multiple locations.

 Logical and structural organization of data. Database administrators (DBAs) can use a DBMS to impose a

logical, structured organization on the data. It delivers economy of scale for processing large amounts of data

because it's optimized for such operations.


 Data backup and recovery. With a DBMS, users are spared the hassle of routinely backing up data as it handles

backup and recovery automatically. A DBMS restores a database to its initial state in case of a server crash or

other system malfunction.

 Multiple views. A DBMS can also provide many views of a single database schema. A view defines what data the

user sees and how they see the data. The DBMS provides a level of abstraction between the conceptual schema

that defines the logical structure of the database and the physical schema that describes the files, indexes and other

physical mechanisms the database uses.

 System modification. A DBMS lets users modify systems much more easily when business requirements change.

A DBA can add new categories of data to the database without disrupting the existing system, thereby insulating

applications from how data is structured and stored.

However, a DBMS must perform additional work to provide these advantages, thereby incurring overhead. A DBMS

uses more memory and CPU than a simple file storage system, and different types of DBMSes require different types

and levels of system resources.

Drawbacks of DBMS

A DBMS offers numerous advantages, but it also comes with the following drawbacks:

 High investment and maintenance costs. Perhaps the single biggest drawback is the cost of the hardware,

software and personnel required to run an enterprise DBMS, such as SQL Server, Oracle or IBM Db2. The

hardware is usually a high-end server with a significant amount of memory configured, coupled with large disk

arrays to store the data. The software includes the DBMS itself, which is pricey, as well as tools for programming

and testing and for DBAs to enable management, tuning and administration. A DBMS also incurs ongoing annual

maintenance costs, which increase an organization's overall investment.

 Expertise requirement. From a personnel perspective, using a DBMS requires hiring a DBA and staff, training

developers in the proper usage of the DBMS, and possibly hiring additional systems programmers to manage the

installation and integrate the DBMS into the IT infrastructure.

 Complexity. DBMS software is complex and requires in-depth knowledge to properly set up and manage. But the

DBMS interfaces with many other IT components, such as the OS, transaction processing systems, programming

languages and networking software. Ensuring the proper configuration and efficiency of such a complicated setup

can be difficult and cause performance slowdowns or even system outages.

 Security vulnerabilities. The centralized nature of a DBMS can increase security


vulnerabilities because if a single component encounters problems, it can lead to problems
or even a shutdown of the entire database system. This poses a major drawback for
companies that completely rely on databases.

 The importance of Data models in business rules


Data models are essential in formulating and implementing business rules for several reasons:

1. Structure and Organization: Data models provide a clear structure for how data is
organized, helping businesses understand relationships between different data
elements. This structure is crucial for creating consistent and logical business rules.
2. Clarity and Communication: Well-defined data models serve as a common
language among stakeholders, including business analysts, IT teams, and
management. This clarity ensures that everyone understands the data context when
developing business rules.
3. Consistency and Standardization: Data models help enforce consistency in how
data is interpreted and used across the organization. This standardization is critical for
ensuring that business rules are applied uniformly, reducing errors and
misunderstandings.
4. Scalability: As businesses grow and evolve, data models can adapt to new
requirements. This adaptability allows business rules to be updated or expanded
without disrupting existing processes, supporting long-term scalability.
5. Validation and Integrity: Data models enable the establishment of constraints and
validation rules that ensure data integrity. This is vital for ensuring that business rules
operate on accurate and reliable data, ultimately enhancing decision-making.
6. Analysis and Insights: By providing a clear framework for data relationships, data
models facilitate better analysis and reporting. This capability allows businesses to
derive insights that can inform the development of more effective business rules.
7. Automation: With a well-defined data model, businesses can automate processes
based on business rules more effectively. This automation increases efficiency and
reduces the likelihood of human error.

In summary, data models are foundational to developing effective business rules, ensuring
that they are clear, consistent, and capable of supporting the organization’s goals.

 Evolution of data base models

1. Hierarchical Model (1960s)

 Structure: Data is organized in a tree-like structure with parent-child relationships.


 Characteristics: Simple and efficient for certain applications but inflexible; complex
relationships are difficult to represent.

2. Network Model (1970s)

 Structure: More flexible than hierarchical models, allowing multiple parent-child


relationships through a graph structure.
 Characteristics: Better representation of complex relationships, but still complicated and
harder to manage than later models.

3. Relational Model (1980s)

 Structure: Data is organized in tables (relations) with rows and columns.


 Characteristics: Introduced by E.F. Codd, this model allows for powerful querying using SQL.
It promotes data independence and is widely used due to its simplicity and flexibility.

4. Object-Oriented Data Model (1990s)

 Structure: Integrates object-oriented programming concepts with database management.


 Characteristics: Supports complex data types and relationships, making it suitable for
applications requiring rich data representation, such as CAD and multimedia.

5. Entity-Relationship Model (ER Model) (1976)

 Structure: A conceptual framework used to represent data and relationships through


entities and attributes.
 Characteristics: Often used in database design; it helps visualize data structures before
implementing them in relational databases.

6. NoSQL Databases (2000s)

 Structure: Various models including key-value, document, column-family, and graph.


 Characteristics: Designed to handle large volumes of unstructured or semi-structured data.
NoSQL databases provide flexibility and scalability, catering to modern web applications.

7. Big Data and Data Lakes (2010s)

 Structure: Involves storing vast amounts of unstructured data from various sources.
 Characteristics: Allows for real-time processing and analytics, supporting diverse data types.
This approach is ideal for organizations looking to leverage large-scale data for insights.

8. Data Mesh and Data Fabric (2020s)

 Data Mesh: A decentralized approach to data architecture, promoting cross-functional


teams responsible for their own data domains.
 Data Fabric: An integrated architecture that provides a unified view and access to data
across environments, enhancing data management and accessibility.

Conclusion

The evolution of data models reflects the growing complexity of data and the need for
efficient management and analysis. As businesses increasingly rely on data-driven decision-
making, these models continue to adapt, integrating advanced technologies like AI and
machine learning to improve data processing and utilization.
The main components of DBMS
A Database Management System (DBMS) consists of several key components that work
together to manage data effectively. Here are the main components:

1. Database Engine

 Function: The core service for accessing and processing data. It handles data storage,
retrieval, and manipulation.
 Features: Supports transactions, query processing, and concurrency control.

2. Database Schema

 Function: Defines the structure of the database, including tables, fields, relationships, and
constraints.
 Features: Provides a blueprint for how data is organized and how different data entities
relate to each other.

3. Query Processor

 Function: Interprets and executes database queries written in a query language, typically
SQL.
 Features: Includes parsing, optimization, and execution of queries to ensure efficient data
retrieval.

4. Data Dictionary

 Function: A repository of metadata that describes the database structure, including tables,
fields, data types, and relationships.
 Features: Helps users and administrators understand the database schema and manage data
effectively.

5. Transaction Management

 Function: Ensures that database transactions are processed reliably and adhere to the ACID
properties (Atomicity, Consistency, Isolation, Durability).
 Features: Manages concurrency, rollback, and recovery to maintain data integrity.

6. Storage Manager

 Function: Manages how data is stored on physical storage devices.


 Features: Handles file organization, storage allocation, and data retrieval, optimizing
performance and space utilization.

7. Security Manager

 Function: Controls access to the database and ensures data security.


 Features: Manages user authentication, authorization, and permissions, protecting sensitive
data from unauthorized access.
8. Backup and Recovery Manager

 Function: Facilitates data backup and recovery processes.


 Features: Ensures data can be restored in case of failure or corruption, maintaining business
continuity.

9. User Interface

 Function: Provides tools and interfaces for users to interact with the database, such as
command-line interfaces or graphical user interfaces (GUIs).
 Features: Enables data entry, query execution, and report generation, catering to both
technical and non-technical users.

10. Database Administration Tools

 Function: Tools for managing and maintaining the database system.


 Features: Includes performance monitoring, tuning, and management utilities to ensure
optimal operation.

These components work together to ensure that a DBMS can efficiently manage data, provide
access to users, and maintain the integrity and security of the database.

You might also like