Wednesday, 3 August 2016

[DBMS] Table schema meta table (DBMS별 테이블 스키마 테이블)

DBMSTABLE
H2INFORMATION>SCHEMA.TABLES
DerbyDBSYS.SYSTABLES
JavaDBSYS.SYSTABLES
MySQLinformation_schema.TABLES
MariaDBinformation_schema.TABLES
OracleSYS.ALL_TABLES

H2

COLUMNDATA_TYPE
TABLE_CATALOGVARCHAR
TABLE_SCHEMAVARCHAR
TABLE_NAMEVARCHAR
TABLE_TYPEVARCHAR
STORAGE_TYPEVARCHAR
SQLVARCHAR
REMARKSVARCHAR
LAST_MODIFICATIONBIGINT
IDINTEGER
TYPE_NAMEVARCHAR
TABLE_CLASSVARCHAR

MySQL(MariaDB)

COLUMNDATA_TYPE
TABLE_CATALOGVARCHAR(512)
TABLE_SCHEMAVARCHAR(64)
TABLE_NAMEVARCHAR(64)
TABLE_TYPEVARCHAR(64)
ENGINEVARCHAR(64)
VERSIONBIGINT(21) unsigned
ROW_FORMATVARCHAR(10)
TABLE_ROWSBIGINT(21) unsigned
AVG_ROW_LENGTHBIGINT(21) unsigned
DATA_LENGTHBIGINT(21) unsigned
MAX_DATA_LENGTHBIGINT(21) unsigned
INDEX_LENGTHBIGINT(21) unsigned
DATA_FREEBIGINT(21) unsigned
AUTO_INCREMENTBIGINT(21) unsigned
CREATE_TIMEdatetime
UPDATE_TIMEdatetime
CHECK_TIMEdatetime
TABLE_COLLATIONVARCHAR(32)
CHECKSUMBIGINT(21) unsigned
CREATE_OPTIONSVARCHAR(255)
TABLE_COMMENTVARCHAR(2048)

No comments:

Post a Comment