30 Jan 2020

  • January 30, 2020
  • Amitraj
Instance -  

The data stored in database at a particular moment of time is called instance of database. 
Database schema defines the variable declarations in tables that belong to a particular database; the value of these variables at a moment of time is called the instance of that database.


for example, lets say we have a single table student in the database, today the table has 100 records, so today the instance of the database has 100 records. Lets say we are going to add another 100 records in this table by tomorrow so the instance of database tomorrow will have 200 records in table. In short, at a particular moment the data stored in database is called the instance, that changes over time when we add or delete data from the database.




Schema -  

Design of a database is called the schema. Schema is of three types: Physical schema, logical schema and view schema.

-> A relation schema describes the relation name (table name), attributes, and their names.







1. A physical schema can be defined as the design of a database at its physical level. In this level, it is expressed how data is stored in blocks of storage.

2. Design of database at logical level is called logical schema, programmers and database administrators work at this level, at this level data can be described as certain types of data records gets stored in data structures, however the internal details such as implementation of data structure is hidden at this level (available at physical level).

3. Design of database at view level is called view schema. This generally describes end user interaction with database systems.



Related Posts:

  • Data Abstraction in DBMS Data Abstraction - The main purpose of database system is to provide users with an abstract view of the system. The system hide certain detail of how data is store, created and manipulated complexity should be hidden b… Read More
  • Data Independence in DBMS : Physical & Logical With Examples Data Independence - -> Data independence can be explained using the three-schema architecture. -> Data independence is ability to modify a schema definition in one level without affecting a schema definition i… Read More
  • Mapping Constraints and Keys in DBMS Mapping Constraints - A mapping constraint is a data constraint that expresses the number of entities to which another entity can be related via a relationship set. It is most useful in describing the relationship sets tha… Read More
  • What is Database Administrator (DBA) in DBMS ? Database Administration - Database administration refers to the whole set of activities performed by a database administrator to ensure that a database is always available as needed. Other closely related tasks and roles ar… Read More
  • Structure Of DBMS : Database Management System Structure Of DBMS - DBMS (Database Management System) acts as an interface between the user and the database. The user requests the DBMS to perform various operations (insert, delete, update and retrieval) on the database.… Read More

Translate

Popular Posts