1. Home
  2. Docs
  3. Chapter 14. Database Design & Engineering
  4. 2. Database Designer’s Guide
  5. Using Partial table

Using Partial table

Download PDF

In a one-to-one identifying relationship, an entity may be a subordinate of the related entity; that is, the subordinate entity has columns which also belong to its superior entity in the real world situation. Visual Paradigm promotes the idea of Split Table with stereotype of Partial which allows developers to optimize the size of database, and minimizes the redundant persistent classes for handling one-to-one identifying relationship. In order to reduce the risk of appending a new column to an existing database table, Split table supports developers to add new columns to the partial table with a one-to-one identifying relationship linked to the existing table. Visual Paradigm allows you to split the entity into two and convert the subordinate entity to be a Partial Table in a one-to-one identifying relationship.

Splitting Table

You can split an entity into two associated entities with a one-to-one identifying relationship. There are two ways you can take to split a table.

Using popup menu

  1. Right click on an entity.
  2. Select Split Table from the popup menu.
    Split table

Using Resource Catalog

  1. Move the mosue pointer over an entity.
  2. Press on the Resource Catalog button and drag it out.
    Split table using resource-centric interface
  3. Release the mouse button and select One-to-One Relationship -> Partial Table from Resource Catalog.
    Select One-to-One Relationship -> Partial Table” width=”432″ height=”174″ border=”0″></li>
</ol>
<p>Both ways will result in popping up the <strong>Split Table</strong> window. In the window, enter the name of the new entity and select the columns from the list of <strong>Original</strong> to <strong>Partial</strong>, and click <strong>OK</strong>.<br />
<img decoding=

    An entity stereotyped <<Partial>> is created.
    Partial table created

    Converting to a Partial table

    You can convert an entity to a Partial Table in a one-to-one identifying relationship.

    1. Right click on the entity.
    2. Select Convert to Partial Table from the popup menu.
      Convert to Partial TableThe entity is stereotyped <<Partial>>.
      Partial table converted