DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

Ingres


Ingres is an open-source relational database management system (DBMS) designed for large-scale commercial and government applications. Actian Corporation currently oversees the development of the database while providing certified binaries and support. The latest version is Ingres 11, which is also known commercially as the Actian X Hybrid Database. Currently, its strong at OLTP while supporting analytic features.[04]

Country of Origin
US
Start Year
1974
Project Types
Academic, Commercial, Open Source
Written in
C
Supported Languages
SQL
Inspired By
System R
Operating Systems
Linux, Windows
License
GPL v2

Database Entry

Ingres


Ingres is an open-source relational database management system (DBMS) designed for large-scale commercial and government applications. Actian Corporation currently oversees the development of the database while providing certified binaries and support. The latest version is Ingres 11, which is also known commercially as the Actian X Hybrid Database. Currently, its strong at OLTP while supporting analytic features.[04]

History[05][06][07]


When two University of California, Berkeley professors, Michael Stonebraker and Eugene Wong, read the papers about System R at IBM in 1973, they became interested in applying the concepts in those papers on a research project of their own, and thus Ingres was born. From its birth to 1985, Ingres was a research project at the University.

In the mid-1980s, Ingres competed against Oracle in the then-emerging relational DBMS market. These two systems were considered to have comparable functionalities and performance, and were the market leaders. However, from then on, Ingres slowly lost market share to Oracle presumably due to the latter's more aggressive marketing, and more importantly, the recognition of SQL as the go-to query language, which Ingres did not use at the time. It used a query language called Quel and the transition to SQL took three years. Nevertheless, Ingres reincarnated as the underlying source code of many commercial databases, one of the most well-known being Relational Technology Inc, founded by the very same two professors who started Ingres as a research project. The company was later renamed Ingres Corporation in the late 1980s, and continued to provide commercial database products with Ingres lying underneath. Although Ingres never achieved the same market prominence as its once head-to-head contender Oracle, it endured over the years and was the inspiration for many other popular database management systems, such as Postgres.

In 2011, Ingres Corporation was renamed Actian Corporation and has continued its support on the classic DBMS since then. It is currently branded as the Actian X Hybrid Database.

Checkpoints[08]


Ingres supports two types of checkpointing: online and offline. Offline checkpointing requires all users to disconnect from the database. It acquires a global lock on the entire database and performs backup on all the data. Online checkpointing does not require users to disconnect and is the default checkpointing scheme, although it is still blocking. Users cannot proceed until the Ingres creates a consistent point of the database, although this takes much less time than offline checkpointing. The DBMS records all changes in the database but does not support operations such as drop or create during the checkpoint.

Compression[09]


Compression of tables only work on character and text columns. Trailing nulls and blanks are compressed. Non-nullable types such as Integer, floating point, and date are not compressed.

Concurrency Control[10][11][12]


Ingres uses the terms "logical lock" and "physical lock" to refer to transaction locks and latches, respectively. It supports multiversion concurrency control (MVCC). Its available lock levels are, from most to least granular, are Row, MVCC, Page, Table, Database. It supports deadlock detection and aborts one of the transactions that are deadlocked.

Data Model


Foreign Keys[13]


Indexes[14]


Isolation Levels[15]


Joins


Logging


Query Compilation[16]


Query Execution[17]


Query Interface


Storage Architecture[18]


Although it is currently branded as the "Actian Hybrid", the "Hybrid" refers to its capability of performing both OLTP and OLAP tasks by employing a hybrid storage model (i.e. both row and column), not that it has a hybrid storage architecture. It is still disk oriented as it was from day-one.

Storage Model[19]


Storage Organization[20][21]


Stored Procedures[16]


System Architecture


Views[18]


Citations

22 sources
  1. Actian Ingres | Ingres Transactional Database actian.com
  2. Ingres 11.0 | Ingres 11 Guides actian.com
  3. Ingres (database) - Wikipedia wikipedia.org
  4. Comprehensive Guide to Modern Data Management & Governance actian.com
  5. https://dsf.berkeley.edu/w/source-code berkeley.edu
  6. https://ieeexplore.ieee.org/document/6297966 ieee.org
  7. https://www.businesswire.com/news/home/20170418005463/en/Actian-Hybrid-Data-Solutions-Power-Digital-Enterprise businesswire.com
  8. Checkpointing FAQs actian.com
  9. Ingres actian.com
  10. Ingres actian.com
  11. Ingres 11.0 Documentation actian.com
  12. Ingres 11.0 Documentation actian.com
  13. Actian Director actian.com
  14. Choosing Storage Structures for your Ingres Database actian.com
  15. Ingres actian.com
  16. Ingres 11.0 Documentation actian.com
  17. Ingres 11.0 Documentation actian.com
  18. https://sites.fas.harvard.edu/~cs265/papers/stonebraker-1976.pdf harvard.edu Dead — Check Archive
  19. https://www.actian.com/wp-content/uploads/2023/12/DS21-ActianX_04A.pdf actian.com
  20. Ingres 11.0 Documentation actian.com
  21. Ingres 11.0 Documentation actian.com
  22. https://www.actian.com/webinars/new-ingres-wbr/ actian.com Dead — Check Archive
Revision #12