De Wikipedia, la enciclopedia libre
Saltar a navegación Saltar a búsqueda

Las siguientes tablas comparan información general y técnica para varios sistemas de administración de bases de datos relacionales . Consulte los artículos de los productos individuales para obtener más información. A menos que se especifique lo contrario en las notas al pie, las comparaciones se basan en las versiones estables sin complementos, extensiones o programas externos.

Información general [ editar ]

Operating system support[edit]

The operating systems that the RDBMSes can run on.

Fundamental features[edit]

Information about what fundamental RDBMS features are implemented natively.

Note (1): Currently only supports read uncommited transaction isolation. Version 1.9 adds serializable isolation and version 2.0 will be fully ACID compliant.

Note (2): MariaDB and MySQL provide ACID compliance through the default InnoDB storage engine.[66][67]

Note (3): "For other than InnoDB storage engines, MySQL Server parses and ignores the FOREIGN KEY and REFERENCES syntax in CREATE TABLE statements. The CHECK clause is parsed but ignored by all storage engines."[68]

Note (4): Support for Unicode is new in version 10.0.

Note (5): MySQL provides GUI interface through MySQL Workbench.

Note (6): OpenEdge SQL database engine uses Referential Integrity, OpenEdge ABL Database engine does not and is handled via database triggers.

Limits[edit]

Information about data size limits.

Note (1): Firebird 2.x maximum database size is effectively unlimited with the largest known database size >980 GB.[73] Firebird 1.5.x maximum database size: 32 TB.

Note (2): Limit is 1038 using DECIMAL datatype.[74]

Note (3): InnoDB is limited to 8,000 bytes (excluding VARBINARY, VARCHAR, BLOB, or TEXT columns).[75]

Note (4): InnoDB is limited to 1,017 columns.[75]

Note (6): Using VARCHAR (MAX) in SQL 2005 and later.[76]

Note (7): When using a page size of 32 KB, and when BLOB/CLOB data is stored in the database file.

Note (8): Java array size limit of 2,147,483,648 (231) objects per array applies. This limit applies to number of characters in names, rows per table, columns per table, and characters per CHAR/VARCHAR.

Note (9): Despite the lack of a date datatype, SQLite does include date and time functions,[77] which work for timestamps between 24 November 4714 B.C. and 1 November 5352.

Note (10): Informix DATETIME type has adjustable range from YEAR only through 1/10000th second. DATETIME date range is 0001-01-01 00:00:00.00000 through 9999-12-31 23:59:59.99999.

Note (11): Since version 12c. Earlier versions support up to 4000 B.

Note (12): The 128PB limit refers to the storage limit of a single Informix server instance. Informix v12.10 and later versions support using sharding techniques to distribute a table across multiple server instances. A distributed Informix database has no upper limit on table or database size.

Tables and views[edit]

Information about what tables and views (other than basic ones) are supported natively.

Note (1): Server provides tempdb, which can be used for public and private (for the session) temp tables.[78]

Note (2): Materialized views are not supported in Informix; the term is used in IBM's documentation to refer to a temporary table created to run the view's query when it is too complex, but one cannot for example define the way it is refreshed or build an index on it. The term is defined in the Informix Performance Guide.[79]

Note (4): Materialized views can be emulated using stored procedures and triggers.[80]

Note (5): Materialized views are now standard.

Indexes[edit]

Information about what indexes (other than basic B-/B+ tree indexes) are supported natively.

Note (1): The users need to use a function from freeAdhocUDF library or similar.[114]

Note (2): Can be implemented for most data types using expression-based indexes.

