information_schema.statistics.cardinality

mysql

type: BIGINT NULL
5.7-8

mariadb

type: NULL
Note:
Estimate of the number of unique values stored in the index based on statistics stored as integers. Higher cardinalities usually mean a greater chance of the index being used in a join. Updated by the ANALYZE TABLE statement or myisamchk -a.
© 2022 MariaDB
5.1-10.8

tidb

type: BIGINT(21) NULL
Note:
TiDB does not use this field. The field value is always 0.
© 2022 PingCAP
5-6.1
Note:
The estimated number of unique values ​​in the index. To update this value, execute ANALYZE TABLE.
© 2022 PingCAP
4

postgres

cockroachdb

type: unknown
Note:
Always NULL (unsupported by CockroachDB).
© 2022 CockroachDB
1-21.2

mssql