mi_integer mi_lo_specget_extsz(LO_spec, extsz) MI_LO_SPEC *LO_spec; mi_integer extsz;
The mi_lo_specset_extsz( ) function is the LO-specification accessor function that sets the allocation extent size for a new smart large object. The extsz value specifies the size of the allocation extents to be allocated for the smart large object when the smart-large-object optimizer writes beyond the end of the current extent.
When you set the extent size with mi_lo_specset_extsz( ), you override any column-level or system-specified extent size in the LO-specification structure. You then pass this LO-specification structure to a smart-large-object creation function (such as mi_lo_create( )) to provide the extent size as a user-supplied storage characteristic for a new smart large object.
The smart-large-object optimizer attempts to optimize the extent size based on past operations on the smart large object and other storage characteristics (such as maximum bytes) that it obtains from the storage-characteristics hierarchy. Most applications can use this generated extent size.
See also the descriptions of mi_lo_copy( ), mi_lo_create( ), mi_lo_from_file( ), mi_lo_spec_free( ), mi_lo_spec_init( ), and mi_lo_specget_extsz( ).
For more information on the allocation extent size of a smart large object or on how to use the mi_lo_specset_extsz( ) function, see the IBM Informix: DataBlade API Programmer's Guide.