Note (3): Can be emulated by indexing a computed column[115] (doesn't easily update) or by using an "Indexed View"[116] (proper name not just any view works[117]).

Note (4): Used for InMemory ColumnStore index, temporary hash index for hash join, Non/Cluster & fill factor.

Note (5): InnoDB automatically generates adaptive hash index[118] entries as needed.

Note (6): Can be implemented using Function-based Indexes in Oracle 8i and higher, but the function needs to be used in the sql for the index to be used.

Note (7): A PostgreSQL functional index can be used to reverse the order of a field.

Note (10): B+ tree and full-text only for now.

Note (11): R-Tree indexing available in base edition with Locator but some functionality requires Personal Edition or Enterprise Edition with Spatial option.

Database capabilities[edit]

Note (1):Recursive CTEs introduced in 11gR2 supersedes similar construct called CONNECT BY.

Data types[edit]

Other objects[edit]

Information about what other objects are supported natively.

Note (1): Both function and procedure refer to internal routines written in SQL and/or procedural language like PL/SQL. External routine refers to the one written in the host languages, such as C, Java, Cobol, etc. "Stored procedure" is a commonly used term for these routine types. However, its definition varies between different database vendors.

Note (2): In Derby, H2, LucidDB, and CUBRID, users code functions and procedures in Java.

Note (3): ENUM datatype exists. CHECK clause is parsed, but not enforced in runtime.

Note (5): Informix supports external functions written in Java, C, & C++.

Partitioning[edit]

Information about what partitioning methods are supported natively.

Note (1): Raima Database Manager 14.0 requires the application programs to select the correct partition (using range, hash or composite techniques) when adding data, but the database union functionality allows all partitions to be read as a single database.[158]

Access control[edit]

Information about access control functionalities (work in progress).

Note (1): Network traffic could be transmitted in a secure way (not clear-text, in general SSL encryption). Precise if option is default, included option or an extra modules to buy.

Note (2): Options are present to set a minimum size for password, respect complexity like presence of numbers or special characters.

Note (3): How do you get security updates? Is it free access, do you need a login or to pay? Is there easy access through a Web/FTP portal or RSS feed or only through offline access (mail CD-ROM, phone).

Note (4): Does database process run as root/administrator or unprivileged user? What is default configuration?

Note (5): Is there a separate user to manage special operation like backup (only dump/restore permissions), security officer (audit), administrator (add user/create database), etc.? Is it default or optional?

Note (6): Common Criteria certified product list.[170]

Note (7): FirebirdSQL seems to only have SYSDBA user and DB owner. There are no separate roles for backup operator and security administrator.

Note (8): User can define a dedicated backup user but nothing particular in default install.[171]

Note (9): Authentication methods.[172]

Note (10): Informix Dynamic Server supports PAM and other configurable authentication. By default uses OS authentication.

Note (11): Authentication methods.[173]

Note (12): With the use of Pervasive AuditMaster.

Note (13): User-based security is optional in Polyhedra, but when enabled can be enhanced to a role-based model with auditing.[174]

Databases vs schemas (terminology)[edit]

The SQL specification defines what an "SQL schema" is; however, databases implement it differently. To compound this confusion the functionality can overlap with that of a parent database. An SQL schema is simply a namespace within a database; things within this namespace are addressed using the member operator dot ".". This seems to be a universal among all of the implementations.

A true fully (database, schema, and table) qualified query is exemplified as such: SELECT * FROM database.schema.table

Both a schema and a database can be used to isolate one table, "foo", from another like-named table "foo". The following is pseudo code:

  • SELECT * FROM database1.foo vs. SELECT * FROM database2.foo (no explicit schema between database and table)
  • SELECT * FROM [database1.]default.foo vs. SELECT * FROM [database1.]alternate.foo (no explicit database prefix)

The problem that arises is that former MySQL users will create multiple databases for one project. In this context, MySQL databases are analogous in function to PostgreSQL-schemas, insomuch as PostgreSQL lacks off-the-shelf cross-database functionality that MySQL has. Conversely, PostgreSQL has applied more of the specification implementing cross-table, cross-schema, and then left room for future cross-database functionality.

MySQL aliases schema with database behind the scenes, such that CREATE SCHEMA and CREATE DATABASE are analogs. It can therefore be said that MySQL has implemented cross-database functionality, skipped schema functionality entirely, and provided similar functionality into their implementation of a database. In summary, PostgreSQL fully supports schemas but lacks some functionality MySQL has with databases, while MySQL does not even attempt to support standard schemas.

Oracle has its own spin where creating a user is synonymous with creating a schema. Thus a database administrator can create a user called PROJECT and then create a table PROJECT.TABLE. Users can exist without schema objects, but an object is always associated with an owner (though that owner may not have privileges to connect to the database). With the 'shared-everything' Oracle RAC architecture, the same database can be opened by multiple servers concurrently. This is independent of replication, which can also be used, whereby the data is copied for use by different servers. In the Oracle implementation, a 'database' is a set of files which contains the data while the 'instance' is a set of processes (and memory) through which a database is accessed.

Informix supports multiple databases in a server instance like MySQL. It supports the CREATE SCHEMA syntax as a way to group DDL statements into a single unit creating all objects created as a part of the schema as a single owner. Informix supports a database mode called ANSI mode which supports creating objects with the same name but owned by different users.

PostgreSQL and some other databases have recently added support for foreign schemas, which is the ability to import schemas from other servers as defined in ISO/IEC 9075-9 (published as part of SQL:2008). This appears like any other schema in the database according to the SQL specification while accessing data stored either in a different database or a different server instance. The import can be made either as an entire foreign schema or merely certain tables belonging to that foreign schema.[175] While support for ISO/IEC 9075-9 bridges the gap between the two competing philosophies surrounding schemas, MySQL and Informix maintain an implicit association between databases while ISO/IEC 9075-9 requires that any such linkages be explicit in nature.

See also[edit]

  • Relational database management system (includes market share data)
  • List of relational database management systems
  • Comparison of object–relational database management systems
  • Comparison of database tools
  • SQL compliance
  • Object database – some of which have relational (SQL/ODBC) interfaces.
  • IBM Business System 12 – an historical RDBMS and related query language.

References[edit]

  1. ^ http://www.4d.com/products/lifecycle.html
  2. ^ "Apache Derby: Downloads". Retrieved 2019-03-11.
  3. ^ Derby - ASF JIRA
  4. ^ cockroachdb Issue tracker
  5. ^ CUBRID / Jira Issue tracker for CUBRID
  6. ^ Stevens, O. (Oct–Dec 2009). "The History of Datacom/DB". Annals of the History of Computing. IEEE. 31 (4): 87–91. doi:10.1109/MAHC.2009.108. ISSN 1058-6180.
  7. ^ "CA Datacom - CA Technologies".
  8. ^ "Datacom Product Sheet" (PDF).
  9. ^ "Db2 11.5". Retrieved 23 December 2020.
  10. ^ "Release 3.0.7". 20 October 2020. Retrieved 10 November 2020.
  11. ^ IPL, Firebird SQL
  12. ^ IDPL, Firebird SQL
  13. ^ Firebird RDBMS Issue Tracker
  14. ^ HyperSQL Database Engine (HSQLDB) / Bugs
  15. ^ h2database issues
  16. ^ Linter Techsupport
  17. ^ https://mariadb.org/mariadb-10-5-10-10-4-19-10-3-29-and-10-2-38-now-available/; publication date: 8 May 2021.
  18. ^ "MariaDB licenses".
  19. ^ MariaDB - JIRA
  20. ^ MaxDB - Problem Tracking
  21. ^ "Editions and supported features of SQL Server 2019 (15.x)". 4 November 2019. Retrieved 23 December 2020.
  22. ^ MonetDB License MPL2.0, MonetDB B.V.
  23. ^ MonetDB Bugzilla
  24. ^ mSQL, Products, AU: Hughes
  25. ^ "Changes in MySQL 8.0.24 (2021-04-20, General Availability)". 20 April 2021.
  26. ^ MySQL Bugs
  27. ^ Issues · openlink/virtuoso-opensource · GitHub
  28. ^ "Oracle Database 19c : Now available on Oracle Exadata". 13 February 2019. Retrieved 23 December 2020.
  29. ^ "Oracle Rdb Product Family Compatibility Matrix". oracle.com.
  30. ^ Polyhedra® Lite In-Memory Relational Database System Freeware Available Now from Enea, Press Release, EECatalog.
  31. ^ "PostgreSQL 13.2, 12.6, 11.11, 10.16, 9.6.21, and 9.5.25 Released!". Retrieved 11 February 2021.
  32. ^ Postgres License
  33. ^ A bug tracker for PostgreSQL?
  34. ^ "SQLite Release 3.35.5 On 2021-04-19". Retrieved 20 April 2021.
  35. ^ SQLite: Ticket Main Menu
  36. ^ SQream DB Version 2.1 SQL Reference Guide, SQream Technologies
  37. ^ [1]
  38. ^ "Release 5.0.0". 7 April 2021. Retrieved 20 April 2021.
  39. ^ [2]
  40. ^ "v2.2.3.0 (Released September 30, 2020)". github.com.
  41. ^ [3]
  42. ^ https://www.firebirdsql.org/en/firebird-3-0/
  43. ^ http://docs.actian.com/ingres/11.0/index.html#page/Ing_Install%2FB._Installing_Ingres_on_OpenVMS.htm%23ww245951
  44. ^ "Building MariaDB on Mac OS X using Homebrew". AskMonty KnowledgeBase. Archived from the original on October 20, 2011. Retrieved September 30, 2011.
  45. ^ https://play.google.com/store/apps/details?id=com.esminis.server.mariadb&hl=de MariaDB Android Version by Tautvydas Andrikys
  46. ^ http://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux
  47. ^ http://techotv.com/run-apache-mysql-php-http-web-server-android-os-phone-tablet/ Run Apache, Mysql, Php – Web server on Android mobile or Tablet
  48. ^ http://aminet.net/package/dev/gg/postgresql632-mos-bin
  49. ^ "Archived copy". Archived from the original on 2015-05-27. Retrieved 2013-08-15.CS1 maint: archived copy as title (link)
  50. ^ Derby Developer's Guide (10.14)>Lock granularity
  51. ^ DB2 for Linux UNIX and Windows 9.7.0>Fundamentos de DB2>Performance tuning>Factors affecting performance>Application design>Concurrency issues>Isolation levels
  52. ^ http://www.h2database.com/html/advanced.html#mvcc
  53. ^ a b c Transactional DDL in PostgreSQL: A Competitive Analysis
  54. ^ Transactional DDL in MariaDB
  55. ^ SQL Server Transaction Locking and Row Versioning Guide
  56. ^ MySQL :: MySQL 5.6 Reference Manual :: 8.10.1 Internal Locking Methods
  57. ^ Oracle Row Lock and Row Level Locking
  58. ^ "Polyhedra 8.7 new headline feature: locking".
  59. ^ PostgreSQL: Documentation: devel: Explicit Locking
  60. ^ BUG #5974: UNION construct type cast gives poor error message
  61. ^ https://help.sap.com/viewer/e38b2f6217f24bdb90a3ff8ae57b1dd5/17.0/en-US/3bee03b56c5f1014ab68e3eff32515dd.html | SAP SQL Anywhere Reference - Types of Lock
  62. ^ SAP SQL Anywhere Reference - Snapshot Isolation
  63. ^ https://help.sap.com/viewer/98ad9ec940e2465695685d98e308dff5/17.0/en-US/3bd460b56c5f10148922c11d39abc0b3.html | SAP SQL Anywhere Reference - HTTP Web Services
  64. ^ File Locking And Concurrency In SQLite Version 3
  65. ^ SQLite Full Unicode support is optional and not installed by default in most systems (like Android, Debian…)
  66. ^ "MySQL - The InnoDB Storage Engine".
  67. ^ "InnoDB - Oracle Wiki".
  68. ^ "MySQL 5.6 Reference Manual".
  69. ^ "Identifier Names". MariaDB KnowledgeBase. Retrieved 26 September 2014.
  70. ^ http://grokbase.com/t/postgresql/pgsql-general/12bsww982c/large-insert-leads-to-invalid-memory-alloc
  71. ^ https://www.postgresql.org/docs/9.3/static/lo-intro.html
  72. ^ https://help.sap.com/viewer/61ecb3d4d8be4baaa07cc4db0ddb5d0a/17.0/en-US/813836f16ce210149e89f219dc353b7e.html | SAP SQL Anywhere - Physical limitations on size and number of databases
  73. ^ Technical Specifications, Guide, Firebird SQL, archived from the original on 2010-06-15, retrieved 2008-03-30
  74. ^ Library, MSDN, Microsoft
  75. ^ a b "Column count limit", Reference Manual, MySQL 5.1 Documentation, Oracle
  76. ^ "Row-Overflow Considerations", TechNet Library, SQL Server Documentation, Microsoft, 2012
  77. ^ "Date functions", Language, SQLite
  78. ^ Online books, Sybase, archived from the original on 2005-10-23
  79. ^ Informix Performance Guide, Info Centre, IBM
  80. ^ Dynamic Materialized Views in MySQL, Pure, Red Noize, 2005, archived from the original on 2006-04-23
  81. ^ "Derby", Full Text Indexing, Search, Issues, Apache
  82. ^ a b c "CUBRID 9.0 release".
  83. ^ Full-text search with DB2 Text Search, Developer Works, IBM
  84. ^ Does Firebird support full-text search?, Firebird FAQ
  85. ^ Fulltext Search, Tutorial, H2 Database
  86. ^ Create Spatial Index, Grammar, H2 Database
  87. ^ Forest of Trees Index, Informix Infocenter, IBM
  88. ^ Full Text Search Functions (PDF), Documentation, RU: Linter, archived from the original (PDF) on 2011-08-20, retrieved 2010-06-06
  89. ^ a b SPATIAL INDEX, MariaDB, mariadb.com, retrieved 24 September 2017
  90. ^ "Storage Engine Index Types". mariadb.com. Retrieved 25 April 2016.
  91. ^ Virtual Columns - MariaDB Knowledge Base
  92. ^ "Fulltext Index Overview". mariadb.com. Retrieved 25 April 2016.
  93. ^ Does Microsoft Access have Full Text Search?, Questions, Stack Overflow
  94. ^ "Microsoft SQL Server Full-Text Search", Library, MSDN, Microsoft
  95. ^ "Spatial Indexing Overview", Library, Tech Net, Microsoft
  96. ^ "Microsoft SQL Server Compact Full-text search is not available", Forums, MSDN, Microsoft
  97. ^ Index Types Per Storage Engine, MySQL, Oracle, retrieved 24 September 2017
  98. ^ "Feature request #4990: Functional Indexes", Bugs, MySQL, Oracle
  99. ^ "Feature request #13979: InnoDB engine doesn't support FULLTEXT", Bugs, MySQL, Oracle
  100. ^ "MySQL v5.6.4 Release Notes", Release Notes, MySQL, Oracle
  101. ^ Creating Spatial Indexes, MySQL, Oracle
  102. ^ Changes in MySQL 5.7.5, MySQL, Oracle
  103. ^ Does Oracle support full text search?, Questions, Stack Overflow
  104. ^ "Location Features for Database 11g", Spatial & Locator, Tech Network, Oracle
  105. ^ Oracle / PLSQL: ORA-01408 Error Message
  106. ^ Full Text Search, Documentation, PostgreSQL community
  107. ^ "4", Manual, PostGIS, PostGIS PSC
  108. ^ The SQLite R*Tree Module
  109. ^ SQLite Expression Indexes
  110. ^ SQLite FTS5 Extension
  111. ^ SpatiaLite, IT: Gaia GIS 2.3.1
  112. ^ Full-Text Search, Online Publications, Teradata
  113. ^ geospatial
  114. ^ UDF, Ad Hoc Data
  115. ^ "Create DB", Library, MSDN, Microsoft
  116. ^ "SQL", Library, MSDN, Microsoft
  117. ^ Petkovic, Dusan (2005). Microsoft SQL Server 2005: A Beginner's Guide. McGraw-Hill Professional. p. 300. ISBN 978-0-07-226093-9.
  118. ^ "InnoDB adaptive Hash", Reference manual 5.0, Development documentation, Oracle
  119. ^ "Article", Library, Developer Works, IBM
  120. ^ a b c d e f g https://modern-sql.com/blog/2018-08/whats-new-in-mariadb-10.3#3.system-versioned-tables
  121. ^ a b New Features in HyperSQL 2.2
  122. ^ H2 > Advanced > Recursive Queries
  123. ^ H2 Functions
  124. ^ Informix parallel data query (PDQ)
  125. ^ "INTERSECT". mariadb.com.
  126. ^ "EXCEPT". mariadb.com.
  127. ^ "CTE implemented in 10.2.2". mariadb.org. Retrieved 26 July 2017.
  128. ^ "Window Functions Overview". mariadb.com. Retrieved 25 April 2016.
  129. ^ a b "Feature request #1542: Parallel query", Bugs, MySQL, Oracle
  130. ^ Only very limited functions available before SQL Server 2012, Microsoft
  131. ^ "SQL Server Parallel Query Processing", Library, MSDN, Microsoft
  132. ^ "Feature request #16244: SQL-99 Derived table WITH clause (CTE)", Bugs, MySQL, Oracle
  133. ^ Parallel Query, Wiki, Ora FAQ
  134. ^ Parallel Query, PostgreSQL
  135. ^ SQLite Query Language: WITH clause
  136. ^ Window Functions
  137. ^ "Data Types", General Reference, HDB, Altibase
  138. ^ a b "10. Data Types", Reference manual, MySQL 5.0, Oracle
  139. ^ "Data Types", CUBRID SQL Guide, Reference Manual, CUBRID
  140. ^ "FileMaker 14 Tech Specs". FileMaker=May 12, 2015.
  141. ^ "Migration from MS-SQL to Firebird". Firebird Project. Retrieved April 12, 2015.
  142. ^ "General: HSQLDB data types", Guide, 2.0 Documents, HSQLDB
  143. ^ "IBM Informix Guide to SQL: Reference, v11.50 (SC23-7750-04)". Publications. IBM. Retrieved August 7, 2013.
  144. ^ "3: Understanding SQL Data Types", SQL 9.3 Reference Guide, Documents, Ingres
  145. ^ "Data Types". mariadb.com. Retrieved 25 April 2016.
  146. ^ "SQL Server Data Types", Library, MSDN, Microsoft
  147. ^ "SQL Server Compact Data Types", Library, MSDN, Microsoft
  148. ^ "Datatypes", SQL Reference, OpenLink Software
  149. ^ "Data Types", SQL 11.2 Reference, Server documents, Oracle
  150. ^ "Data Types", Pervasive PSQL Supported Data Types, Product documentation, Pervasive
  151. ^ Polyhedra SQL Reference Manual, Product documentation, Enea AB, archived from the original on 2013-10-04, retrieved 2013-04-23
  152. ^ "Data Types", Manual, PostgreSQL 10 Documentation, PostgreSQL community
  153. ^ "Defining a Database", SQL 14.0 Reference, Raima
  154. ^ "Defining Table Columns", SQL 8.3 Reference, Raima
  155. ^ Datatypes, SQLite 3
  156. ^ SQream SQL Reference Guide, SQream Technologies
  157. ^ "CONSTRAINT". mariadb.com.
  158. ^ "Database Unions", 14.0 User's Guide, Raima
  159. ^ Support, Downloads, Sybase, retrieved 2008-09-07[dead link]
  160. ^ "Release", Engine, Development, Firebird SQL 2.0
  161. ^ Files, Firebird SQL
  162. ^ "Trace and Audit Services". Firebird Project. Retrieved April 12, 2015.
  163. ^ "cracklib_password_check". mariadb.com. Retrieved 9 December 2014.
  164. ^ "simple_password_check". mariadb.com. Retrieved 9 December 2014.
  165. ^ "Security Vulnerabilities Fixed in MariaDB". mariadb.com. Retrieved 25 April 2016.
  166. ^ "Downloads", Development, MySQL, Oracle
  167. ^ Security, Support, PostgreSQL community, archived from the original on 2011-11-01, retrieved 2018-03-05
  168. ^ Audit trigger, Support, PostgreSQL community
  169. ^ Download, SQLite
  170. ^ DB, Products, Common Criteria Portal, archived from the original on 2009-08-17, retrieved 2009-01-04
  171. ^ Backup MySQL, How to, Gentoo wiki, archived from the original on 2008-09-02, retrieved 2008-09-07
  172. ^ Authentication methods, 8.1 Documents, PostgreSQL community
  173. ^ Common Criteria (CC, ISO15408), Microsoft, archived from the original on 2014-02-13
  174. ^ Adding audit trails to a Polyhedra IMDB database, White paper, Enea AB
  175. ^ "PostgreSQL: Documentation: 9.5: IMPORT FOREIGN SCHEMA". www.postgresql.org. Retrieved 2016-06-11.

External links[edit]

  • Comparison of different SQL implementations against SQL standards. Includes Oracle, DB2, Microsoft SQL Server, MySQL and PostgreSQL. (8 June 2007)
  • The SQL92 standard
  • DMBS comparison by SQL Workbench