Vezi pagina în română

IT Glossary

Database: Definition, Components, Types and Examples

A database is an organised collection of data (customers, orders, stock) stored electronically, which a specialised program keeps correct, searchable and shared safely by many users at once.

7
sections
6
questions answered

A database is an organised collection of data stored electronically and managed by a database management system (DBMS), which lets many users and applications search, add and change the data quickly without corrupting it; examples of DBMSs are PostgreSQL, MySQL, Microsoft SQL Server and SQLite. EU Directive 96/9/EC, art. 1(2), defines it as a collection of independent works, data or other materials arranged in a systematic or methodical way and individually accessible by electronic or other means; Romania transposed it in Law 8/1996.

Practically every application your company relies on — invoicing, inventory, the online store, the CRM — has a database underneath. The quality of its design decides application speed, report accuracy, and how painful it will be to extract your records if you ever switch providers. Before signing with any software vendor, two questions earn their keep: which database engine does the product run on, and what is the concrete mechanism for a full export when we leave? A supplier who hesitates on the second question has told you the retention strategy.

Why it matters for your business

The end of parallel spreadsheets

One source of truth with simultaneous access and role-based rights — no more competing file versions circulating by email.

Answers in seconds from hundreds of thousands of records

Reports, filters and searches across large volumes take seconds — business questions get answers, not estimates.

Integrity and an audit trail

Database rules block absurd data such as orders without customers or negative stock, and the journal shows who changed what, when.

What a database contains

Data is organised in tables, one per type of entity: customers, orders, invoices. Each row of a table is a record (one customer, one order), and each column is a field with a defined type: text, number or date.

Each record has a primary key, a unique identifier. An order stores the key of the customer who placed it (a foreign key), and that link between tables is what makes a database relational: customer, orders and invoices connect without copying the customer data into every order.

An index works like the one at the back of a book: it finds the row you want without reading the whole table, which is why searching by invoice number stays fast across hundreds of thousands of records.

Database and DBMS: who does the work

The database is the data; the DBMS is the program that manages it. It allows simultaneous access without collisions, enforces integrity rules (no order without a customer, no negative stock), assigns rights by role, keeps a journal of changes and makes backups.

DBMS transactions follow the ACID properties. Atomicity: a transaction runs completely or not at all. Consistency: the data keeps obeying the database rules. Isolation: simultaneous transactions do not corrupt each other. Durability: what was confirmed survives a power cut. Classic example: a payment that debits one account and credits another happens in both accounts or in neither.

You do not need a server to use a DBMS. According to sqlite.org, SQLite ships in every Android and iOS phone and in the major browsers, so your phone already holds dozens of databases.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Types of databases

Relational: data in linked tables, queried with SQL. The model was proposed in 1970 by E. F. Codd, a researcher at IBM, and SQL is standardised as ISO/IEC 9075, with SQL:2023 as the latest edition. Examples: PostgreSQL, MySQL, SQL Server, Oracle.

NoSQL: documents, key-value pairs, graphs or wide columns, without a fixed schema. Examples: MongoDB, Redis, Neo4j.

Vector: store numeric representations of text or images, for semantic search and AI applications. Examples: pgvector, Qdrant.

Analytical (data warehouse): built for reports over years of history, not for daily transactions.

Embedded, server-based or managed cloud: SQLite lives as a file inside the application; a server DBMS serves many users; managed cloud services (Amazon RDS, Azure SQL Database, Google Cloud SQL) leave backups and updates to the provider.

Spreadsheet, Access and a server database

Excel is a spreadsheet program, not a DBMS. According to Microsoft's specifications, a worksheet holds at most 1,048,576 rows and 16,384 columns, and it has no real relations between tables, no control of simultaneous writes and no row-level rights.

Access is a desktop DBMS. An .accdb file holds at most 2 GB including its objects and suits a few users on a local network; for a web or mobile application or many users, the answer is a server DBMS.

Signs you have outgrown the spreadsheet: several people edit the same file at once, the same customer is typed into three files, reports need data from several tables, or you need to know who changed what.

Databases in law: the EU directive and GDPR

Directive 96/9/EC, transposed in Romania by Law 8/1996, does not protect the software used to build or run the database (art. 1(3)); the software is protected separately. The maker, who made a substantial investment in obtaining, verifying or presenting the contents, can prevent extraction and re-utilisation of the whole or a substantial part (art. 7), for 15 years from 1 January of the year following completion (art. 10).

If your application vendor hosts personal data, the GDPR (Regulation (EU) 2016/679, art. 28(3)(g)) requires it, at your choice, to delete or return all personal data after the end of the services and delete existing copies, unless the law requires storage.

Practical takeaway: write the export format, deadline and cost into the contract. This is not legal advice; the contract and your situation decide, and a lawyer can check it. These rules apply in the EU.

Frequently asked questions

How is a database better than a well-kept spreadsheet?

With one user and a thousand rows, it is not — spreadsheets excel there. The gap opens with simultaneous access, large volumes, relationships between entities (customer, orders, invoices) and the need for history: spreadsheets end up in many versions while a database keeps one.

What is a DBMS?

A database management system is the program that administers a database: it stores the data, searches it, and controls access, transactions and backups. Examples: PostgreSQL, MySQL, SQL Server, Oracle, SQLite and MongoDB.

What is an SQL database?

A relational database, with data in linked tables, queried in the SQL language defined by the ISO/IEC 9075 standard. Examples: PostgreSQL, MySQL, SQL Server. SQL is, in short, the language in which you phrase requests to the database.

What is an Access database?

An .accdb file created with Microsoft Access, a desktop DBMS. A file holds at most 2 GB, so Access suits small teams. For a web application or many simultaneous users a server DBMS is used.

What are some examples of databases?

The catalogue and orders of an online store, the customer records in a CRM, the accounts of a bank, the contacts and messages on a phone (SQLite). As products: PostgreSQL, MySQL, SQL Server, Oracle, MongoDB and Redis.

Does the data in the database belong to me or to the software vendor?

As a rule, the data you enter stays yours; the maker's right in the database goes to whoever made the substantial investment (EU directive), and the software is protected separately. If the vendor hosts personal data, GDPR art. 28(3)(g) requires it to return or delete it at your choice. Write the export format, deadline and cost into the contract and have a lawyer check it.