| Perbandingan -- relational database management systemsThe following tables compare general and technical information for a number of relational database management systems. Please see the individual products' articles for further information. This article is not all-inclusive or necessarily up to date. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs. General information Operating system supportThe operating systems that the RDBMSes can run on. Fundamental featuresInformation 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):MySQL provides ACID compliance through the default InnoDB storage engine.[33][34] 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."[35] Note (4): Support for Unicode is new in version 10.0. Note (5):MySQL provides GUI interface through MySQL Workbench LimitsInformation about data size limits. |
4th Dimension | limited | ? | ? | 65135 | 200 GB (2 GiB Unicode) | 200 GB (2 GiB Unicode) | 64 bits | ? | ? | ? |
---|
Advantage Database Server | Unlimited | 16 EiB | 65530 B | 65135 / (10+ AvgFieldNameLength) | 4 GiB | ? | 64 bits | ? | ? | 128 |
---|
Apache Derby | Unlimited | Unlimited | Unlimited | 1012 (5000 in views) | 2 147 483 647 chars | 254 (VARCHAR : 32672) | 64 bits | 0001-01-01 | 9999-12-31 | 128 |
---|
CUBRID | 2 EB | 2 EB | Unlimited | 6400 | Unlimited | 1 GB | 64 bits | 0001-01-01 | 9999-12-31 | 254 |
---|
Drizzle | Unlimited | 64 TB | 8 kB | 1000 | 4 GB (longtext, longblob) | 64 kB (text) | 64 bits | 0001 | 9999 | 64 |
---|
DB2 | 512 TiB | 512 TB | 32 677 B | 1012 | 2 GB | 32 KiB) | 64 bits | 0001 | 9999 | 128 |
---|
Empress Embedded Database | Unlimited | 263-1 bytes | 2 GB | 32767 | 2 GB | 2 GB | 64 bits | 0000-01-01 | 9999-12-31 | 32 |
---|
EXASolution | Unlimited | Unlimited | Unlimited | 10000 | N/A | 2 MB | 128 bits | 0001-01-01 | 9999-12-31 | 256 |
---|
FileMaker | 8TB | 8TB | 8TB | 256,000,000 | 4GB | 10^9 characters | 10^9 numbers w/ range 10^-400 to 10^400 | 0001-01-01 | 4000-12-31 | 100 |
---|
Firebird | Unlimited1 | ~32 TB | 65 536 B | Depends on data types used. | 2 GB | 32 767 B | 64 bits | 100 | 32768 | 31 |
---|
HSQLDB | 64 TB | Unlimited8 | Unlimited8 | Unlimited8 | 64 TB7 | Unlimited8 | Unlimited8 | 0001-01-01 | 9999-12-31 | 128 |
---|
H2 | 64 TB | Unlimited8 | Unlimited8 | Unlimited8 | 64 TB7 | Unlimited8 | 64 bits | -99999999 | 99999999 | Unlimited8 |
---|
| Max DB size | Max table size | Max row size | Max columns per row | Max Blob/Clob size | Max CHAR size | Max NUMBER size | Min DATE value | Max DATE value | Max column name size |
---|
Informix Dynamic Server | ~128 PB | ~128 PB | 32 765 bytes (exclusive of large objects) | 32765 | 4 TB | 32765 | 1032 | 01/01/000110 | 12/31/9999 | 128 bytes |
---|
Ingres | Unlimited | Unlimited | 256 kB | 1024 | 2 GB | 32 000 B | 64 bits | 0001 | 9999 | 256 |
---|
InterBase | Unlimited1 | ~32 TB | 65 536 B | Depends on data types used. | 2 GB | 32 767 B | 64 bits | 100 | 32768 | 31 |
---|
Linter SQL RDBMS | Unlimited | 230 rows | 64 kB (w/o BLOBs), 4 GB (BLOB) | 250 | 4 GB | 4 kB | 64 bits | 0001-01-01 | 2099-12-31 | 128 |
---|
Microsoft Access (JET) | 2 GB | 2 GB | 16 MB | 255 | 64 kB (memo field), 1 GB ("OLE Object" field) | 255 B (text field) | 32 bits | 0100 | 9999 | 64 |
---|
Microsoft Visual Foxpro | Unlimited | 2 GB | 65 500 B | 255 | 2 GB | 16 MB | 32 bits | 0001 | 9999 | ? |
---|
Microsoft SQL Server | 524,272 TB (32 767 files * 16 TB max file size) | 524,272 TB | 8060 bytes (Unlimited)6 | 30000 | 2 GB | 2 GB6 | 126 bits2 | 0001 | 9999 | 128 |
---|
Microsoft SQL Server Compact (Embedded Database) | 4 GB | 4 GB | 8060 bytes | 1024 | 500 MB | 4000 | 126 bits 2 | 0001 | 9999 | 128 |
---|
MySQL 5 | Unlimited | MyISAM storage limits: 256 TB; Innodb storage limits: 64 TB | 64 kB3 | 40964 | 4 GB (longtext, longblob) | 64 kB (text) | 64 bits | 1000 | 9999 | 64 |
---|
OpenLink Virtuoso | 32 TB | DB size (or 32 TB) | 4K | 200 | 2 GB | 2 GB | 2**31 | 0 | 9999 | 100 |
---|
Oracle | Unlimited (4 GB * block size per tablespace) | 4 GB * block size (with BIGFILE tablespace) | 8 kB | 1000 | Unlimited | 4000 B | 126 bits | -4712 | 9999 | 30 |
---|
| Max DB size | Max table size | Max row size | Max columns per row | Max Blob/Clob size | Max CHAR size | Max NUMBER size | Min DATE value | Max DATE value | Max column name size |
---|
Polyhedra | Limited by available RAM, address space | 232 rows | Unlimited | 65536 | 4 GB (subject to RAM) | 4 GB (subject to RAM) | 32 bits | 0001-01-01 | 8000-12-31 | 255 |
---|
PostgreSQL | Unlimited | 32 TB | 1.6 TB | 250-1600 depending on type | 1 GB (text, bytea) - stored inline or 2 GB (stored in pg_largeobject) | 1 GB | Unlimited | -4713 | 5874897 | 63 |
---|
RDM Embedded | Unlimited | 248-1 rows | 32 KB | 1000 | 4 GB | char: 256, varchar: 4 KB | 64 bits | 0001-01-01 | 11758978-12-31 | 31 |
---|
RDM Server | Unlimited | 264-1 rows | 32 KB | 32768 | Unlimited | 32 KB | 64 bits | 0001-01-01 | 11758978-12-31 | 32 |
---|
ScimoreDB | Unlimited | 16 EB | 8050 B | 255 | 16 TB | 8000 B | 64 bits | ? | ? | ? |
---|
SQL Anywhere | 104 TB (13 files, each file up to 8 TB (32k pages)) | Limited by file size | Limited by file size | 45000 | 2 GB | 2 GB | 64 bits | 0001-01-01 | 9999-12-31 | ? |
---|
SQLite | 128 TB (231 pages * 64 kB max page size) | Limited by file size | Limited by file size | 32767 | 2 GB | 2 GB | 64 bits | No DATE type9 | No DATE type9 | Unlimited |
---|
Teradata | Unlimited | Unlimited | 64 kB wo/lobs (64 GB w/lobs) | 2048 | 2 GB | 10 000 | 64 bits | ? | 9999-12-31 Select 80991231 (date); | 30 |
---|
UniVerse | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited |
---|
Xeround Cloud Database | Unlimited | Unlimited | 32GB, depending on available memory | 1000 | 4GB | 64K | 64 bits | 1000 | 9999 | 64 |
---|
| Max DB size | Max table size | Max row size | Max columns per row | Max Blob/Clob size | Max CHAR size | Max NUMBER size | Min DATE value | Max DATE value | Max column name size |
---|
Note (1): Firebird 2.x maximum database size is effectively unlimited with the largest known database size >980 GB.[36] Firebird 1.5.x maximum database size: 32 TB. Note (2): limit is 1038using DECIMAL datatype[37] Note (3): InnoDB is limited to 8,000 bytes (excluding VARBINARY , VARCHAR , BLOB , or TEXT columns)[38] Note (4): InnoDB is limited to 1,000 columns[38] Note (6): Using VARCHAR (MAX) in SQL 2005 and later[39] 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,[40] which work for timestamps between 0000-01-01 00:00:00 and 5352-11-01 10:52:47. 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. Tables and viewsInformation 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.[41] 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.[42] Note (3): Query optimizer support only in Developer and Enterprise Editions. In other versions, a direct reference to materialized view and a query hint are required.[43] Note (4): Materialized views can be emulated using stored procedures and triggers.[44] Note (5): Materialized views can be emulated with stored procedures and triggers using PL/pgSQL, PL/Perl, PL/Python, or other procedural languages.[45] IndexesInformation 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.[70] Note (2): Can be implemented for most data types using expression-based indexes. Note (3): Can be emulated by indexing a computed column[71] (doesn't easily update) or by using an "Indexed View"[72] (proper name not just any view works[73]) Note (4): Can be implemented by using an indexed view.[74] Note (5): InnoDB automatically generates adaptive hash index[75] 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 (8): PostgreSQL will likely support on-disk bitmap indexes in a future version. Version 8.2 supports a related technique known as "in-memory bitmap scans". 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 capabilitiesNote (1): Recursive CTEs introduced in 11gR2 supersedes similar construct called CONNECT BY Data types|
Altibase[88] | Static | SMALLINT (16-bit), INTEGER (32-bit), BIGINT (64-bit) | REAL(32-bit), DOUBLE(64-bit) | DECIMAL, NUMERIC, NUMBER, FLOAT | CHAR, VARCHAR, NCHAR, NVARCHAR, CLOB | BLOB, BYTE, NIBBLE, BIT, VARBIT | DATE | | GEOMETRY |
---|
CUBRID[89] | Static | SMALLINT (16-bit), INTEGER (32-bit), BIGINT (64-bit) | FLOAT, REAL(32-bit), DOUBLE(64-bit) | DECIMAL, NUMERIC | CHAR, VARCHAR, NCHAR, NVARCHAR, CLOB | BLOB | DATE, DATETIME, TIME, TIMESTAMP | BIT | MONETARY, BIT VARYING, SET, MULTISET, SEQUENCE, ENUM |
---|
Drizzle[90] | Static | INT (32-bit), BIGINT (64-bit) | DOUBLE (aka REAL) (64-bit) | DECIMAL | BINARY, VARCHAR, VARBINARY, TEXT, | BLOB | DATETIME, DATE, TIMESTAMP | | ENUM, SERIAL |
---|
Empress Embedded Database | Static | TINYINT, SQL_TINYINT, or INTEGER8; SMALLINT, SQL_SMALLINT, or INTEGER16; INTEGER, INT, SQL_INTEGER, or INTEGER32; BIGINT, SQL_BIGINT, or INTEGER64 | REAL, SQL_REAL, or FLOAT32; DOUBLE PRECISION, SQL_DOUBLE, or FLOAT64; FLOAT, or SQL_FLOAT; EFLOAT | DECIMAL, DEC, NUMERIC, SQL_DECIMAL, or SQL_NUMERIC; DOLLAR | CHARACTER, ECHARACTER, CHARACTER VARYING, NATIONAL CHARACTER, NATIONAL CHARACTER VARYING, NLSCHARACTER, CHARACTER LARGE OBJECT, TEXT, NATIONAL CHARACTER LARGE OBJECT, NLSTEXT | BINARY LARGE OBJECT or BLOB; BULK | DATE, EDATE, TIME, ETIME, EPOCH_TIME, TIMESTAMP, MICROTIMESTAMP | BOOLEAN | SEQUENCE 32, SEQUENCE |
---|
EXASolution | Static | TINYINT, SMALLINT, INTEGER, BIGINT, | REAL, FLOAT, DOUBLE | DECIMAL, DEC, NUMERIC, NUMBER | CHAR, NCHAR, VARCHAR, VARCHAR2, NVARCHAR, NVARCHAR2, CLOB, NCLOB | N/A | DATE, TIMESTAMP, INTERVAL | BOOLEAN, BOOL | GEOMETRY |
---|
HSQLDB[91] | Static | TINYINT (8-bit), SMALLINT (16-bit), INTEGER (32-bit), BIGINT (64-bit) | DOUBLE (64-bit) | DECIMAL, NUMERIC | CHAR, VARCHAR, LONGVARCHAR, CLOB | BINARY, VARBINARY, LONGVARBINARY, BLOB | DATE, TIME, TIMESTAMP, INTERVAL | BOOLEAN | OTHER (object), BIT, BIT VARYING, ARRAY |
---|
Informix Dynamic Server[92] | Static | SMALLINT (16-bit), INT (32-bit), INT8 (64-bit proprietary), BIGINT (64-bit) | SMALLFLOAT (32-bit), FLOAT (64-bit) | DECIMAL (32 digits float/fixed), MONEY | CHAR, VARCHAR, NCHAR, NVARCHAR, LVARCHAR, CLOB, TEXT | TEXT, BYTE, BLOB, CLOB | DATE, DATETIME, INTERVAL | BOOLEAN | SET, LIST, MULTISET, ROW, TIMESERIES, SPATIAL, USER DEFINED TYPES |
---|
Ingres[93] | Static | TINYINT (8-bit), SMALLINT (16-bit), INTEGER (32-bit), BIGINT (64-bit) | FLOAT4 (32-bit), FLOAT (64-bit) | DECIMAL | C, CHAR, VARCHAR, LONG VARCHAR, NCHAR, NVARCHAR, LONG NVARCHAR, TEXT | BYTE, VARBYTE, LONG VARBYTE (BLOB) | DATE, ANSIDATE, INGRESDATE, TIME, TIMESTAMP, INTERVAL | N/A | MONEY, OBJECT_KEY, TABLE_KEY, USER-DEFINED DATA TYPES (via OME) |
---|
Microsoft SQL Server[94] | Static | TINYINT, SMALLINT, INT, BIGINT | FLOAT, REAL | NUMERIC, DECIMAL, SMALLMONEY, MONEY | CHAR, VARCHAR, TEXT, NCHAR, NVARCHAR, NTEXT | BINARY, VARBINARY, IMAGE, FILESTREAM | DATE, DATETIMEOFFSET, DATETIME2, SMALLDATETIME, DATETIME, TIME | BIT | CURSOR, TIMESTAMP, HIERARCHYID, UNIQUEIDENTIFIER, SQL_VARIANT, XML, TABLE |
---|
Microsoft SQL Server Compact (Embedded Database)[95] | Static | TINYINT, SMALLINT, INT, BIGINT | FLOAT, REAL | NUMERIC, DECIMAL, MONEY | NCHAR, NVARCHAR, NTEXT | BINARY, VARBINARY, IMAGE | DATETIME | BIT | TIMESTAMP, ROWVERSION, UNIQUEIDENTIFIER, IDENTITY, ROWGUIDCOL |
---|
MySQL[96] | Static | TINYINT (8-bit), SMALLINT (16-bit), MEDIUMINT (24-bit), INT (32-bit), BIGINT (64-bit) | FLOAT (32-bit), DOUBLE (aka REAL) (64-bit) | DECIMAL | CHAR, BINARY, VARCHAR, VARBINARY, TEXT, TINYTEXT, MEDIUMTEXT, LONGTEXT | TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB | DATETIME, DATE, TIMESTAMP, YEAR | BIT(1), BOOLEAN (aka BOOL) = synonym for TINYINT | ENUM, SET, GIS data types (Geometry, Point, Curve, LineString, Surface, Polygon, GeometryCollection, MultiPoint, MultiCurve, MultiLineString, MultiSurface, MultiPolygon) |
---|
OpenLink Virtuoso[97] | Static + Dynamic | INT, INTEGER, SMALLINT | REAL, DOUBLE PRECISION, FLOAT, FLOAT'('INTNUM')' | DECIMAL, DECIMAL'('INTNUM')', DECIMAL'('INTNUM','INTNUM')', NUMERIC, NUMERIC'('INTNUM')', NUMERIC'('INTNUM','INTNUM')' | CHARACTER, CHAR'('INTNUM')', VARCHAR, VARCHAR'('INTNUM')', NVARCHAR, NVARCHAR'('INTNUM')' | BLOB | TIMESTAMP, DATETIME, TIME, DATE | n/a | GEOMETRY, REFERENCE (URI), UDT (User Defined Type) |
---|
Oracle[98] | Static + Dynamic (through ANYDATA) | NUMBER | BINARY_FLOAT, BINARY_DOUBLE | NUMBER | CHAR, VARCHAR2, CLOB, NCLOB, NVARCHAR2, NCHAR, LONG (deprecated) | BLOB, RAW, LONG RAW (deprecated), BFILE | DATE, TIMESTAMP (with/without TIMEZONE), INTERVAL | N/A | SPATIAL, IMAGE, AUDIO, VIDEO, DICOM, XMLType |
---|
Polyhedra | Static | INTEGER8 (8-bit), INTEGER(16-bit), INTEGER (32-bit) | FLOAT32 (32-bit), FLOAT (aka REAL; 64-bit) | N/A | VARCHAR, LARGE VARCHAR (aka CHARACTER LARGE OBJECT) | LARGE BINARY (aka BINARY LARGE OBJECT) | DATETIME | BOOLEAN | N/A |
---|
PostgreSQL[99] | Static | SMALLINT (16-bit), INTEGER (32-bit), BIGINT (64-bit) | REAL (32-bit), DOUBLE PRECISION (64-bit) | DECIMAL, NUMERIC | CHAR, VARCHAR, TEXT | BYTEA | DATE, TIME (with/without TIMEZONE), TIMESTAMP (with/without TIMEZONE), INTERVAL | BOOLEAN | ENUM, POINT, LINE, LSEG, BOX, PATH, POLYGON, CIRCLE, CIDR, INET, MACADDR, BIT, UUID, XML, arrays |
---|
RDM Embedded[100] | Static | tinyint, smallint, integer, bigint | real, float, double | N/A | char, varchar, wchar, varwchar, long varchar, long varwchar | binary, varbinary, long varbinary | date, time, timestamp | bit | N/A |
---|
RDM Server[101] | Static | tinyint, smallint, integer, bigint | real, float, double | decimal, numeric | char, varchar, wchar, varwchar, long varchar, long varwchar | binary, varbinary, long varbinary | date, time, timestamp | bit | rowid |
---|
SQLite[102] | Dynamic | INTEGER (64-bit) | REAL (aka FLOAT, DOUBLE) (64-bit) | N/A | TEXT (aka CHAR, CLOB) | BLOB | N/A | N/A | N/A |
---|
UniData | Dynamic | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
---|
UniVerse | Dynamic | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
---|
Xeround Cloud Database | Static | TINYINT (8-bit), SMALLINT (16-bit), MEDIUMINT (24-bit), INT (32-bit), BIGINT (64-bit) | FLOAT (32-bit), DOUBLE (aka REAL) (64-bit) | DECIMAL | CHAR, BINARY, VARCHAR, VARBINARY, TEXT, TINYTEXT, MEDIUMTEXT, LONGTEXT | TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB | DATETIME, DATE, TIMESTAMP, YEAR | BOOLEAN (aka BOOL) = synonym for TINYINT | ENUM, SET |
---|
| Type system | Integer | Floating point | Decimal | String | Binary | Date/Time | Boolean | Other |
---|
Other objectsInformation 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 exist. CHECK clause is parsed, but not enforced in runtime. Note (4): In Drizzle the user codes functions and procedures in C++. PartitioningInformation about what partitioning methods are supported natively. Note (1): PostgreSQL 8.1 provides partitioning support through check constraints. Range, List and Hash methods can be emulated with PL/pgSQL or other procedural languages.[103] Note (2): RDM Embedded 10.1 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.[104] Access controlInformation about access control functionalities (work in progress). |
Adaptive Server Enterprise | Yes (optional; to pay) | Yes | Yes (optional ?) | Yes | Partial (need to register; depend on which product)[105] | Yes | Yes | Yes | Yes | Yes (EAL4+ 1) |
---|
Advantage Database Server | Yes | No | No | No | Yes | Yes | No | No | Yes | ? |
---|
DB2 | Yes | ? | Yes (LDAP, Kerberos…) | Yes | ? | Yes | Yes | Yes | Yes | Yes (EAL4+6) |
---|
Empress Embedded Database | ? | ? | No | No | Yes | Yes | Yes | No | Yes | No |
---|
EXASolution | No | No | Yes (LDAP) | No | Yes | Yes | Yes | Yes | Yes | No |
---|
Firebird | No | Yes[106] | Yes (Windows trusted authenification) | No | Partial (no security page)[107] | Yes | No | No | No7 | ? |
---|
HSQLDB | Yes | No | Yes | Yes | Yes | Yes | No | No | Yes | No |
---|
H2 | Yes | Yes | ? | No | ? | Yes | ? | Yes | Yes | No |
---|
Informix Dynamic Server | Yes | ? | Yes10 | ?10 | Yes | Yes | Yes | Yes | Yes | ? |
---|
Linter SQL RDBMS | Yes (with SSL) | Yes | No | Yes (length only) | ? | Yes | Yes | Yes | Yes | Yes |
---|
MariaDB | Yes (SSL) | No | Yes (with 5.2, but not on Windows servers) | No | Partial (no security page) | Yes | ? | ? | ?8 | No |
---|
Microsoft SQL Server | Yes | ? | Yes (Microsoft Active Directory) | Yes | Yes | Yes | Yes (From 2008) | Yes | Yes | Yes (EAL4+11) |
---|
Microsoft SQL Server Compact (Embedded Database) | No (not relevant, only file permissions) | No (not relevant) | No (not relevant) | No (not relevant) | Yes | Yes (file access) | Yes | Yes | No | ? |
---|
MySQL | Yes (SSL with 4.0) | No | Yes (with 5.5, but only in commercial edition) | No | Partial (no security page)[108] | Yes | ? | ? | ?8 | No |
---|
OpenBase SQL | Yes | ? | Yes (Open Directory, LDAP) | No | ? | ? | ? | ? | ? | ? |
---|
OpenLink Virtuoso | Yes | Yes | Yes | Yes (optional) | Yes (optional) | Yes | Yes (optional) | Yes (optional) | Yes | No |
---|
Oracle | Yes | Yes | Yes | Yes | ? | Yes | Yes | Yes | Yes | Yes (EAL4+1) |
---|
PostgreSQL | Yes | Yes (for 9.1) | Yes (LDAP, Kerberos…9) | Yes (as of 9.0 with passwordcheck module) | Yes[109] | Yes | No | Yes | Yes | Yes (EAL11) |
---|
RDM Embedded | No | No | No | No | No | Yes | No | No | No | No |
---|
RDM Server | Yes | No | No | No | No | Yes | Yes | No | Yes | No |
---|
SQL Anywhere | Yes | ? | Yes (Kerberos) | Yes | ? | Yes | Yes | No | Yes | Yes (EAL3+1 as Adaptive Server Anywhere) |
---|
SQLite | No (not relevant, only file permissions) | No (not relevant) | No (not relevant) | No (not relevant) | Partial (no security page)[110] | Yes (file access) | Yes | Yes | No | No |
---|
Xeround Cloud Database | Yes (SSL with 4.0) | No | No | No | N/A - database as a service | Yes | No | No | No | No |
---|
| Native network encryption1 | Brute-force protection | Enterprise directory compatibility | Password complexity rules2 | Patch access3 | Run unprivileged4 | Audit | Resource limit | Separation of duties (RBAC)5 | Security Certification |
---|
Note (1): Network traffic could be transmitted in a secure way (not clear-text, en 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[111] 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[112] Note (9): Authentication methods[113] Note (10): Informix Dynamic Server supports PAM and other configurable authentication. By default uses OS authentication. Note (11): Authentication methods[114] Databases vs schemas (terminology)The SQL specification makes clear what an "SQL schema" is; however, different databases implement it incorrectly. To compound this confusion the functionality can, when incorrectly implemented, overlap with that of the 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 amongst all of the implementations. A true fully (database, schema, and table) qualified query is exemplified as such: SELECT * FROM database.schema.table Now, the issue, 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 db1.foo vs. SELECT * FROM db2.foo (no explicit schema between db and table) SELECT * FROM [db1.]default.foo vs. SELECT * FROM [db1.]alternate.foo (no explicit db 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 Postgres-schemas, insomuch as Postgres 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, Postgres fully supports schemas but lacks some functionality MySQL has with databases, while MySQL does not even attempt to support true 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 Oracle 'shared-everything' 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 server. In the Oracle view, the '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. The end result is confusion between the database factions. The Postgres and Oracle communities maintain that one database is all that is needed for one project, per the definition of database. MySQL and Informix proponents maintain that schemas have no legitimate purpose when the functionality can be achieved with databases. Postgres adheres to the SQL specification, in a more intuitive fashion (bottom-up), while MySQL’s pragmatic counterargument allows their users to get the job done while creating conceptual confusion. See also References- ^ Altibase, http://www.altibase.com.
- ^ NHN Corp., http://www.nhncorp.com
- ^ Empress, http://www.empress.com/.
- ^ EXASolution, http://www.exasol.com/.
- ^ Firebird SQL, http://www.firebirdsql.org/.
- ^ IPL, Firebird SQL, http://www.firebirdsql.org/index.php? op=doc&id=ipl.
- ^ IDPL, Firebird SQL, http://www.firebirdsql.org/index.php? op=doc&id=idpl.
- ^ hsqldb
- ^ Eigenbase, http://www.eigenbase.org/.
- ^ "MariaDB 5.5.23 Release Notes". AskMonty KnowledgeBase. http://kb.askmonty.org/en/mariadb-552 3-release-notes. Retrieved 2012-04-18.
- ^ a b VisualFoxPro, http://en.wikipedia.org/wiki/Visual_F oxPro.
- ^ MonetDB Public License, CWI, http://www.monetdb.org/Legal/MonetDBL icense.
- ^ mSQL, Products, AU: Hughes, http://www.hughes.com.au/products/msq l/.
- ^ Nexus DB, http://www.nexusdb.com/.
- ^ Omnis, http://www.omnis.net/.
- ^ OpenBase, http://www.openbase.com/.
- ^ OpenLink Software, http://www.openlinksw.com/.
- ^ Oracle Rdb Product Family Compatibility Matrix, Oracle Corporation, http://www.oracle.com/technetwork/dat abase/rdb/learnmore/rdb-pmatrix-rdb-0 86351.html.
- ^ Corel, http://www.corel.com/.
- ^ PostgreSQL development group, PostgreSQL community, http://www.postgresql.org/developer/.
- ^ PostgreSQL 2013-02-07, Documentation, PostgreSQL Community, http://www.postgresql.org/about/news/ 1446/.
- ^ License, PostgreSQL Community, http://www.postgresql.org/about/licen ce.
- ^ r:Base, http://www.rbase.com/.
- ^ RDM Embedded, Raima Inc, http://www.raima.com/products/rdme/.
- ^ RDM Server, Raima Inc., http://www.raima.com/products/rdms/.
- ^ SAPHANA.COM, http://saphana.com.
- ^ Scimore, http://www.scimore.com/.
- ^ SQLBase, Products, Unify, http://www.unify.com/Products/SQLBase.
- ^ SQLite Release History, SQLite, http://www.sqlite.org/changes.html.
- ^ "Building MariaDB on Mac OS X using Homebrew". AskMonty KnowledgeBase. http://kb.askmonty.org/en/building-ma riadb-on-mac-os-x-using-homebrew. Retrieved 2011-09-30.
- ^ a b c Transactional DDL in PostgreSQL: A Competitive Analysis
- ^ SQLite Full Unicode support is optional and not installed by default in most systems (like Android, Debian…)
- ^ "MySQL - The InnoDB Storage Engine". http://dev.mysql.com/doc/refman/5.5/e n/innodb-storage-engine.html.
- ^ "InnoDB - Oracle Wiki". http://wiki.oracle.com/page/InnoDB.
- ^ "MySQL 5.6 Reference Manual". http://dev.mysql.com/doc/refman/5.6/e n/create-table.html.
- ^ Technical Specifications, Guide, Firebird SQL, http://www.firebirdsql.org/index.php? op=guide&id=techspec.
- ^ Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms187746.aspx.
- ^ a b "Column count limit", Reference Manual, MySQL Documentation, Oracle, http://dev.mysql.com/doc/refman/5.1/e n/column-count-limit.html.
- ^ "Row-Overflow Considerations", TechNet Library, SQL Server Documentation, Microsoft, http://technet.microsoft.com/en-us/li brary/ms186981.aspx.
- ^ "Date functions", Language, SQLite, http://www.sqlite.org/lang_datefunc.h tml.
- ^ Online books, Sybase, http://sybooks.sybase.com/onlinebooks /group-as/asg1250e/sag/@Generic__Book TextView/3225;.
- ^ Informix Performance Guide, Info Centre, IBM, http://publib.boulder.ibm.com/infocen ter/idshelp/v115/index.jsp?topic=/com .ibm.perf.doc/ids_prf_534.htm.
- ^ "SQL", Prod Technol, Tech Net, Microsoft, http://www.microsoft.com/technet/prod technol/sql/2005/impprfiv.mspx#EEC.
- ^ Archives, Pure, Red Noize, http://pure.rednoize.com/archives/13/.
- ^ "Materialized Views", PostgreSQL, Jonathan Gardner, http://jonathangardner.net/PostgreSQL /materialized_views/matviews.html.
- ^ "Derby", Full Text Indexing, Search, Issues, Apache, https://issues.apache.org/jira/browse /DERBY-472.
- ^ a b c "CUBRID 9.0 release". http://www.cubrid.org/blog/news/annou ncing-cubrid-9-0-with-3x-performance- increase-and-sharding-support/.
- ^ Full-text search with DB2 Text Search, Developer Works, IBM, http://www.ibm.com/developerworks/dat a/tutorials/dm-0810shettar/.
- ^ Does Firebird support full-text search?, Firebird FAQ, http://www.firebirdfaq.org/faq328/.
- ^ Fulltext Search, Tutorial, H2 Database, http://www.h2database.com/html/tutori al.html#fulltext.
- ^ Forest of Trees Index, Informix Infocenter, IBM, http://publib.boulder.ibm.com/infocen ter/idshelp/v117/index.jsp?topic=%2Fc om.ibm.perf.doc%2Fids_prf_763.htm.
- ^ (PDF) Full Text Search Functions, Documentation, RU: Linter, http://linter.ru/en/documentation/pdf /phrase.pdf.
- ^ Does Microsoft Access have Full Text Search?, Questions, Stack Overflow, http://stackoverflow.com/questions/39 9406/does-microsoft-access-have-full- text-search.
- ^ "Microsoft SQL Server Full-Text Search", Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms142571.aspx.
- ^ "Spatial Indexing Overview", Library, Tech Net, Microsoft, http://technet.microsoft.com/en-us/li brary/bb964712.aspx.
- ^ "Microsoft SQL Server Compact Full-text search is not available", Forums, MSDN, Microsoft, http://social.msdn.microsoft.com/Foru ms/en-US/sqlce/thread/4a8af1a6-c644-4 1a5-8637-c7c5a6d73a4c.
- ^ "Feature request #4990: Functional Indexes", Bugs, MySQL, Oracle, http://bugs.mysql.com/bug.php?id=4990.
- ^ "Feature request #13979: InnoDB engine doesn't support FULLTEXT", Bugs, MySQL, Oracle, http://bugs.mysql.com/bug.php?id=1397 9.
- ^ Creating Spatial Indexes, MySQL, Oracle, http://dev.mysql.com/doc/refman/5.0/e n/creating-spatial-indexes.html.
- ^ Does Oracle support full text search?, Questions, Stack Overflow, http://stackoverflow.com/questions/20 2623/does-oracle-support-full-text-se arch
- ^ "Location Features for Database 11g", Spatial & Locator, Tech Network, Oracle, http://www.oracle.com/technetwork/dat abase/options/spatial/.
- ^ Full Text Search], Documentation, PostgreSQL community, http://www.postgresql.org/docs/8.4/st atic/textsearch.html.
- ^ "4", Manual, PostGIS, Refractions, http://postgis.refractions.net/docume ntation/manual-1.5/ch04.html#id263870 5.
- ^ Free text search queries in SQL, ScimoreDB, http://www.scimore.com/howto/getstart ed/google-like-sql-freetext/.
- ^ The SQLite R*Tree Module
- ^ SQLite FTS3 Extension
- ^ SpatiaLite, IT: Gaia GIS, http://www.gaia-gis.it/spatialite/.
- ^ Full-Text Search, Online Publications, Teradata, http://www.info.teradata.com/FullText /eFull-Text-Srch.cfm.
- ^ geospatial
- ^ UDF, Ad Hoc Data, http://www.udf.adhoc-data.de/index_en g.html.
- ^ "Create DB", Library, MSDN, Microsoft, http://msdn.microsoft.com/library/def ault.asp?url=/library/en-us/createdb/ cm_8_des_05_8os3.asp.
- ^ "SQL", Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/aa933124(SQL.80).aspx.
- ^ Petkovic, Dusan (2005). Microsoft SQL Server 2005: A Beginner’s Guide. McGraw-Hill Professional. p. 300. ISBN 978-0-07-226093-9.
- ^ "Indexed Views", Library, MSDN, http://msdn.microsoft.com/library/def ault.asp?url=/library/en-us/dnsql2k/h tml/indexedviews1.asp.
- ^ "InnoDB adaptive Hash", Reference manual, Development documentation, Oracle, http://dev.mysql.com/doc/refman/5.0/e n/innodb-adaptive-hash.html.
- ^ How does Drizzle handle parallel "things"?
- ^ "Article", Library, Developer Works, IBM, http://www.ibm.com/developerworks/dat a/library/techarticle/dm-0608mcinerne y/.
- ^ a b New Features in HyperSQL 2.2
- ^ H2 > Advanced > Recursive Queries
- ^ H2 Roadmap
- ^ Informix parallel data query (PDQ)
- ^ Only very limited functions available before SQL Server 2012, Microsoft, http://msdn.microsoft.com/en-US/libra ry/ms189798%28v=sql.105%29
- ^ "SQL Server Parallel Query Processing", Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms178065.aspx.
- ^ "Feature request #16244: SQL-99 Derived table WITH clause (CTE)", Bugs, MySQL, Oracle.
- ^ "Feature request #1542: Parallel query", Bugs, MySQL, Oracle.
- ^ Parallel Query, Wiki, Ora FAQ, http://www.orafaq.com/wiki/Parallel_Q uery_FAQ
- ^ PostgreSQL lacks parallel query processing, Mark Mail, http://markmail.org/message/2t3nrzg72 gpgcvvq.
- ^ "Data Types", General Reference, HDB, Altibase, http://atc.altibase.com/sub09/611b/ht ml/GeneralReference/ch01s01s01.html.
- ^ "Data Types", CUBRID SQL Guide, Reference Manual, CUBRID, http://www.cubrid.org/manual/syntax/s yntax_datatype_num_def.htm.
- ^ Built-in Column Types, Documents, Drizzle, http://docs.drizzle.org/columntypes.h tml.
- ^ "General: HSQLDB data types", Guide, Documents, HSQLDB, http://hsqldb.org/doc/2.0/guide/sqlge neral-chapt.html#sqlgeneral_types_ops -sect.
- ^ , Publications, IBM, http://www.ibm.com/shop/publications/ order?CTY=US&FNC=SRX&PBL=SC23 -7750-04.
- ^ "3: Understanding SQL Data Types", SQL Reference Guide, Doucments, Ingres, http://docs.ingres.com/Ingres/9.3/SQL %20Reference%20Guide/understandingsql datatypes.htm#o3623.
- ^ "SQL Server Data Types", Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms187752.aspx.
- ^ "SQL Server Compact Data Types", Library, MSDN, Microsoft, http://msdn.microsoft.com/en-us/libra ry/ms172424.aspx.
- ^ "10. Data Types", Reference manual, MySQL, Oracle, http://dev.mysql.com/doc/refman/5.0/e n/data-types.html.
- ^ "Datatypes", SQL Reference, OpenLink Software, http://docs.openlinksw.com/virtuoso/s qlrefDATATYPES.html.
- ^ "Data Types", SQL Reference, Server documents, Oracle, http://download.oracle.com/docs/cd/E1 1882_01/server.112/e10592/sql_element s001.htm#i45441
- ^ "Data Types", Manual, Documents, PostgreSQL community, http://www.postgresql.org/docs/8.4/in teractive/datatype.html.
- ^ "Defining a Database", SQL Reference, Raima, http://docs.raima.com/rdme/10_1/Conte nt/SQL/Chapter4.htm#Create_Domain
- ^ "Defining Table Columns", SQL Reference, Raima, http://docs.raima.com/rdms/8_3/Conten t/UG/Chapter6.htm#6.3.3.3_Define_Tabl e_Columns
- ^ Datatypes, SQLite, http://www.sqlite.org/datatype3.html.
- ^ "Release", Documents, Developer, PostgreSQL community, http://developer.postgresql.org/docs/ postgres/release.html#RELEASE-8-1.
- ^ "5.11 Database Unions", User's Guide, Raima, http://docs.raima.com/rdme/10_1/Conte nt/UG/Chapter5.htm#5.11_Database_Unio ns.
- ^ Support, Downloads, Sybase, http://downloads.sybase.com/swd/base. do?client=support.
- ^ "Release", Engine, Development, Firebird SQL, http://www.firebirdsql.org/index.php? op=devel&sub=engine&id=fb20_r elease.
- ^ Files, Firebird SQL, http://www.firebirdsql.org/index.php? op=files.
- ^ "Downloads", Development, MySQL, Oracle, http://dev.mysql.com/downloads/.
- ^ Security, Support, PostgreSQL community, http://www.postgresql.org/support/sec urity.html.
- ^ Download, SQLite, http://www.sqlite.org/download.html.
- ^ DB, Products, Common Criteria Portal, http://www.commoncriteriaportal.org/p roducts_DB.html#DB.
- ^ Backup MySQL, How to, Gentoo wiki, http://gentoo-wiki.com/HOWTO_Backup_M ySQL.
- ^ Authentication methods, Documents, PostgreSQL community, http://www.postgresql.org/docs/8.4/in teractive/auth-methods.html.
- ^ Common Criteria (CC, ISO15408), Microsoft, http://www.microsoft.com/en-us/sqlser ver/common-criteria.aspx#tab6.
External links |
---|
| | | Concepts | |
---|
| Objects | |
---|
| Components | |
---|
| Functions | |
---|
| |
|
|
| |