SE_serverinfo_get_blobmem

Extracts BLOBMEM from the SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_get_blobmem (const SE_SERVERINFO svrInfo, LONG *blobmem);

Parameters
svrInfo SE_SERVERINFO object
blobmem BLOBMEM value
Description

This function extracts BLOBMEM from the SE_SERVERINFO object.

The BLOBMEM value is stored in the geodatabase's SERVER_CONFIG (or sde_server_config) table and controls how much binary large object (BLOB) data is stored in memory before storing it in the database.

When BLOBs 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_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED