Lably
Skip to content

Database

Organized collection of data in computing

  • 38 min read
  • 17 chapters
  • 2 labs on Lably
An SQL select statement against a publicly available teaching database.
BernardoSulzbach · CC BY-SA 4.0

Learn it on Lably

Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage. The design of databases spans formal techniques and practical considerations, including data modeling, efficient data representation and storage, query languages, security and privacy of sensitive data, and distributed computing issues, including supporting concurrent access and fault tolerance.

Computer scientists may classify database management systems according to the database models that they support. Relational databases became dominant in the 1980s. These model data as rows and columns in a series of tables, and the vast majority use SQL for writing and querying data. In the 2000s, non-relational databases became popular, collectively referred to as NoSQL, because they use different query languages.

Terminology

Formally, a database refers to a set of related data accessed through the use of a database management system (DBMS), which is an integrated set of computer software that allows users to interact with one or more databases and provides access to all of the data contained in the database (although restrictions may exist that limit access to particular data). The DBMS provides various functions that allow entry, storage and retrieval of large quantities of information and provides ways to manage how that information is organized.

Because of the close relationship between them, the term "database" is often used casually to refer to both a database and the DBMS used to manipulate it.

Outside the world of professional information technology, the term database is often used to refer to any collection of related data (such as a spreadsheet or a card index) as size and usage requirements typically necessitate use of a database management system.

Existing DBMSs provide various functions that allow management of a database and its data. Data definition entails creation, modification and removal of the structures in the database which specify the data's organization. Updates include insertion, modification, and deletion of the data itself. Retrieval is the selection of data according to specified criteria. Database Administration involves registering users, enforcing data security, monitoring performance, maintaining data integrity, dealing with concurrency control, and recovering corrupted information.

Both a database and its DBMS conform to the principles of a particular database model. Database system refers collectively to the database model, database management system, and database.

Physically, database servers are dedicated computers that hold the actual databases and run only the DBMS and related software.

Databases and DBMSs can be categorized according to the database model(s) that they support (such as relational or XML), the type(s) of computer they run on (from a server cluster to a mobile phone), the query language(s) used to access the database (such as SQL or XQuery), and their internal engineering, which affects performance, scalability, resilience, and security.

Sign in to keep reading

16 more chapters are free with a Lably account.

More in Computing and information technology