DBMS | Strategies for Schema design

There are the various strategies which are considered while designing schema. Most of these strategies follow an incremental approach that is, they must start with some schema constructs derived from the requirements and then they incrementally modify, refine or build on them. Let’s discuss some of these strategies:

  1. Top-down strategy –
    In this strategy, we basically start with a schema that contents high-level of abstraction and then applies successive top-down refinement. Let’s try to understand this with an example, we may specify only a few level entities types and then we specify their attributes split them into lower-level entity types and relationship. The process of specialization to refine an entity type into subclass is also an example of this strategy.

  2. Bottom-up strategy –
    In these type of strategy, we basically start with basic abstraction and then goes on adding to these abstraction. For example, we may start with attributes and group these into entity types and relationships. We can also add a new relationship among entity types as the design go ahead. The basic example is the process of generalizing entity types into the higher-level generalized superclass.

  3. Inside-Out Strategy –
    This is a special case of a bottom-up strategy when attention is basically focused on a central set of concepts that are most evident. Modeling then basically spreads outward by considering new concepts in the vicinity of existing ones. We could specify a few clearly evident entity types in the schema and continue by adding other entity types and relationship that are related to each other.

  4. Mixed Strategy –
    Instead of using any particular strategy throughout the design the requirements are partitioned according to a top-down strategy and part of the schema is designed for each partition according to a bottom-up strategy after that various schema are combined.

This article is attributed to GeeksforGeeks.org

You Might Also Like

leave a comment



load comments

Subscribe to Our Newsletter