This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
SET BLOBS CACHE PRIORITY

SET BLOBS CACHE PRIORITY 


 

SET BLOBS CACHE PRIORITY ( aTable ; priority ) 
Parameter Type   Description
aTable  Table in Table whose "blobs" data priority value has to be set for the session
priority  Longint in Cache priority value for BLOBs in the table

This command is reserved for specific needs. It must be used with care since it can affect database performance.

The SET BLOBS CACHE PRIORITY command sets a specific priority to the "blobs" data related to aTable in cache for all processes in the current session. This command should be called in the On Startup or On Server Startup database method.

Note: This command only works in local mode (4D Server and 4D); it cannot be used in 4D remote mode.

"Blobs" data field types include BLOB, text, picture, and object. This command handles priority for such data when they are stored in the data file only.

In the priority parameter, pass one of the following constants from the "Cache Management" theme:

Constant Comment
Cache priority low
Cache priority very low
Cache priority normal Sets the cache priority to its default value
Cache priority high
Cache priority very high

Example  

In the , you want to set a high priority for the [Customer] table "blobs" data:

 SET BLOBS CACHE PRIORITY([Customer];Cache priority very high)



See also 

ADJUST BLOBS CACHE PRIORITY
Get adjusted blobs cache priority

 
PROPERTIES 

Product: 4D
Theme: Cache Management
Number: 1425

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v16 R2

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)