Memory Optimization
The Memory Optimization tab is used to
configure the Transaction Server image and execution
options to use on a Mitsubishi MESInterface IT node. This
tab is not available for other products.
The parameters are as follows:
Parameter | Description |
---|---|
Throughput | Specifies how many resources are
pre-initialized in the Transaction
Server component. The simple equation
is more pre-initialized resources
results in less available memory. The options are:
|
Enterprise Access | Specifies the Transaction Server
image to use. The options are a trade
off between additional optimized code
paths for faster execution times versus
additional available memory for the
application. The options are:
|
Description | The Description box provides an explanation of the options for the two parameters. |
Select the Save button to save any changes to the parameters.
After making changes and saving them, the CCPU must be restarted for the changes to take effect.
Memory optimization summary
Suppose you selected the Optimized for SQL
Server option from the Enterprise
Access parameter. When the trigger executes, an
Insert transaction will take approximately
200 milliseconds to complete to an SQL Server database.
Likewise, the Insert transaction will also
take the same 200 milliseconds to execute using the
Standard option.
However, if the target is an Oracle database and the option
is Optimized for SQL Server, the
Insert transaction will take about 1.2
seconds to complete. This is because the Transaction Server
image configured, Optimized for SQL
Server, does not have the code path optimization
for the Oracle database.
The trade off is that the system will have more available
memory using Optimized for SQL Server when
compared to the Standard option.
The following table shows this analysis:
Option | SQL Server database | Oracle database | DB2 database | Available memory |
---|---|---|---|---|
Standard | 200 ms | 200 ms | 200 ms | Same |
Optimized for SQL Server | 200 ms | 1.2 sec | 1.2 sec | More |
Optimized for Oracle | 1.2 sec | 200 ms | 1.2 sec | More |
If you only use a SQL Server database in your application,
then you can have the benefit of more available memory by
choosing the Optimized for SQL Server
option.
However, if your applications uses both an SQL Server
database and an Oracle database in your final solution,
then you should choose the Standard
option.