The following table shows the methods that can cause a smart large object to be marked for deletion.
Alternatively, you can mark an LO handle as invalid with the mi_lo_invalidate( ) function to indicate that it no longer identifies a valid smart large object.
When you delete an LO handle, the database server decrements the reference count of the smart large object that the LO handle references by one. The database server cannot delete a smart large object until it meets the following conditions:
To decrement the reference count of a smart large object, you delete an LO handle that references that smart large object. For more information, see Managing the Reference Count.
When the smart large object is closed, its LO file descriptor is freed. For more information, see Freeing an LO Handle.