DBMS Unit 1 Notes
DBMS Unit 1 Notes
Q2. What are the main problems with traditional file processing
systems? (miaaaaaaawww)
Introduction
The traditional file system also **lacks flexibility**. While it can handle
routine reports, generating new or unexpected information often requires
significant programming effort. This makes it difficult to quickly retrieve the
data you need for sudden, ad hoc requests.
Finally, there's the **lack of data sharing and availability**. With data
scattered across different departments, it's challenging to get a complete
picture. Information doesn't flow smoothly between areas, making it hard to
combine data for analysis and decision-making. This fragmented approach
results in inefficiencies and hampers the organization's ability to act on
comprehensive insights.
Summary:
In essence, traditional file processing systems are fraught with inefficiencies
and obstacles that make effective data management, security, and
collaboration difficult. These issues can significantly hinder an organization's
agility and decision-making capabilities.
By organizing data into these levels, a DBMS ensures users can interact with
the data simply and securely, while the system remains efficient and strong.
Q5. What are the different data models used in database systems?
Introduction: (out of 9 write only 4 to 5)
Data models can be likened to architectural blueprints that underpin the
construction of a well-designed database. They offer a systematic database
approach to conceptualizing, defining, and categorizing data, allowing for a
comprehensive view of how data elements relate to one another.
Following are the various types of data models:
1. Hierarchical Data Model: Drawing inspiration from the structure of a tree,
the hierarchical data model arranges data in a hierarchical manner, akin to a
parent-child relationship. This model was prominent in early mainframe
databases, offering a simplistic yet hierarchical organization.
2. Network Data Model: Evolved from the hierarchical model, the network
data model introduces more complex relationships. Data elements are
interconnected in a mesh-like structure, permitting entities to possess multiple
parent and child records. This flexibility facilitates intricate data representation.
3. Relational Data Model: The stalwart of modern database systems, the
relational data model leverages the power of tables to represent data. Each
table comprises rows and columns, with relationships established through
keys. The structured nature of this model paved the way for the
ubiquitous SQL language.
4. Entity-Relationship (ER) Model: Stepping into the realm of conceptual
design, the ER model emphasizes entities, their attributes, and the
relationships between them. It employs entities to represent real-world objects
and illustrates how they interact, providing a blueprint for database schema
design.
5. Object-Oriented Data Model: Catering to the complexities of modern
applications, the object-oriented data model introduces the concept of
encapsulation. It models data as objects, encapsulating both attributes and
behaviors, thus mirroring real-world scenarios more accurately.
6. Object-Relational Data Model (ORDBMS): Blurring the boundaries
between the relational and object-oriented worlds, the ORDBMS integrates
object-oriented features into the relational model. This fusion accommodates
the storage of complex data types and encourages more expressive data
representation.
7. XML Data Model: With the rise of semi-structured data, the XML data
model shines as an adept choice. It is tailored for storing and representing
hierarchical data structures, making it invaluable for scenarios where flexibility
in schema design is essential.
8. NoSQL Data Models: Breaking free from the confines of tabular relations,
NoSQL databases embrace various data models, including key-value,
document, column-family, and graph models. These models cater to diverse
needs, such as high-speed data retrieval and flexible data structures.
9. Data Warehouse Models: Diving into the realm of business intelligence,
data warehouse models focus on optimizing data for analytical purposes.
Notable examples include the star schema and snowflake schema, which
facilitate efficient querying and reporting.