Information Schema Compatibility Table
Information Schema Compatibility Table(s)
Compares the information_schema of some of the major databases that implement the information_schema standard.
information_schema
information_schema
is an ANSI-standard set of read-only views that provide information about all of the tables, views, columns, and procedures in a database.
Specifically, the specification for the information_schema views are published in ISO/IEC 9075. This standard has several versions.
These facts implies several crucial points:
Naturally, most databases that implement information_schema
a subset of the standard’s views, add extra database-specific views, and stuff otherwise-standard views with database-specific columns.
This makes information_schema
a highly-nonstandard standard. Thinking of information_schema
as a convention might be more accurate.
(╯°□°)╯︵ ┻━┻
I’d like to use information_schema
more. Before I do that, however, I’d like to know what views and columns are in the standard or better yet, what views and columns are actually in each database’s information_schema
.
I scrape at the public documentation where the documentation licenses allow.
I also run databases without restrictive EULAs and observe those databases’ information_schema
tables directly.
I prioritize the most popular databases that implement an information_schema
according to 2024 Stack Overflow Developer Survey
database name | % of respondents use | documentation scraped | information_schema queried directly |
---|---|---|---|
postgres |
49% | YES | YES |
mysql |
40% | NO | YES |
mssql |
25% | YES | NO |
mariadb |
17% | YES | YES |
cockroachdb |
YES | TODO | |
tidb |
YES | TODO |
If note a missing database that implements information_schema
or evidence of incorrect information, please create a pull request with a fix!
See ./CONTRIBUTING.md
for more details.