
- DBMS Tutorial
- DBMS - Home
- DBMS - Overview
- DBMS - Architecture
- DBMS - Data Models
- DBMS - Data Schemas
- DBMS - Data Independence
- Entity Relationship Model
- DBMS - ER Model Basic Concepts
- DBMS - ER Diagram Representation
- DBMS - Generalization, Aggregation
- Relational Model
- DBMS - Codd's Rules
- DBMS - Relational Data Model
- DBMS - Relational Algebra
- DBMS - ER to Relational Model
- DBMS- SQL Overview
- Relational Database Design
- DBMS - Database Normalization
- DBMS - Database Joins
- Storage and File Structure
- DBMS - Storage System
- DBMS - File Structure
- Indexing and Hashing
- DBMS - Indexing
- DBMS - Hashing
- Transaction And Concurrency
- DBMS - Transaction
- DBMS - Concurrency Control
- DBMS - Deadlock
- Backup and Recovery
- DBMS - Data Backup
- DBMS - Data Recovery
- DBMS Useful Resources
- DBMS - Quick Guide
- DBMS - Useful Resources
- DBMS - Discussion
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 ID | Name | City |
---|---|---|
100 | Lucky | Hyderabad |
101 | Pinky | Delhi |
102 | Bob | Hyderabad |
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 −
studentID | Student_name | Login | Age |
101 | Bob | bob@cse | 20 |
105 | Pinky | pink@ece | 18 |
107 | Rosy | rose@it | 20 |
- Related Articles
- What is instance and schema (DBMS)?
- What is an ER model in DBMS?
- What is an expression tree in DBMS?
- What is an Entity relationship model in DBMS?
- What is an optimistic concurrency control in DBMS?
- What is Instance-based representation?
- What is Decomposition in DBMS?
- What is 4NF in DBMS?
- What is RAID in DBMS?
- What is instance variable hiding in Java?
- What is Hierarchical model in DBMS?
- What is functional dependency in DBMS?
- What is Data Independence in DBMS?
- What is Transitive dependency in DBMS?
- What is multivalued dependency in DBMS?
