Main menu
Definition

Database

A database is a collection of data stored electronically. Learn how databases work, the main types, how they differ from spreadsheets, and why securing database access matters.

DTDevolutions Team·November 12, 2026·2 min read

What is a database?

A database is an organized collection of data stored electronically so it can be easily searched, updated, and managed. Databases hold everything from customer records and inventory to application settings and logs. They are usually run by a database management system (DBMS), the software that stores the data, processes queries, and controls who can access what.

How does a database work?

Applications and users send requests, called queries, to the DBMS. The DBMS finds, adds, changes, or deletes the data and returns the result. Along the way, it:

  • Enforces structure and rules so data stays consistent.
  • Handles many users working at the same time.
  • Uses indexes to find data quickly.
  • Logs changes so it can recover after a crash.

Relational databases store data in tables with rows and columns and are queried with SQL. NoSQL databases use other models, such as documents, key-value pairs, or graphs, for flexibility or scale.

Database vs. spreadsheet

A spreadsheet works well for small, simple data handled by a few people. A database is designed for large volumes, many simultaneous users, relationships between data sets, fine-grained permissions, and reliable recovery.

Databases also enforce data types and relationships, so a mistake in one record is less likely to break the rest of the data.

Why does database security matter?

Databases often hold an organization's most sensitive information, which makes them a frequent target. Common weak points are over-privileged accounts, shared or default administrator passwords, unpatched software, and applications vulnerable to SQL injection. Limiting and monitoring privileged database access is a core part of protecting them.

Separating administrator accounts from the accounts applications use, and recording who ran which privileged queries, also makes investigations much faster.

Frequently asked questions

What is a database?

A database is a collection of data stored electronically, organized so it can be searched, updated, and managed efficiently, usually through a database management system.

What is the difference between SQL and NoSQL databases?

SQL (relational) databases store data in structured tables queried with SQL. NoSQL databases use other models, such as documents or key-value pairs, and suit data that does not fit neatly into tables.

How do you secure a database?

Grant each account only the access it needs, protect and rotate administrator credentials, encrypt sensitive data, patch regularly, validate application input, and monitor privileged activity.

Secure the privileged accounts behind your databases

Discover privileged accounts, including SQL Server, and rotate their passwords automatically.

Explore Devolutions PAM

Related terms

SQL injection

SQL injection is inserting malicious SQL code into queries destined for a backend database to alter, expose, or retrieve data in that database.

Read now →

Server

A server is a computer or system that listens for client requests and responds with a service.

Read now →

Sensitive information

Sensitive information is a broad term for any data that must be safeguarded from unauthorized access.

Read now →