From time to time certain settings need to be updated to improve Datical's deployment performance. This is especially true when you upgrade from an older version of Datical to a newer version which takes advantage of enhancements introduced in the new releaserecent releases.
These are some settings that are known to improve performance:
1. enableRowCount=”false” or "approximate" → /wiki/spaces/DDD/pages/24707471
- For Datical DB versions 5.6 or lower, set it to "false" to completely disable it
- For Datical DB versions 5.7 or higher, set it to the new "approximate" option
2. limitForecastProfiling=”true” → For more information on this topic: /wiki/spaces/DDD/pages/24707448
3. deployMode=”quick” → For more information on this topic: /wiki/spaces/DDD/pages/523272429
4. Stored Logic Validity Check="limited" → The "limited" option is only available in Datical DB 5.3 or higher: /wiki/spaces/DDD/pages/491290653
These settings can up changed from Datical GUI or directly injected into , or by using hammer set commands in the CLI, or by using the optional project_creator script. Notice the attributes near the end of this excerpt from the datical.project file (notice new attributes at the end):
Code Block | ||||
---|---|---|---|---|
| ||||
<dbproject:Project xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dbproject="http://datical.com/db/project/1.0" name="dpe-datical-paymentmanager" storedLogicExternal="true" deployThreshold="stopOnError" runtimeCredentials="false" multiSchema="true" dbSchemaDefinition="project" schemaSelectionStep="PAMAND5" trackingSchema="DATICAL" storedLogicValidityCheck="limited" enableRowCount="falseapproximate" limitForecastProfiling="true" deployMode="quick"> |
In the Datical desktop client/Eclipse GUI, you would manipulate set the above mentioned settings as followssettings /wiki/spaces/DDOC59/pages/795804508:
- enableRowCount="falseapproximate" → Uncheck Select approximate for the Deployment Setting > "Collect row counts for all tables during Forecast (if needed for rules)"
- limitForecastProfiling="true" → Check the Deployment Setting > "Limit Forecast Profiling"
- deployMode="quick" → Check the Deployment Setting > "Full Deploy"
In Datical GUI, make this change in Deployment Settings > Stored Logic Validity Check > select "Limited"<
dbproject:Project
xmi:version
=
"2.0"
xmlns:xmi
=
"http://www.omg.org/XMI"
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:dbproject
=
"http://datical.com/db/project/1.0"
name
=
"dpe-datical-paymentmanager"
storedLogicExternal
=
"true"
deployThreshold
=
"stopOnError"
storedLogicValidityCheck
=
"limited"
runtimeCredentials
=
"false"
multiSchema
=
"true"
dbSchemaDefinition
=
"project"
schemaSelectionStep
=
"PAMAND5"
trackingSchema
=
"DATICAL"
enableRowCount
=
"false"
limitForecastProfiling
=
"true"
deployMode
=
"quick"
>
- Note that the "limited" option is only available with Datical version 5.3 or higher. (If you are using version 5.2 or lower, you could set it to "disabled" but use caution and only do that if you do not need the stored logic validity check at all.) In datical.project file, this is represented as storedLogicValidityCheck="limited"
- In Datical GUI, make this change in Deployment Settings > Stored Logic Validity Check > select "Limited"
In the CLI, you can set those same items using "hammer set" commands for enableRowCount, limitForecastProfiling, deployMode, and invalidsCheck. Please see the set command details here: /wiki/spaces/DDOC59/pages/795771831
If you use the optional project_creator script, you can set these settings when initially creating the project: /wiki/spaces/DDOC59/pages/795804403
Info |
---|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...