---
title: "RDBMS: Schema Vs Instance Top Differences"
description: "Schema in RDBMS. A schema is a collection of named database objects. Schemas provide a way to logically classify objects such as tables, views, triggers, routines, or packages. A schema name is used a..."
url: https://srinimf.com/2014/11/01/dbms-database-schema-and-instance/
date: 2014-11-01
modified: 2026-10-10
author: "Srini"
categories: ["DB2"]
tags: ["DB2 Tips and Solutions"]
type: post
lang: en
---

# RDBMS: Schema Vs Instance Top Differences

## Schema in RDBMS

A schema is a collection of named database objects. Schemas provide a way to logically classify objects such as tables, views, triggers, routines, or packages. A schema name is used as the first part of a two-part object name.

For example, if the EMPLOYEE table is created under the schema name JENNIFER, the qualified name of this table object is JENNIFER.EMPLOYEE and other tables named EMPLOYEE can be created in the same database, as long as they are created under different schemas.

Schemas are used to enforce uniqueness within a database. If users will be sharing database objects, grouping those objects under a separate schema can be a good idea. If no schema name is explicitly specified when a database object is created, the default schema name is used.

Related[DB2 Schema creating process for a User](https://srinimf.com/2016/06/14/db2-schema-creating-process-for-a-user/)

**Physical Database Schema:** This schema pertains to the actual storage of data and its form of storage like files, indices, etc. It defines how data will be stored in secondary storage etc.

Logical Database Schema: This defines all logical constraints that need to be applied to data stored. It defines tables, views and integrity constraints, etc.

## **Database Instance**

Database instances are a state of operational database with data at any given time. This is a snapshot of the database.

Database instances tend to change with time. DBMS ensures that it is every instance (state) must be a valid state by keeping up to all validation, constraints, and condition that database designers have imposed or it is expected from DBMS itself.

Related Posts

- [DB2 Schema creating process for a User](https://srinimf.com/2016/06/14/db2-schema-creating-process-for-a-user/)DateJune 14, 2016
- [DB2 Schema quick tutorial](https://srinimf.com/2015/12/12/are-you-ready-to-know-db2-schema-read-this-3-key-points/)DateDecember 12, 2015
- [A Comprehensive Overview of DB2 Catalog Table Schemas](https://srinimf.com/2023/12/17/db2-sysibm-catalog-tables-key-points-read-today-how-these-are-modified/)DateDecember 17, 2023

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2014%2F11%2F01%2Fdbms-database-schema-and-instance%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2026%2F02%2Fcropped-logo.png%3Ffit%3D96%252C96%26ssl%3D1&description=RDBMS%3A%20Schema%20Vs%20Instance%20Top%20Differences)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2014/11/01/dbms-database-schema-and-instance/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2014/11/01/dbms-database-schema-and-instance/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2014/11/01/dbms-database-schema-and-instance/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2014/11/01/dbms-database-schema-and-instance/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20RDBMS%3A%20Schema%20Vs%20Instance%20Top%20Differences&body=https%3A%2F%2Fsrinimf.com%2F2014%2F11%2F01%2Fdbms-database-schema-and-instance%2F&share=email)
-

### Like this:

Like Loading…
