Database

Definition

An organized collection of information stored electronically, functioning like a digital filing cabinet with fast search capabilities.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between a database and a data warehouse?
A database is built for day-to-day application work (creating, updating, and reading records quickly), often called OLTP. A data warehouse is optimized for analytics (large scans, aggregations, reporting), often called OLAP, and usually stores historical data from many sources.
When should I use a database?
Use a database when your application needs to store and retrieve data reliably—such as user accounts, orders, inventory, messages, or logs you need to query. Choose a relational database when you need strong consistency and transactions (e.g., payments). Consider a NoSQL database when you need flexible schemas, very high scale, or low-latency access patterns (e.g., user sessions, event data).
How much does a database cost in the cloud?
Cost depends on the database type (relational vs NoSQL), deployment model (managed service vs self-managed), instance size/CPU/RAM, storage size and type (SSD vs HDD), read/write IOPS, backup storage, data transfer, and high availability (multi-zone/replicas). Many providers offer free tiers or small starter instances, but production costs typically grow with performance, storage, and availability requirements.

Category: data

Difficulty: basic

Related Terms

See Also