Professional Documents
Culture Documents
PowerDesigner
Default link on
creation:
Primary key
Reference links Primary key
columns to foreign key columns at
creation
Default link on
creation: User-
defined
No columns are linked at creation.
No joins are created.
Default
implementation
Indicates how referential integrity is
implemented in the reference. You
can choose Declarative if you wish
to define referential integrity for
particular references, or you can
choose Trigger if you want
referential integrity to be
implemented by triggers
Package check
During a package check, the following object controls are made.
Object parameters verified during check model
278 PowerDesigner
Circular reference
A circular reference occurs when a table refers to another table, and so on
until a loop is created between tables. A package cannot contain circular
references.
Manual correction Automatic correction
Resolve the circular reference by
correcting the reference, deleting
its source, or clearing the
Mandatory parent or Check on
commit option
User check
During a user check, the following object controls are made.
User name and code uniqueness
A model cannot contain two users with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated user
name/code
Modifies the user name/code of a selected
object by appending a number to its current
name
Object parameters verified during check model
280 PowerDesigner
User code length
The user code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsUser category).
Manual correction Automatic correction
Modify the user code length to
meet this requirement
Truncates the user code length to the
maximum length specified in the DBMS
definition
User password empty
Users must have a password to be able to connect to the database.
Manual correction Automatic correction
Define a password for the user
Group check
During a group check, the following object controls are made.
Group name and code uniqueness
A model cannot contain two groups with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated group
name/code
Modifies the group name/code of a selected
object by appending a number to its current
name
Existence of user
A group is created to factorize privilege and permission granting to users. A
group without user members is useless.
Manual correction Automatic correction
Add users to group or delete group Deletes unassigned group
Chapter 6 Working with Physical Data Models
PDM User's Guide 281
Group code length
The group code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsGroup category) or in the
naming conventions of the model options.
Manual correction Automatic correction
Modify the group code length to
meet this requirement
Truncates the group code length to the
maximum length specified in the DBMS
definition
Group password empty
Groups must have a password to be able to connect to the database (for those
DBMS that support passwords for groups.)
Manual correction Automatic correction
Define a password for the group
Role check
During a role check, the following object controls are made.
Role name and code uniqueness
A model cannot contain two roles with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated role
name/code
Modifies the role name/code of a selected
object by appending a number to its current
name
Existence of user or role
A role is used to create predefined profile that can be assigned to users or
roles. A role that is not assigned to any user or role is useless.
Manual correction Automatic correction
Assign role to users or delete role Deletes unassigned role
Object parameters verified during check model
282 PowerDesigner
Role code length
The role code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsRole category) or in the
naming conventions of the model options.
Manual correction Automatic correction
Modify the role code length to
meet this requirement
Truncates the role code length to the
maximum length specified in the DBMS
definition
Domain check
During a domain check, the following object controls are made.
Domain name and code uniqueness
A model cannot contain two domains with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated domain
name/code
Modifies the domain name/code of a
selected object by appending a number to its
current name
Domain code length
The domain code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsDomain category) or in the
naming conventions of the model options.
Manual correction Automatic correction
Modify the domain code length to
meet this requirement
Truncates the domain code length to the
maximum length specified in the DBMS
definition
Inconsistency in check parameters
The values entered in the check parameters page are inconsistent for numeric
and string data types: default does not respect minimum and maximum
values, or default does not belong to list of values, or values in list are not
included in minimum and maximum values, or minimum is greater than
maximum value. Check parameters must be defined consistently.
Chapter 6 Working with Physical Data Models
PDM User's Guide 283
Manual correction Automatic correction
Modify default, minimum,
maximum or list of values in the
check parameters page
Column check
During a column check, the following object controls are made.
Column name and code uniqueness
A table cannot contain two columns with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated name/code Modifies the column name/code of a
selected object by appending a number to its
current name
Column code length
The column code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsColumn category) or in the
naming conventions of the model options.
Manual correction Automatic correction
Modify the column code length to
meet this requirement
Truncates the code length to the maximum
length specified in the DBMS definition
Chapter 6 Working with Physical Data Models
PDM User's Guide 287
Domain divergence
Divergence is verified between columns, domains, and data types. Various
checks and attributes are also examined. The Enforce non divergence check
box in Model Options must be cleared.
Manual correction Automatic correction
Select the Enforce non divergence
check box in Model Options to
enforce non divergence
Restores divergent attributes from domain
to column (domain values overwrite column
values)
Column mandatory
In some DBMS, the columns included in a key or a unique index should be
mandatory.
Manual correction Automatic correction
Select the Mandatory check box in
the column property sheet
Makes the column mandatory
Inconsistency in check parameters
The values entered in the check parameters page are inconsistent for numeric
and string data types: default does not respect minimum and maximum
values, or default does not belong to list of values, or values in list are not
included in minimum and maximum values, or minimum is greater than
maximum value. Check parameters must be defined consistently.
Manual correction Automatic correction
Modify default, minimum,
maximum or list of values in the
check parameters page
Existence of permission
Permissions are usage restrictions set on a column for a particular user, group
or role.
Manual correction Automatic correction
Define permissions on the column
for users, groups and roles
Index check
During an index check, the following object controls are made.
Index name and code uniqueness
Depending on the DBMS, a model or a table cannot contain two indexes with
identical name and/or code.
Manual correction Automatic correction
Modify the duplicated index
name/code
Modifies the index name/code of a selected
object by appending a number to its current
name
Index code length
The index code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsIndex category) or in the
naming conventions of the model options.
Manual correction Automatic correction
Modify the index code length to
meet this requirement
Truncates the index code length to the
maximum length specified in the DBMS
definition
Object parameters verified during check model
290 PowerDesigner
Existence of index column
An index must have at least one index column.
Manual correction Automatic correction
Add an index column from the
Column page of the index property
sheet or delete the index
Deletes the index without column
Index inclusion
An index should not include another index.
Manual correction Automatic correction
Delete the index that includes an
existing index
Key check
During a key check, the following object controls are made.
Chapter 6 Working with Physical Data Models
PDM User's Guide 293
Key name and code uniqueness
A model cannot contain two keys with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated key
name/code
Modifies the key name/code of a selected
object by appending a number to its current
name
Key code length
The key code length is limited by the maximum length specified in the
DBMS definition (MaxConstLen entry, in the ObjectKey category).
Manual correction Automatic correction
Modify the key code length to meet
this requirement
Truncates the key code length to the
maximum length specified in the DBMS
definition
Key column exists
Each key must have at least one column.
Manual correction Automatic correction
Add a column to the key from the
Column page of the key property
sheet
Deletes key without column
Key inclusion
A key cannot include another key (on some columns, regardless of their
order).
Manual correction Automatic correction
Delete the key that includes an
existing key
Trigger check
During a key check, the following object controls are made.
Trigger name and code uniqueness
A model cannot contain two triggers with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated trigger
name/code
Modifies the trigger name/code of a selected
object by appending a number to its current
name
Trigger code length
The trigger code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsTrigger category).
Manual correction Automatic correction
Modify the trigger code length to
meet this requirement
Truncates the trigger code length to the
maximum length specified in the DBMS
definition
Reference check
During a reference check, the following object controls are made.
Chapter 6 Working with Physical Data Models
PDM User's Guide 295
Reference name and code uniqueness
A model cannot contain two references with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated reference
name/code
Modifies the reference name/code of a
selected object by appending a number to its
current name
Reference code length
The reference code length is limited by the maximum length specified in the
DBMS definition (MaxConstLen entry, in the ObjectReference category)
or in the naming conventions of the model options.
Manual correction Automatic correction
Modify the reference code length
to meet this requirement
Truncates the reference code length to the
maximum length specified in the DBMS
definition
Reflexive mandatory reference
A reflexive reference exists should not have a mandatory parent which could
lead to inconsistent joins.
Manual correction Automatic correction
Correct the reference by clearing
the Mandatory parent check box
Join order
The join order must be the same as the key column order for some DBMS.
Manual correction Automatic correction
If required, change the join order
to reflect the key column order
The join order is changed to match the key
column order
During a reference check, the following object controls are made.
View reference check
During a view reference check, the following object controls are made.
View reference name and code uniqueness
A model cannot contain two view references with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated view
reference name/code
Modifies the view reference name/code of a
selected object by appending a number to its
current name
Existence of view reference join
A view reference must have at least one view reference join.
Manual correction Automatic correction
Create a view reference join for the
view reference or delete the
reference
Deletes view reference without join
Chapter 6 Working with Physical Data Models
PDM User's Guide 297
View check
During a view check, the following object controls are made.
View name and code uniqueness
A model cannot contain two views with identical name and/or code.
Manual correction Automatic correction
Modify the duplicated view
name/code
Modifies the view name/code of a selected
object by appending a number to its current
name
View code length
The view code length is limited by the maximum length specified for the
table code length.
Manual correction Automatic correction
Modify the view code length to
meet this requirement
Truncates the view code length to the
maximum length specified in the DBMS
definition
Existence of permission
Permissions are usage restrictions set on a view for a particular user, group or
role.
Manual correction Automatic correction
Define permissions on the view for
users, groups and roles
Existence of parameter
A package procedure must contain parameters for input and output values.
Manual correction Automatic correction
Create one or several parameters
in the Parameters page of the
package procedure property sheet
Existence of parameter
A cursor must contain parameters for input values.
Manual correction Automatic correction
Create one or several parameters
in the Parameters page of the
cursor property sheet
Existence of permission
Permissions are usage restrictions set on a procedure for a particular user,
group or role.
Manual correction Automatic correction
Define permissions on the
procedure for users, groups and
roles
Existence of fact
A cube must be associated to a fact.
Manual correction Automatic correction
Click the Ellipsis button beside
the Fact box in the cube property
sheet, and select a fact from the
List of Facts
Duplicated hierarchies
Dimensions should not have duplicated hierarchies, that is to say hierarchies
organizing identical attributes.
Manual correction Automatic correction
Remove one of the duplicated
hierarchies
Attribute check
During an attribute check, the following object controls are made.
Attribute name and code uniqueness
A model cannot contain two attributes with identical name and/or code.
Manual correction Automatic correction
Rename one of the attributes Renames the attribute object by appending a
number to its name
Dimension hierarchy check
During a dimension hierarchy check, the following object controls are made.
Dimension hierarchy name and code uniqueness
A model cannot contain two dimension hierarchies with identical name
and/or code.
Manual correction Automatic correction
Rename one of the dimension
hierarchies
Renames the dimension hierarchy object by
appending a number to its name
Object parameters verified during check model
314 PowerDesigner
Existence of attribute
A dimension hierarchy must have at least one attribute.
Manual correction Automatic correction
Add an attribute to the hierarchy
from the Attributes page of the
hierarchy property sheet
Association check
During an association check, the following object controls are made.
Association name and code uniqueness
A model cannot contain two associations with identical name and/or code.
Manual correction Automatic correction
Rename one of the associations Renames the association object by appending
a number to its name
Existence of hierarchy
An association must use a hierarchy.
Manual correction Automatic correction
Select a hierarchy in the
Hierarchy dropdown listbox in
the association property sheet
Replication check
During a replication check, the following object controls are made.
Partial replication
A replica object is partially synchronized with its replicated object.
Manual correction Automatic correction
Modify the list of replicated
attributes from the replication
property sheet
Enforces the replication of desynchronized
attributes of the replica object in the
replication property sheet
Default check
During a default check, the following object controls are made.
Chapter 6 Working with Physical Data Models
PDM User's Guide 317
Default name and code uniqueness
A model cannot contain two defaults with identical name and/or code.
Manual correction Automatic correction
Rename one of the defaults Renames the default object by appending a
number to its name
Default code maximum length
The default code length is limited by the maximum length specified in the
DBMS definition (MaxLen entry, in the ObjectsDefault category).
Manual correction Automatic correction
Modify the default code length to
meet this requirement
Truncates the default code length to the
maximum length specified in the DBMS
definition
Default value empty
You must type a value for the default, this value is used during generation.
Manual correction Automatic correction
Type a value in the Value box of
the default property sheet
Storage check
During a storage check, the following object controls are made.
Object parameters verified during check model
318 PowerDesigner
Storage name and code uniqueness
A model cannot contain two storages with identical name and/or code.
Manual correction Automatic correction
Rename one of the storages Renames the default object by appending a
number to its name
Storage not used
The storage you have created is not used in the model.
Manual correction Automatic correction
Delete the storage or apply the
storage as a physical option to a
table, an index, a key, a column, a
tablespace or a view (Options page
of the object property sheet)
Tablespace check
During a tablespace check, the following object controls are made.
Tablespace name and code uniqueness
A model cannot contain two tablespaces with identical name and/or code.
Manual correction Automatic correction
Rename one of the tablespaces Renames the default object by appending a
number to its name
Chapter 6 Working with Physical Data Models
PDM User's Guide 319
Tablespace not used
The tablespace you have created is not used in the model.
Manual correction Automatic correction
Delete the tablespace or apply the
tablespace as a physical option to a
table, an index, a key, a column, a
storage or a view (Options page of
the object property sheet)