SE_serverinfo_set_attrbufsize

Sets ATTRBUFSIZE in a SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_set_attrbufsize (SE_SERVERINFO svrInfo, LONG attrbuf);

Parameters
svrInfo The SE_SERVERINFO object
attrbuf ATTRBUFSIZE value
Description

This function sets the ATTRBUFSIZE value in a SE_SERVERINFO object.

The ATTRBUFSIZE value is stored in the geodatabase's SERVER_CONFIG table. The ATTRBUFSIZE parameter controls the size of the attribute array buffer. The default value for this parameter is 50,000 (100 rows with 500 bytes of attribute data each).

Performance is affected when the number of rows that can be fetched into the attribute buffer does not match the MAXARRAYSIZE parameter setting. For queries involving multiple columns, add the number of bytes per column to get a total row size. The ATTRBUFSIZE divided by row size cannot exceed the number of rows specified by MAXARRAYSIZE. ArcSDE will automatically reduce the size of the attribute buffer to hold MAXARRAYSIZE rows.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE

SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED