Beginner Topic 2 of 51 Databases
DBMS
Software that stores, retrieves and manages database content.
How it works
A database management system is the software that creates, stores, queries and administers databases. It provides a query processor and optimizer, storage engine, transaction manager, concurrency control, recovery log, security with users and permissions, and tools for backup and monitoring. Examples include PostgreSQL, MySQL, Oracle, SQL Server, SQLite and MongoDB. Clients connect over a protocol and submit queries; the DBMS decides how to execute them.
Step-by-step walkthrough
- Clients send queries such as SELECT.
- The query processor parses and plans them.
- The storage engine reads pages, uses caches and locks.
- It writes to files on disk.
- The DBMS also provides security, transactions and recovery.
Where it is used
Applications of every size rely on a DBMS to avoid reinventing storage, indexing, locking and crash recovery. Choosing a DBMS affects features, scaling, licensing and operations.
Common pitfall
A DBMS is not the same as the data in it, and misconfiguration such as default passwords, open ports or no backups is a common cause of breaches and losses. Running a heavy workload on an under-provisioned instance causes slowness. Learn its tooling for execution plans, logs and metrics, and keep versions patched.
Where it fits in the course
DBMS is topic 2 of 51 in Databases, rated Beginner. It follows What is a Database. The next topic is Relational Model.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Databases quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Databases quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is DBMS?
Where do people use DBMS?
What is the most common mistake with DBMS?
What should I learn before this topic?
How can I practice it?
Is DBMS hard to learn?
How long does it take to learn DBMS?
Which topics are related to DBMS?
What should I study after DBMS?
Related topics
- What is a Database (Databases)
- Relational Model (Databases)
- Tables, Rows and Columns (Databases)
- Primary Keys (Databases)