MAXSAVE (JANUS DEFINE parameter): Difference between revisions
m (1 revision) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:MAXSAVE}} | {{DISPLAYTITLE:MAXSAVE}} | ||
<span class="pageSubtitle"><section begin="desc" />MAXSAVE xxx | <span class="pageSubtitle"><section begin="desc" />MAXSAVE xxx — Max concurrent number of compiled SDS SQL requests<section end="desc" /></span> | ||
<var>MAXSAVE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]. | <var>MAXSAVE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]. | ||
This parameter specifies the maximum number of compiled SQL requests to save in CCATEMP. When the Specialty Data Store receives an SQL request from the Sybase Adaptive Server it parses the request, translates it into User Language, compiles the User Language into quads and finally evaluates the compiled User Language. When <var>MAXSAVE</var> is greater than 0, compiled requests are saved and future identical requests (except for constants) can simply load the compiled requests from CCATEMP (much like an APSY load), bypassing the translation and compilation steps. | This parameter specifies the maximum number of compiled SQL requests to save in CCATEMP. When the <var class="product">[http://sirius-software/maint/download/sdsr.pdf Specialty Data Store]</var> receives an SQL request from the <var class="product">Sybase Adaptive Server</var> it parses the request, translates it into <var class="product">User Language</var>, compiles the <var class="product">User Language</var> into quads and finally evaluates the compiled <var class="product">User Language</var>. When <var>MAXSAVE</var> is greater than 0, compiled requests are saved and future identical requests (except for constants) can simply load the compiled requests from CCATEMP (much like an APSY load), bypassing the translation and compilation steps. | ||
The default for <var>MAXSAVE</var> of 16 should be adequate for most situations, ensuring that frequently run requests will perform well without wasting CCATEMP and I/O bandwidth for infrequently run requests. | The default for <var>MAXSAVE</var> of 16 should be adequate for most situations, ensuring that frequently run requests will perform well without wasting CCATEMP and I/O bandwidth for infrequently run requests. | ||
Valid only for SDS (also known as <var>[[JANUS DEFINE#type|OMNI]]</var> and OAS) ports. | Valid only for <var>[[JANUS DEFINE#type|SDS]]</var> (also known as <var>[[JANUS DEFINE#type|OMNI]]</var> and <var>[[JANUS DEFINE#type|OAS]]</var>) ports. | ||
== | ==See also== | ||
<ul> | |||
<li>[[List of Janus commands]] | |||
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]] | |||
</ul> | |||
[[Category:JANUS DEFINE parameters|MAXSAVE]] | [[Category:JANUS DEFINE parameters|MAXSAVE]] |
Revision as of 21:26, 29 February 2012
<section begin="desc" />MAXSAVE xxx — Max concurrent number of compiled SDS SQL requests<section end="desc" />
MAXSAVE is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.
This parameter specifies the maximum number of compiled SQL requests to save in CCATEMP. When the Specialty Data Store receives an SQL request from the Sybase Adaptive Server it parses the request, translates it into User Language, compiles the User Language into quads and finally evaluates the compiled User Language. When MAXSAVE is greater than 0, compiled requests are saved and future identical requests (except for constants) can simply load the compiled requests from CCATEMP (much like an APSY load), bypassing the translation and compilation steps.
The default for MAXSAVE of 16 should be adequate for most situations, ensuring that frequently run requests will perform well without wasting CCATEMP and I/O bandwidth for infrequently run requests.
Valid only for SDS (also known as OMNI and OAS) ports.