database
A database is an organized collection of data stored and accessed electronically. Databases are designed to store large amounts of information and to support efficient storage, retrieval, modification, and deletion of data. Access is typically provided by a database management system (DBMS), which offers a query language, data definition and manipulation tools, and security controls. Data is modeled according to a data model; the relational model, which uses tables, rows, and columns, is the most widely used. In relational databases, relationships are expressed through keys and constraints, and SQL is the standard language for querying and updating data. Other models include document stores, key-value stores, column-family stores, and graph databases, each optimized for different workloads and access patterns.
Core concepts include ACID properties—Atomicity, Consistency, Isolation, and Durability—that ensure reliable transaction processing. Transactions group multiple
Architectures range from centralized to distributed, with replication, partitioning (sharding), and parallel query processing to improve
Common use cases span transaction processing, analytics, content management, and scientific data storage. Good database design