Professional Documents
Culture Documents
System
What is database? What are its objectives.
• A database is a collection of data that is organized and stored in a
structured way, typically in a computer system. The main objective of a
database is to provide a way to store and retrieve data efficiently and
accurately.
• Databases are used in a wide variety of applications, including business,
finance, healthcare, and education. They are particularly useful for storing
large amounts of data that needs to be accessed and updated frequently.
• There are several different types of databases, including relational
databases, object-oriented databases, and NoSQL databases. Each type of
database is designed to store and manage data in a specific way, and they
are used for different purposes depending on the needs of the application.
Some of the main objectives of a database include:
• Data storage: A database provides a central location for storing data, which makes it
easier to access and manage.
• Data organization: A database organizes data in a structured way, which makes it
easier to find and retrieve specific pieces of information.
• Data security: A database can include security measures to protect data from
unauthorized access or modification.
• Data integrity: A database can ensure that data is accurate and consistent, and it can
provide mechanisms for detecting and correcting errors.
• Data access: A database provides various ways to access and manipulate data,
including through SQL queries or other programming interfaces.
Overall, the main objective of a database is to provide a reliable and efficient way to
store and retrieve data, which is essential for many applications and businesses.
What is normalization?
• Normalization is the process of organizing a database in a way that
reduces redundancy and dependency, and improves the integrity and
efficiency of the data. Normalization is typically performed on
relational databases, which consist of tables with rows and columns
of data.
• Relational database model: This is the most widely used database model, and it
organizes data into tables with rows and columns. Each row represents a record,
and each column represents an attribute of the record. Relationships between
different tables can be established using primary and foreign keys.
• Network database model: This database model organizes data into a network of interconnected
records, with many-to-many relationships between records. Each record can be linked to multiple
other records, and each record can be a member of multiple sets.
• NoSQL database model: This is a broad category of database models that are designed for non-
relational data, such as unstructured or semi-structured data. NoSQL databases include
document databases, graph databases, and key-value stores.
• Each database model has its own strengths and weaknesses, and the choice of database model
depends on the needs of the application and the type of data being stored
What is ER Diagram?