Authorization and
is configured at maximum level by default.
|
Cache Name
|
Description
|
|---|---|
|
AS
|
All SAS Metadata Serverauthentication service (AS) cached resources
|
|
AS.Name
|
Name to identifier mappings
|
|
AS.Name.Subjects
|
User name to SAS Metadata Server
identifier cache
|
|
AS.Name.Groups
|
Group name to SAS Metadata Server
identifier cache
|
|
AS.Subject
|
Per user cache resources
|
|
AS.Subject.Groups
|
User group memberships
cache
|
|
AS.Subject.Principals
|
User owned principals
cache
|
|
AS.List
|
Directory listings
|
|
AS.List.Subjects
|
User listings cache
|
|
AS.List.Groups
|
Group listings cache
|
|
Authorization
|
Privileges cache
|
|
ResultSet
|
Result Sets
|
|
ResultSet.View
|
View result sets cache
|
SELECT * FROM CONFIG_DATA_SERVICES WHERE DATA_SERVICE_NAME= '__SERVER__'
ALTER SERVER {OPTIONS( cache-option-list [,cache-option-list ...] )}
cache-option-list ::= CACHE( NAME cache-name , cache-properties )cache-option-list ::= DROP CACHE( NAME cache-name )
cache-option-list ::= SET|ADD|XSET CACHE( NAME cache-name, cache-properties )
TIMEOUT timeout|
NAME
|
Default
TIMEOUT Value
|
|
ResultSet
|
1800 (30 minutes)
|
|
ResultSet.View
|
1800 (30 minutes)
|
|
Authorization
|
-1 (infinite)
|
|
All others
|
0 (not applicable –
not cached)
|
| ResultSet | = 3600 (1 hours) |
| ResultSet.View | = 3600 |
ALTER SERVER {options cache(name ResultSet, xset timeout 300)}ResultSet.View to
300 seconds. Note that the statement only persists the new TIMEOUT
value for the cache, ResultSet, but changes the current value for
all the children, ResultSet.View, as well.
This allows top-down run-time management of TIMEOUT values while preserving
the configured defaults of child names.
ALTER SERVER {options cache(name ResultSet.View, xset timeout)} ALTER SERVER {options drop cache(name ResultSet.View)} Afterward,
the ResultSet.View cache inherits the TIMEOUT
value from the parent namespace, ResultSet, which is 300 seconds.
PURGE | FLUSHLEVEL level| ALL / OBJECT | Cache privileges for columns, tables and all higher level secure objects. This is the default privilege caching level. |
| CONTAINER | Cache privileges for schemas and all higher level secure objects. |
| NONE / OFF | Used to turn off all privilege caching. |