Professional Documents
Culture Documents
01 Modul SchemaConcept - EN
01 Modul SchemaConcept - EN
Schemas
1
Object hierarchy
Root-
User Role Connection
Catalog
2 Schemas ACADEMY
Object hierarchy
– Dropping schemas
3 Schemas ACADEMY
Manage schemas
5 Schemas ACADEMY
– Schema SYS
– Metadata
– current system status
SELECT * FROM SYS.EXA_ALL_OBJECTS;
SELECT * FROM EXA_ALL_OBJECTS;
– Schema EXA_STATISTICS
– Statistical metadata
– Resource usage
– Database status
SELECT * FROM EXA_STATISTICS.EXA_DB_SIZE_LAST_DAY;
SELECT * FROM EXA_DB_SIZE_LAST_DAY;
6 Schemas ACADEMY
System schemas
They are integrated in the current namespace, so no prefix is needed to access them from
any schema.
The schema SYS contains metadata and the current system status.
– EXA_SCHEMAS
– List of all existing schemas of the database
– Available for all users
– Important columns: SCHEMA_NAME, SCHEMA_OWNER
– EXA_SCHEMA_OBJECTS
– List of all objects in the currently opened schema
– Available for all users
– Important columns: OBJECT_NAME, OBJECT_TYPE
– Types: TABLE | VIEW | FUNCTION | SCRIPT
7 Schemas ACADEMY
Virtual Schema
8 Schemas ACADEMY
Virtual schemas