BCA / B.Tech 4 min read

What is a Database Instance?

What is an Instance in DBMS?

A database Instance is the state of a database at a particular moment in time. It is a snapshot of the data in the database as it exists at that moment. Every time the data is added, modified, or deleted, the instance of the database changes.

Instance vs. Schema:
  • Schema: The schema is the logical blueprint or structure of the database. It defines the tables, columns, data types, and relationships. The schema is static and does not change frequently.
  • Instance: The instance is the actual data contained in the database at a specific point in time. It is dynamic and changes whenever a transaction modifies the data.

In simple terms, the schema is the design, and the instance is the data that fits into that design at any given moment.