In Oracle, a schema is a group of database objects equivalent to tables, views, indexes, and saved procedures that belong to a specific consumer or group of customers. The schema measurement refers back to the quantity of cupboard space that’s occupied by these objects. Checking the schema measurement is vital for a number of causes. It helps make sure that the database is just not working out of house and that the information is being saved effectively. Moreover, it may possibly assist determine any unused or pointless objects that may be eliminated to unlock house. There are a number of methods to verify the schema measurement in Oracle. One widespread methodology is to make use of the next question:
SELECT proprietor, tablespace_name, SUM(bytes) AS schema_sizeFROM dba_segmentsWHERE proprietor = ‘USERNAME’GROUP BY proprietor, tablespace_name;