AUTOLOAD (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:AUTOLOAD}} <span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span> AUTOLOAD is a parameter on JANUS DEFINE, which defines and sets ch...")
 
m (1 revision)
(No difference)

Revision as of 21:58, 8 March 2011

<section begin="desc" /><section end="desc" />

AUTOLOAD is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.


This parameter, indicates that the incore copy of Janus tables are to be reloaded at the first request subsequent to a table redefinition. This eliminates the need to issue JANUS RELOAD commands to reload table definitions after changes have been made. AUTOLOAD does have a few disadvantages, however. First, if several table definitions are being changed while SQL requests are being processed on a port, Janus might end up performing the reload process several times where issuing a JANUS RELOAD command at the end of all the changes would result in a single reload. Doing multiple reloads could be a significant expense if the number of JANCAT table definitions is large. The other disadvantage of AUTOLOAD is that the reload doesn't happen until a request arrives on the port. This means that the user issuing the request could encounter a significant delay as the Janus port is reloaded. A JANUS RELOAD command before the request comes in would ensure that the table definitions would already be loaded so no extra delay would be encountered. Note that it is perfectly valid to issue a JANUS RELOAD command on an AUTOLOAD port.

Valid only for SDS (also known as OMNI or OAS) ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.