Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Relational database
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Digital database whose organization is based on the relational model of data}} {{more citations needed| date=January 2024| reason=some refs but tech article needs more}} A '''relational database''' ('''RDB'''<!-- necessary to maintain an inbound link from DAB [[RDB]] --><ref>{{Cite conference |title=Portable Software Tools for Managing and Referencing Taxonomies |conference=Digital Mapping Techniques '03 Workshop Proceedings|at=2. Relational Database Technology and Taxonomic Representation |date=2003 |url=https://pubs.usgs.gov/of/2003/of03-471/hastings/index.html |conference-url=https://pubs.usgs.gov/of/2003/of03-471/ |last=Hastings |first=Jordan |volume=U.S. Geological Survey Open-File Report 03–471 |access-date=2024-04-06 |url-status=live |archive-url=https://web.archive.org/web/20141021070621/https://pubs.usgs.gov/of/2003/of03-471/hastings/index.html |archive-date=2014-10-21 |via=[[United States Geological Survey]]}}</ref>) is a [[database]] based on the [[relational model]] of data, as proposed by [[E. F. Codd]] in 1970.<ref name=codd/> A Relational [[Database Management System]] (RDBMS) is a type of database management system that stores data in a structured [[Content format|format]] using [[Row (database)|row]]s and [[columns]]. Many relational database systems are equipped with the option of using [[SQL]] (Structured Query Language) for querying and updating the database.<ref>{{cite web |last=Ambler |first=Scott |title=Relational Databases 101: Looking at the Whole Picture |date=21 March 2023 |url=http://www.agiledata.org/essays/relationalDatabases.html }}{{better source needed|date=June 2018}}</ref> ==History== The concept of relational database was defined by [[Edgar F. Codd|E. F. Codd]] at [[IBM]] in 1970. Codd introduced the term ''relational'' in his research paper "A Relational Model of Data for Large Shared Data Banks".<ref name="codd" /> In this paper and later papers, he defined what he meant by ''relation''. One well-known definition of what constitutes a relational database system is composed of [[Codd's 12 rules]]. However, no commercial implementations of the relational model conform to all of Codd's rules,<ref>{{cite book |last=Date |first=Chris |title=Database in depth: relational theory for practitioners |date=5 May 2005 |publisher=O'Reilly |isbn=0-596-10012-4}}</ref> so the term has gradually come to describe a broader class of database systems, which at a minimum: # Present the data to the user as [[relation (database)|relations]] (a presentation in tabular form, i.e. as a ''collection'' of [[table (database)|tables]] with each table consisting of a set of [[Row (database)|rows]] and [[Column (database)|columns]]); # Provide [[relational operator]]s to manipulate the data in tabular form. In 1974, IBM began developing [[IBM System R|System R]], a research project to develop a prototype RDBMS.<ref> {{cite book |date=8 Jan 1999 |title=Funding a Revolution: Government Support for Computing Research |publisher=National Academies Press |isbn=0309062780 |url={{google books |plainurl=y |id=wvCbAgAAQBAJ}} }}</ref><ref>{{cite book |last1=Sumathi |first1=S. |last2=Esakkirajan |first2=S. |date=13 Feb 2008 |title=Fundamentals of Relational Database Management Systems |publisher=Springer |isbn=978-3540483977 |quote=The product was called SQL/DS (Structured Query Language/Data Store) and ran under the DOS/VSE operating system environment}}</ref> The first system sold as an RDBMS was [[Multics Relational Data Store]] (June 1976).<ref>{{cite news |last1=Leavitt |first1=Don |title=MDBM' Backs Network, Relational Approaches |url=https://books.google.com/books?id=OohpOVF5L-IC&pg=PA11 |work=Computerworld |publisher=IDG Enterprise |date=6 September 1976 |language=en}}</ref><ref>{{cite book |last1=Schmidt |first1=Joachim W. |last2=Brodie |first2=Michael L. |title=Relational Database Systems: Analysis and Comparison |date=1982 |publisher=Springer Science & Business Media |isbn=978-3-642-68847-8 |pages=181–220 |url=https://books.google.com/books?id=E9upCAAAQBAJ&pg=PA185 |language=en}}</ref>{{citation needed|reason=Due to significance of nature of claim, specific unambiguous cite that it is indeed the first is required|date=January 2025}} [[Oracle Database|Oracle]] was released in 1979 by Relational Software, now [[Oracle Corporation]].<ref>{{cite journal |date=May 2007 |title=Oracle Timeline |journal=Profit Magazine |publisher=Oracle |volume=12 |issue=2 |page=26 |url=http://www.oracle.com/us/corporate/profit/p27anniv-timeline-151918.pdf |access-date=2013-05-16}}</ref> [[Ingres (database)|Ingres]] and [[IBM BS12]] followed. Other examples of an RDBMS include [[IBM Db2]], [[Adaptive Server Enterprise|SAP Sybase ASE]], and [[IBM Informix|Informix]]. In 1984, the first RDBMS for [[Macintosh 128K|Macintosh]] began being developed, code-named Silver Surfer, and was released in 1987 as [[4th Dimension (Software)|4th Dimension]] and known today as 4D.<ref>{{cite web |title=New Database Software Program Moves Macintosh Into The Big Leagues |website=tribunedigital-chicagotribune |date=28 June 1987 |url=https://www.chicagotribune.com/1987/06/28/new-database-software-program-moves-macintosh-into-the-big-leagues/ |access-date=2016-03-17}}</ref> The first systems that were relatively faithful implementations of the relational model were from: * University of Michigan – [[MICRO Relational Database Management System|Micro DBMS]] (1969)<ref name=ST_1>{{cite journal| title=A set theoretic data structure and retrieval language| author1=Hershey, W.R.| author2=Easthope, C.H.| url=https://dl.acm.org/doi/10.1145/1095495.1095500| publisher=[[Association for Computing Machinery]]| journal=ACM SIGIR Forum| volume=7| issue=4| pages=45–55| date=1 December 1972| access-date=4 January 2024| doi=10.1145/1095495.1095500| url-access=subscription}}</ref> * Massachusetts Institute of Technology (1971)<ref name=SIG_1>{{cite book| title=SIGFIDET '74: Proceedings of the 1974 ACM SIGFIDET (Now SIGMOD) Workshop on Data Description, Access and Control: Data Models: Data-Structure-Set versus Relational| url=https://dl.acm.org/doi/book/10.1145/800297| publisher=[[Association for Computing Machinery]]| date=1 January 1975| doi=10.1145/800297| access-date=4 January 2024| isbn=978-1-4503-7418-7}}</ref> * IBM UK Scientific Centre at Peterlee – [[IBM IS1|IS1]] (1970–72),<ref name=PS_1>{{cite book| title=The Peterlee IS/1 System| author=Notley, M.G.| url=https://scholar.google.com/scholar?lookup=0&q=NOTLEY,+M.G.+The+Peterlee+IS/1+System,+I.B.M.+(U.K.)+Scientific+Centre+Report,+March+1972.+UKSC-0018.&hl=en&as_sdt=0,5| publisher=IBM United Kingdom Scientific Centre| date=1972| access-date=4 January 2024}}</ref> and its successor, [[PRTV]] (1973–79).<ref name="Todd 1976">{{cite journal|title=The Peterlee Relational Test Vehicle - A System Overview|journal=IBM Systems Journal|year=1976|first=Stephen|last=Todd|volume=15|issue=4|pages=285–308|doi=10.1147/sj.154.0285}}</ref> The most common definition of an RDBMS is a product that presents a view of data as a collection of rows and columns, even if it is not based strictly upon [[Relational model|relational theory]]. By this definition, RDBMS products typically implement some but not all of Codd's 12 rules. A second school of thought argues that if a database does not implement all of Codd's rules (or the current understanding on the relational model, as expressed by [[Christopher J. Date]], [[Hugh Darwen]] and others), it is not relational. This view, shared by many theorists and other strict adherents to Codd's principles, would disqualify most DBMSs as not relational. For clarification, they often refer to some RDBMSs as ''truly-relational database management systems'' (TRDBMS), naming others ''pseudo-relational database management systems'' (PRDBMS).{{citation needed| reason=no references|date=January 2024}} <!-- It can also be said as the raw database management system.--> As of 2009, most commercial relational DBMSs employ [[SQL]] as their [[query language]].<ref>{{cite journal |last1=Ramakrishnan |first1=Raghu |last2=Donjerkovic |first2=Donko |last3=Ranganathan |first3=Arvind |last4=Beyer |first4=Kevin S. |last5=Krishnaprasad |first5=Muralidhar |year=1998 |title=SRQL: Sorted Relational Query Language |journal=E Proceedings of SSDBM |url=http://pages.cs.wisc.edu/~beyer/papers/srql_ssdbm98.pdf}}</ref> Alternative query languages have been proposed and implemented, notably the pre-1996 implementation of [[QUEL query languages|Ingres QUEL]]. ==Relational model== {{Main|Relational model}} A relational model organizes data into one or more [[table (database)|tables]] (or "relations") of [[Column (database)|columns]] and [[row (database)|rows]], with a [[unique key]] identifying each row. Rows are also called [[Record (computer science)|records]] or [[tuple]]s.<ref>{{cite web |title=A Relational Database Overview |website=oracle.com |url=https://docs.oracle.com/javase/tutorial/jdbc/overview/database.html}}</ref> Columns are also called attributes. Generally, each table/relation represents one "entity type" (such as customer or product). The rows represent instances of that type of [[entity]] (such as "Lee" or "chair") and the columns represent values attributed to that instance (such as address or price). For example, each row of a class table corresponds to a class, and a class corresponds to multiple students, so the relationship between the class table and the student table is "one to many"<ref>{{Citation |date=1992 |title=A universal relation model for a nested database |work=The Nested Universal Relation Database Model |series=Lecture Notes in Computer Science |volume=595 |pages=109–135 |place=Berlin, Heidelberg |publisher=Springer Berlin Heidelberg |doi=10.1007/3-540-55493-9_5 |isbn=978-3-540-55493-6 |url=http://dx.doi.org/10.1007/3-540-55493-9_5 |access-date=2020-11-01|url-access=subscription }}</ref> ==Keys== Each row in a table has its own unique key. Rows in a table can be linked to rows in other tables by adding a column for the unique key of the linked row (such columns are known as [[foreign key]]s). Codd showed that data relationships of arbitrary complexity can be represented by a simple set of concepts.<ref name="codd" /> Part of this processing involves consistently being able to select or modify one and only one row in a table. Therefore, most physical implementations have a unique [[primary key]] (PK) for each row in a table. When a new row is written to the table, a new unique value for the primary key is generated; this is the key that the system uses primarily for accessing the table. System performance is optimized for PKs. Other, more [[natural key]]s may also be identified and defined as [[alternate key]]s (AK). Often several columns are needed to form an AK (this is one reason why a single integer column is usually made the PK). Both PKs and AKs have the ability to uniquely identify a row within a table. Additional technology may be applied to ensure a unique ID across the world, a [[globally unique identifier]], when there are broader system requirements. The primary keys within a database are used to define the relationships among the tables. When a PK migrates to another table, it becomes a foreign key (FK) in the other table. When each cell can contain only one value and the PK migrates into a regular entity table, this design pattern can represent either a [[One-to-one (data model)|one-to-one]] or [[One-to-many (data model)|one-to-many]] relationship. Most relational database designs resolve [[Many-to-many (data model)|many-to-many]] relationships by creating an additional table that contains the PKs from both of the other entity tables{{snd}} the relationship becomes an entity; the resolution table is then named appropriately and the two FKs are combined to form a PK. The migration of PKs to other tables is the second major reason why system-assigned integers are used normally as PKs; there is usually neither efficiency nor clarity in migrating a bunch of other types of columns. ===Relationships=== Relationships are a logical connection between different tables (entities), established on the basis of interaction among these tables. These relationships can be modelled as an [[Entity–relationship model|entity-relationship model]]. ==Transactions== In order for a database management system (DBMS) to operate efficiently and accurately, it must use [[ACID transactions]].<ref>{{ cite web |date=1998-11-23 |title=Gray to be Honored With A. M. Turing Award This Spring |publisher= Microsoft PressPass |url=http://www.microsoft.com/presspass/features/1998/11-23gray.mspx |access-date=2009-01-16 |url-status=live |archive-url=https://web.archive.org/web/20090206084720/http://www.microsoft.com/presspass/features/1998/11-23gray.mspx |archive-date=6 February 2009}}</ref><ref>{{cite conference |first=Jim |last=Gray |author-link=Jim Gray (computer scientist) |title=The Transaction Concept: Virtues and Limitations |book-title=Proceedings of the 7th International Conference on Very Large Databases |pages=144–154 |publisher=[[Tandem Computers]] |date=September 1981 |location=Cupertino, CA |url=http://research.microsoft.com/~gray/papers/theTransactionConcept.pdf |access-date=2006-11-09}}</ref><ref>Gray, Jim, and Reuter, Andreas, ''Distributed Transaction Processing: Concepts and Techniques''. [[Morgan Kaufmann]], 1993. {{ISBN|1-55860-190-2}}.</ref> ==Stored procedures== Part of the programming within a RDBMS is accomplished using [[stored procedure]]s (SPs). Often procedures can be used to greatly reduce the amount of information transferred within and outside of a system. For increased security, the system design may grant access to only the stored procedures and not directly to the tables. Fundamental stored procedures contain the logic needed to insert new and update existing data. More complex procedures may be written to implement additional rules and logic related to processing or selecting the data. ==Terminology== [[Image:Relational database terms.svg|350px|thumb|right|Relational database terminology]] The relational database was first defined in June 1970 by [[Edgar F. Codd|Edgar Codd]], of IBM's [[IBM Almaden Research Center|San Jose Research Laboratory]].<ref name="codd">{{cite journal |last=Codd |first=E. F. |author-link=Edgar F. Codd |year=1970 |title=A Relational Model of Data for Large Shared Data Banks |journal=[[Communications of the ACM]] |doi=10.1145/362384.362685 |volume=13 |number=6 |pages=377–387|s2cid=207549016 |doi-access=free }}</ref> Codd's view of what qualifies as an RDBMS is summarized in [[Codd's 12 rules]]. A relational database has become the predominant type of database. Other models besides the ''relational model'' include the [[hierarchical database model]] and the [[network model]]. The table below summarizes some of the most important relational database terms and the corresponding [[SQL]] term: {| class="wikitable" |- ! SQL term ! Relational database term ! Description |- | [[Row (database)|'''''Row''''']] | '''''[[Tuple]]''''' or [[Record (computer science)|'''''record''''']] | A data set representing a single item |- | [[Column (database)|'''''Column''''']] | '''''Attribute''''' or '''''field''''' | A labeled element of a tuple, e.g. "Address" or "Date of birth" |- | [[Table (database)|'''''Table''''']] | [[Relation (database)|'''''Relation''''']] or [[relvar|'''''Base relvar''''']] | A set of tuples sharing the same attributes; a set of columns and rows |- | [[View (SQL)|'''''View''''']] or '''''[[result set]]''''' | '''''Derived relvar''''' | Any set of tuples; a data report from the RDBMS in response to a [[query language|query]] |} ==Relations or tables== {{Main|Relation (database)|Table (database)}} In a relational database, a ''[[relation (database)|relation]]'' is a set of [[tuple]]s that have the same [[Attribute (computing)|attributes]]. A tuple usually represents an object and information about that object. Objects are typically physical objects or concepts. A relation is usually described as a [[Table (database)|table]], which is organized into [[Row (database)|rows]] and [[Column (database)|columns]]. All the data referenced by an attribute are in the same [[data domain|domain]] and conform to the same constraints. The relational model specifies that the tuples of a relation have no specific order and that the tuples, in turn, impose no order on the attributes. Applications access data by specifying queries, which use operations such as ''select'' to identify tuples, ''project'' to identify attributes, and ''join'' to combine relations. Relations can be modified using the ''insert'', ''delete'', and ''update'' operators. New tuples can supply explicit values or be derived from a query. Similarly, queries identify tuples for updating or deleting. Tuples by definition are unique. If the tuple contains a [[candidate key|candidate]] or primary key then obviously it is unique; however, a primary key need not be defined for a row or record to be a tuple. The definition of a tuple requires that it be unique, but does not require a primary key to be defined. Because a tuple is unique, its attributes by definition constitute a [[superkey]]. ==Base and derived relations==<!-- This section is linked from Relational database. --> {{Main|Relvar|View (database)}} All data are stored and accessed via [[relation (database)|relations]]. Relations that store data are called "base relations", and in implementations are called "tables". Other relations do not store data, but are computed by applying relational operations to other relations. These relations are sometimes called "derived relations". In implementations these are called "[[View (database)|views]]" or "queries". Derived relations are convenient in that they act as a single relation, even though they may grab information from several relations. Also, derived relations can be used as an [[abstraction layer]]. ===Domain=== {{Main|Data domain}} A domain describes the set of possible values for a given attribute, and can be considered a constraint on the value of the attribute. Mathematically, attaching a domain to an attribute means that any value for the attribute must be an element of the specified set. The character string ''"ABC"'', for instance, is not in the integer domain, but the integer value ''123'' is. Another example of domain describes the possible values for the field "CoinFace" as ("Heads","Tails"). So, the field "CoinFace" will not accept input values like (0,1) or (H,T). ==Constraints== Constraints are often used to make it possible to further restrict the domain of an attribute. For instance, a constraint can restrict a given integer attribute to values between 1 and 10. Constraints provide one method of implementing [[business rules]] in the database and support subsequent data use within the application layer. SQL implements constraint functionality in the form of [[check constraint]]s. Constraints restrict the data that can be stored in [[relation (database)|relations]]. These are usually defined using expressions that result in a <!-- do not change the capitalization of this link without first consulting, and replying to the talk page. Any such edits will be reverted. -->[[Boolean data type|Boolean]] value, indicating whether or not the data satisfies the constraint. Constraints can apply to single attributes, to a tuple (restricting combinations of attributes) or to an entire relation. Since every attribute has an associated domain, there are constraints ('''domain constraints'''). The two principal rules for the relational model are known as '''[[entity integrity]]''' and '''[[referential integrity]]'''. ===Primary key=== {{Main|Unique key|Primary key}} Every [[Relation (database)|relation]]/table has a primary key, this being a consequence of a relation being a [[Set (mathematics)|set]].{{Sfnp|Date|1984|p=268}} A primary key uniquely specifies a tuple within a table. While natural attributes (attributes used to describe the data being entered) are sometimes good primary keys, [[surrogate key]]s are often used instead. A surrogate key is an artificial attribute assigned to an object which uniquely identifies it (for instance, in a table of information about students at a school they might all be assigned a student ID in order to differentiate them). The surrogate key has no intrinsic (inherent) meaning, but rather is useful through its ability to uniquely identify a tuple. Another common occurrence, especially in regard to N:M cardinality is the [[Compound key|composite key]]. A composite key is a key made up of two or more attributes within a table that (together) uniquely identify a record.<ref>{{Cite book |last1=Connolly |first1=Thomas M |title=Database systems: a practical approach to design, implementation, and management |last2=Begg |first2=Carolyn E |publisher=Pearson |year=2015 |isbn=978-1-292-06118-4 |edition=global |location=Boston Columbus Indianapolis |pages=416}}</ref> ===Foreign key=== {{Main|Foreign key}} Foreign key refers to a field in a relational table that matches the primary key column of another table. It relates the two keys. Foreign keys need not have unique values in the referencing relation. A foreign key can be used to [[cross-reference]] tables, and it effectively uses the values of attributes in the referenced relation to restrict the domain of one or more attributes in the referencing relation. The concept is described formally as: "For all tuples in the referencing relation projected over the referencing attributes, there must exist a tuple in the referenced relation projected over those same attributes such that the values in each of the referencing attributes match the corresponding values in the referenced attributes." ===Stored procedures=== {{Main|Stored procedure}} A stored procedure is executable code that is associated with, and generally stored in, the database. Stored procedures usually collect and customize common operations, like inserting a [[tuple]] into a [[relation (database)|relation]], gathering statistical information about usage patterns, or encapsulating complex [[business logic]] and calculations. Frequently they are used as an [[application programming interface]] (API) for security or simplicity. Implementations of stored procedures on SQL RDBMS's often allow developers to take advantage of [[Procedural programming|procedural]] extensions (often vendor-specific) to the standard [[Declarative programming|declarative]] SQL syntax. Stored procedures are not part of the relational database model, but all commercial implementations include them. ===Index=== {{Main|Index (database)}} An index is one way of providing quicker access to data. Indices can be created on any combination of attributes on a [[relation (database)|relation]]. Queries that filter using those attributes can find matching tuples directly using the index (similar to [[Hash table]] lookup), without having to check each tuple in turn. This is analogous to using the [[Index (publishing)|index of a book]] to go directly to the page on which the information you are looking for is found, so that you do not have to read the entire book to find what you are looking for. Relational databases typically supply multiple indexing techniques, each of which is optimal for some combination of data distribution, relation size, and typical access pattern. Indices are usually implemented via [[B+ tree]]s, [[R-tree]]s, and [[Bitmap index|bitmaps]]. Indices are usually not considered part of the database, as they are considered an implementation detail, though indices are usually maintained by the same group that maintains the other parts of the database. The use of efficient indexes on both primary and foreign keys can dramatically improve query performance. This is because B-tree indexes result in query times proportional to log(n) where n is the number of rows in a table and hash indexes result in constant time queries (no size dependency as long as the relevant part of the index fits into memory). ==Relational operations== {{Main|Relational algebra}} Queries made against the relational database, and the derived [[relvars]] in the database are expressed in a [[relational calculus]] or a [[relational algebra]]. In his original relational algebra, Codd introduced eight relational operators in two groups of four operators each. The first four operators were based on the traditional mathematical [[Set theory|set operations]]: * The [[Union (set theory)|union]] operator (υ) combines the tuples of two [[relation (database)|relations]] and removes all duplicate tuples from the result. The relational union operator is equivalent to the [[Union (SQL)|SQL UNION]] operator. * The [[Intersection (set theory)|intersection]] operator (∩) produces the set of tuples that two relations share in common. Intersection is implemented in SQL in the form of the [[Intersect (SQL)|INTERSECT]] operator. * The [[Complement (set theory)|set difference]] operator (-) acts on two relations and produces the set of tuples from the first relation that do not exist in the second relation. Difference is implemented in SQL in the form of the [[Except (SQL)|EXCEPT]] or MINUS operator. * The [[cartesian product]] (X) of two relations is a join that is not restricted by any criteria, resulting in every tuple of the first relation being matched with every tuple of the second relation. The cartesian product is implemented in SQL as the [[Cross join]] operator. The remaining operators proposed by Codd involve special operations specific to relational databases: * The selection, or restriction, operation (σ) retrieves tuples from a relation, limiting the results to only those that meet a specific criterion, i.e. a [[subset]] in terms of set theory. The SQL equivalent of selection is the [[Select (SQL)|SELECT]] query statement with a WHERE clause. * The [[Projection (relational algebra)|projection operation]] (π) extracts only the specified attributes from a tuple or set of tuples. * The join operation defined for relational databases is often referred to as a natural join (⋈). In this type of join, two relations are connected by their common attributes. MySQL's approximation of a natural join is the [[Inner join]] operator. In SQL, an INNER JOIN prevents a cartesian product from occurring when there are two tables in a query. For each table added to a SQL Query, one additional INNER JOIN is added to prevent a cartesian product. Thus, for N tables in an SQL query, there must be N−1 INNER JOINS to prevent a cartesian product. * The [[Relational algebra#Division|relational division]] (÷) operation is a slightly more complex operation and essentially involves using the tuples of one relation (the dividend) to partition a second relation (the divisor). The relational division operator is effectively the opposite of the cartesian product operator (hence the name). Other operators have been introduced or proposed since Codd's introduction of the original eight including relational comparison operators and extensions that offer support for nesting and hierarchical data, among others. ==Normalization== {{Main|Database normalization}} Normalization was first proposed by Codd as an integral part of the relational model. It encompasses a set of procedures designed to eliminate non-simple domains (non-atomic values) and the redundancy (duplication) of data, which in turn prevents data manipulation anomalies and loss of data integrity. The most common forms of normalization applied to databases are called the [[Database normalization#Normal forms|normal forms]]. ==RDBMS== [[File:RDBMS structure.png|thumbnail|right|The general structure of a relational database]] Connolly and Begg define database management system (DBMS) as a "software system that enables users to define, create, maintain and control access to the database".<ref name="Begg-p64">{{cite book |last1=Connolly |first1=Thomas M. |last2=Begg |first2=Carolyn E. |date=2014 |title=Database Systems – A Practical Approach to Design Implementation and Management |edition=6th |publisher=Pearson |isbn=978-1292061184 |page=64}}</ref> RDBMS is an extension of that initialism that is sometimes used when the underlying database is relational. An alternative definition for a '''relational database management system''' is a database management system (DBMS) based on the [[relational model]]. Most databases in widespread use today are based on this model.<ref>{{cite book |last1=Pratt |first1=Philip J. |last2=Last |first2=Mary Z. |date=2014-09-08 |title=Concepts of Database Management |edition=8 |publisher=Course Technology |isbn=9781285427102 |page=29 }}</ref> RDBMSs have been a common option for the storage of information in databases used for financial records, manufacturing and logistical information, personnel data, and other applications since the 1980s. Relational databases have often replaced legacy [[hierarchical database]]s and [[network database]]s, because RDBMS were easier to implement and administer. Nonetheless, relational stored data received continued, unsuccessful challenges by [[object database]] management systems in the 1980s and 1990s, (which were introduced in an attempt to address the so-called [[object–relational impedance mismatch]] between relational databases and object-oriented application programs), as well as by [[XML database]] management systems in the 1990s.<ref>{{Cite book |last=Feuerlich |first=George |url=https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=a61bad77f48d8438f47393c720292f5dc33a4c0d#page=169 |title=Dateso 10; Database Trends and Directions: Current Challenges and Opportunities |date=21 April 2010 |publisher=MATFYZPRESS |isbn=978-80-7378-116-3 |edition=1st |location=Prague, Sokolovsk |pages=163–174}}</ref> However, due to the expanse of technologies, such as [[horizontal scaling]] of [[computer cluster]]s, [[NoSQL]] databases have recently become popular as an alternative to RDBMS databases.<ref>{{cite web |title=NoSQL databases eat into the relational database market |date=4 March 2015 |url=https://www.techrepublic.com/article/nosql-databases-eat-into-the-relational-database-market |access-date=2018-03-14}}</ref> ==Distributed relational databases== [[DRDA|Distributed Relational Database Architecture]] (DRDA) was designed by a workgroup within IBM in the period 1988 to 1994. DRDA enables network connected relational databases to cooperate to fulfill SQL requests.<ref>{{cite journal |last1=Reinsch |first1=R. |date=1988 |title=Distributed database for SAA |journal=IBM Systems Journal |volume=27 |issue=3 |pages=362–389 |doi=10.1147/sj.273.0362}}</ref><ref>{{cite book |date=1990 |title=Distributed Relational Database Architecture Reference |publisher=IBM Corp. SC26-4651-0}}</ref> The messages, protocols, and structural components of DRDA are defined by the [[Distributed Data Management Architecture]]. ==List of database engines== According to [[DB-Engines ranking|DB-Engines]], in December 2024 the most popular systems on the db-engines.com web site were:<ref>{{cite web | title=DB-Engines Ranking of Relational DBMS | website=DB-Engines | url=https://db-engines.com/en/ranking/relational+dbms | access-date=2024-12-01}}</ref> # [[Oracle Database]] # [[MySQL]] # [[Microsoft SQL Server]] # [[PostgreSQL]] # [[Snowflake Inc.|Snowflake]] # [[IBM Db2]] # [[SQLite]] # [[Microsoft Access]] # [[Databricks]] # [[MariaDB]] According to research company [[Gartner]], in 2011, the five leading [[proprietary software]] relational database vendors by revenue were [[Oracle Corporation|Oracle]] (48.8%), [[IBM]] (20.2%), [[Microsoft]] (17.0%), [[SAP AG|SAP]] including [[Sybase]] (4.6%), and [[Teradata]] (3.7%).<ref>{{cite news |date=2012-04-12 |title=Oracle the clear leader in $24 billion RDBMS market |newspaper=Eye on Oracle |url=http://itknowledgeexchange.techtarget.com/eye-on-oracle/oracle-the-clear-leader-in-24-billion-rdbms-market/ |access-date=2013-03-01}}</ref> ==See also== * [[Comparison of relational database management systems]] * [[Database schema]] * [[Datalog]] * [[Data warehouse]] * [[List of relational database management systems]] * [[Object database]] (OODBMS) * [[Online analytical processing]] (OLAP) and [[ROLAP]] (Relational Online Analytical Processing) * [[Relational transducer]] * [[Snowflake schema]] * [[SQL]] * [[Star schema]] ==References== {{Reflist}} ==Sources== *{{cite book |last=Date |first=C. J. |author-link=Christopher J. Date |date=1984 |title=A Guide to DB2 |edition=student |publisher=[[Addison-Wesley]] |isbn=0201113171 |ol=OL2838595M |oclc=256383726 |url=https://archive.org/details/guidetodb2users00date}} {{Wikibooks |Structured Query Language}} {{Databases}} {{Authority control}} [[Category:Relational model]] [[Category:Database theory]] [[Category:Types of databases]] [[Category:English inventions]] [[Category:Computer-related introductions in 1969]] [[Category:Relational database management systems| ]] [[Category:Database management systems]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Authority control
(
edit
)
Template:Better source needed
(
edit
)
Template:Citation
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite book
(
edit
)
Template:Cite conference
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite news
(
edit
)
Template:Cite web
(
edit
)
Template:Databases
(
edit
)
Template:ISBN
(
edit
)
Template:Main
(
edit
)
Template:More citations needed
(
edit
)
Template:Reflist
(
edit
)
Template:Sfnp
(
edit
)
Template:Short description
(
edit
)
Template:Sister project
(
edit
)
Template:Snd
(
edit
)
Template:Wikibooks
(
edit
)