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

  •  Fragmentation in Distributed DBMSFragmentation is a process of dividing the whole or full database into various subtables or sub relations so that data can be stored in diffe…
  •  Data Replication in DBMSData Replication is the process of storing data in more than one site or node. It is useful in improving the availability of data. It is sim…
  •  Data Allocation in Distributed Database Designthere is a need for a well-maintained database to maintain its functionality. Earlier, databases used to be centralized in natur…
  •  Transaction propertyThe transaction has the four properties. These are used to maintain consistency in a database, before and after the transaction.Property of TransactionAto…
  •  Distributed DBMS ArchitecturesThere are three alternative approaches to separating functionality across different DBMS-related processes; these alternative distributed DBMS a…
  •  A transaction is an action or series of actions that are being performed by a single user or application program, which reads or updates the contents of the database.A transa…

Post a Comment

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