Defining PostgreSQL Table Statistics
The following properties are applicable to a PostgreSQL Table Statistics object.
Tab |
Section |
Property |
Description |
---|---|---|---|
|
|
Name |
Specifies the name of the statistics object to be created |
|
|
If Not Exists |
Specifies that if the statistics already exist, no exception is thrown, and no action happens |
|
|
Generate |
Specifies whether a SQL statement for the access method is generated during forward engineering |
General |
Statistics Options |
Statistics Kind Dependencies |
Specifies whether to enable functional dependency statistics |
Statistics Kind Mcv |
Specifies whether to enable the most-common values lists |
||
Statistics Kind Ndistinct |
Specifies whether to enable n-distinct statistics |
||
Column Members |
Columns |
Specifies the name of a table column to be covered by the computed statistics. This is only allowed when building multivariate statistics. At least two column names or expressions must be specified, and their order is not significant |
|
Statistics Column Expression |
|
Specifies an expression to be covered by the computed statistics. This may be used to build univariate statistics on a single expression, or as part of a list of multiple column names and/or expressions to build multivariate statistics |
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The statistics is defined and the PostgreSQL Table Statistics Editor closes.
For more information, refer to PostgreSQL documentation.
Copyright © 2024 Quest Software, Inc. |