Posts

Instance in DBMS

1 min read

What is an instance in DBMS?

 

The situation where a data or information is stored in the database at a particular moment of time is called an instance. An instance is also called a current state or database state. The database schema that defines variables in tables which belong to a specific database, the records of these variables at a particular moment are called the instance of the database.

Many instances are constructed to correspond to a specific database schema. Every time we can insert, modify, or delete the value of a data item in a record. One state of data can change into another state.

Example

Consider a table given below which has the Student (Schema) −

Std IDNameCity
100LuckyHyderabad
101PinkyDelhi
102BobHyderabad

In the above table, rows are called instances.

Finally, we can say that the content of database at a point of time is called instance or database state.

There are three types of states present in database −

  • Empty state: When ever a new database is defined.

  • Initial state: first time data is loaded in database.

  • Current state: the present operation is applied to database.

The instance of a student relation is −

For example − students ( studentID: string, student_name: string, Login:string, age: integer);

Instance −

studentIDStudent_nameLoginAge
101Bobbob@cse20
105Pinkypink@ece18
107Rosyrose@it20

You may like these posts

  •  ConstraintsIntegrity constraints are a set of rules. It is used to maintain the quality of information.Integrity constraints ensure that the data insertion, updating, and oth…
  •  Generalization, Specialization and Aggregation in ER ModelGeneralization – Generalization is the process of extracting common properties from a set of entities and creat…
  •  ER modelER model stands for an Entity-Relationship model. It is a high-level data model. This model is used to define the data elements and relationship for a specified syste…
  • Entity, Entity Type, Entity Set – An Entity may be an object with a physical existence – a particular person, car, house, or employee – or it may be an object with a conceptua…
  •  View of data in DBMSAbstraction is one of the main features of database systems. Hiding irrelevant details from user and providing abstract view of data to users, helps in ea…
  •  DBMS Architecture 1-level, 2-Level, 3-LevelA Database store a lots of critical information to access data quickly and securely. Hence it is important to select a correct Arch…

Post a Comment

© 2025DBMS. The Best Codder All rights reserved. Distributed by