1. DBMS
A database management system (DBMS) 1. It’s software that provides methods to 1. create, 2. manage, 3. access a large volume of data 2. Automate processes such as 1. adding new entries, 2. modifying existing entries, 3. deleting entries when necessary 3. help users find information quickly and efficiently. 4. A database is an organized collection of data, so that it can be easily accessed and managed 1. You can organize data into: tables, rows, columns, index 2. it to make it easier to find relevant information 5. The main purpose of the database is to operate a large amount of information by 1. storing 2. retrieving 3. managing data. 6. There are many databases available like MySQL, Sybase, Oracle, MongoDB, Informix, PostgreSQL, SQL Server 7. Modern databases are managed by (DBMS).
2. Characteristics of DBMS
-
Real-world entity
- DBMS have been designed keeping in mind the needs of business organizations.
- They help businesses manage large amounts of data efficiently.
- store huge volumes of data
- provide easy ways to search through them.
- Microsoft Access, Oracle, MySQL, etc.
-
Relational databases
- 1970s.
- each record contains fields called attributes.
- Each attribute represents one piece of information about a particular object
- For example: To track personal details : attributes namely name, address, and phone number.
- All of these attributes together form a single row in a table.
-
Structured query language(SQL)
- 1980s.
- write queries against a database
- Queries written in SQL are known as structured queries as they use predefined structures to define relationships among entities.
-
ACID properties DBMS follows to the concepts of
- Atomicity
- Consistency
- Isolation
- Durability
- These concepts are applied to transactions
- In multi-transactional environments, ACID properties help the database stay healthy in case of failure
-
Multiuser and concurrent access
- Data can be accessed and manipulated in parallel with the help of the DBMS
- Users are unaware of the restrictions on transactions when handling the same data item.
- DBMS offers multiple views for various clients.
-
Transactional processing
- Transactions are an essential part of any application.
- Transactions ensure consistency across multiple users accessing the system at the same time
- When transactions fail due to errors, the entire transaction should roll back so that no changes made during the failed operation remain permanent.
- Ensures that everything remains consistent when there is a problem.
-
Less redundancy and consistency
- The DBMS follows the rules of normalization, which splits a relation when there is more than one attribute with the same value.
- Normalization is a method of reducing data redundancy.
- Every relation in a database is consistent, that’s the state of consistency.
- DBMS gives greater consistency than earlier forms of data storage.
-
Stores Any Kind of Data
- DBMS should be able to store any kind of data that exists in the real world
- Because we need to work with all kinds of data that is present around us.
-
Security
- DBMS provides security to the data stored in it because all users have different rights to access database
- Some of the user can access the whole database while other can access a small part of database.
- example, computer teacher can access only subject files, HOD can access all files
