bid.DataCacheUpdateFrequency
property
in SAS Management Console has a default value of 10000 milliseconds.
The value for this property determines how often the data cache is
inspected for caching updates (specifying a custom value is optional).
If needed, supply a custom value for your environment that determines
how often the data cache process is checking to see whether the cache
should be refreshed or categorized as being stale.
<DefaultTimingCacheDirective>
element.
If desired, specify custom values for the cacheDisplayValueForRefresh
and
the cacheDisplayValueForStale
attributes.
Specifying custom values for these attributes is optional.
CacheDisplayValueForRefresh
and CacheDisplayValueForStale
parameters
in the appropriate .dsx files, a check was made to determine whether
cached data needed to be refreshed or if it was stale.
bid.DataCacheUpdateFrequency
property
can be modified and set in milliseconds. The custom value specified
for the bid.DataCacheUpdateFrequency
property
determines the frequency with which cached objects are evaluated.
For example, if this property is set with a custom value of 30000
milliseconds, then at periodic intervals that are spaced apart by
30000 milliseconds, a check is made to determine whether a cached
object is stale or needs to be refreshed.
cacheDisplayValueForRefresh
and
the cacheDisplayValueForStale
attributes
are 15 and 20 minutes. Note that these default values are specified
in minutes and not milliseconds.
bid.DataCacheUpdateFrequency
property
checks to see whether the cached data for a particular query has not
been accessed by a user for more than 20 minutes. If the cached data
has not been accessed in more than 20 minutes, then the data is determined
to be stale and it is removed from the cache. At a later time, if
a user requests that same data, it is retrieved again and placed in
the cache.
cacheDisplayValueForStale
attribute
(with a value of 20 minutes) is larger than the value for the cacheDisplayValueForRefresh
(15
minutes). Therefore, data is never declared to be stale. If a user
has accessed the data within the past 20 minutes, the data in the
cache is always refreshed within 15 minutes. If a user has not accessed
the data within the past 20 minutes, the data is classified as being
stale and is removed from the data cache. The next time a user accesses
this data, the data is again placed in the cache.
cacheDisplayValueForRefresh
and cacheDisplayValueForStale
attributes
in the appropriate .dsx files depend on these factors:
With a large refresh value, fewer data retrievals
are required to keep the cache updated. An increase in the value for
the cacheDisplayValueForRefresh
attribute
also reduces demand on Pooled Workspace servers.
bid.ConfigDataLatencyTolerance
property
and its value determine the frequency with which configuration objects
are updated in the cache.
bid.UserDataLatencyTolerance
property
determines the frequency with which user-defined content objects are
cached and updated. When a user-defined content object is used initially,
that object is cached. Subsequently, when another request is made
to use that same object, it is provided to user if there is a confirmation
that the object is current within the value specified for the bid.UserDataLatencyTolerance
property.
The default value for this property is set to 300000 milliseconds.
If desired, specify a custom value in milliseconds for this property.
Examples of user-defined objects that are cached in the middle tier
include:
bid.UserDataLatencyTolerance
property,
the cached object’s timestamp is compared to the corresponding
object’s timestamp in the metadata. If the timestamps are identical,
the cached value is provided to the user. If the timestamps are different,
the cached data is updated by retrieving the new user-defined data
and placing it in the cache. Then, the timestamp is updated.
<DataSourceDef>
element
in the dboard_sas.dsx
file. Note that
beginning with SAS BI Dashboard 4.31, any changes made to the .dsx
files are refreshed dynamically. Therefore, you need not restart the
Web application server.
<DataSourceDef id=”dboard_sas” providerClass=”com.sas.bi.dashboard.provider.JdbcProvider” maxPoolSize=”5” maxWaitForPooledConnection=”60000” lingerTime=”6000” alwaysConnectAsAdminUser=”true”> ... < /DataSourceDef>