SE_serverinfo_set_blobmem

Sets BLOBMEM in a SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_set_blobmem (SE_SERVERINFO svrInfo, LONG blobmem);

Parameters
svrInfo The SE_SERVERINFO object
blobmem blobmem value
Description

This function sets the BLOBMEM value in a SE_SERVERINFO object.

The BLOBMEM value is stored in the geodatabase's SERVER_CONFIG table and controls how much BLOB data is stored in memory before storing it in the database.

When binary large objects (BLOB) are stored, the server must accumulate the BLOB chunks the application sends over the network. If the BLOB size is greater than BLOBMEM, the server writes the BLOB data to a disk file before storing it in the database. If the BLOB size is less than BLOBMEM, the server accumulates the BLOB in memory. If BLOBMEM is a negative number, the server always uses memory, regardless of the BLOB size.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE

SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED