Open In App

Metadata in DBMS and it’s types

Metadata is simply defined as data about data. It means it is a description and context of the data. It helps to organize, find and understand data. Let me explain to you by giving a real-world example of metadata: 

Every time you take a photo with today’s cameras a bunch of metadata is gathered and saved with it. Such as



Meta data in Relational database: 
Relational databases store and provide access not only to data but also metadata in a structure called data dictionary or system catalog. It holds information about:

Data dictionary:



Accessing metadata in RDBMS: 
RDBMS provides access to their metadata with a set of tables or views often called system catalog or data dictionary. We can access those views using plain SQL statements. 

Example:

select * 
from tables

Types of Metadata: 
There are several sorts of metadata consistent with their uses and domain.

  1. Technical Metadata – 
    This type of metadata defines database system names, tables names, table size, data types, values, and attributes. Further technical metadata also includes some constraints like foreign key, primary key, and indices.
  2. Business Metadata – 
    It consists of the ownership of data, changing policies, business rules and regulations, and other business details. This type of metadata is said to a specific business.
  3. Descriptive Metadata – 
    Descriptive metadata describes any file, folder, book, image, or video. It may include details of knowledge like title, author, date, size, author name, published on, and similarly others.
  4. Operational Metadata – 
    This type includes the info which is currently under any operation. Besides, it represents the data that is used by executive-level managers to perform any task. Also, this sort of metadata is often purged, archived, or activated and may even be migrated.

Metadata in terms of data warehouse: 
In terms of data warehouse, we can define metadata as follows:

Article Tags :