How to create a design
There are three ways to create a design using Database Designer:
-
From Management Console, open a database and select the Design page at the bottom of the window.
For details about using Management Console to create a design, see Creating a database design in Management Console
-
Programmatically, using the techniques described in About Running Database Designer Programmatically. To run Database Designer programmatically, you must be a DBADMIN or have been granted the DBDUSER role and enabled that role.
-
From the Administration Tools menu, by selecting Configuration Menu > Run Database Designer. You must be a DBADMIN user to run Database Designer from the Administration Tools.
For details about using Administration Tools to create a design, see Using administration tools to create a design.
The following table shows what Database Designer capabilities are available in each tool:
Database Designer Capability | Management Console | Running Database Designer Programmatically | Administrative Tools |
---|---|---|---|
Create design | Yes | Yes | Yes |
Design name length (# of characters) | 16 | 32 | 16 |
Build design (create design and deployment scripts) | Yes | Yes | Yes |
Create backup script | Yes | ||
Set design type (comprehensive or incremental) | Yes | Yes | Yes |
Set optimization objective | Yes | Yes | Yes |
Add design tables | Yes | Yes | Yes |
Add design queries file | Yes | Yes | Yes |
Add single design query | Yes | ||
Use query repository | Yes | Yes | |
Set K-safety | Yes | Yes | Yes |
Analyze statistics | Yes | Yes | Yes |
Require all unsegmented projections | Yes | Yes | |
View event history | Yes | Yes | |
Set correlation analysis mode (Default = 0) | Yes |