TurboDB VCL Component Library

TTdbDatabase.BlobBlockSize

TTdbDatabase

Previous  Top  Next

Specifies the block size of blob objects for the next table to be created.

Delphi syntax:

property BlobBlockSize: Integer;

C++ syntax:

__property int BlobBlockSize = {read=FBlobBlockSize, write=FBlobBlockSize, nodefault};

Description

The block size is the allocation unit for blob objects. TurboDB sets a reasonable default value for this parameter but you may optimize it in special cases. For example, if the table will store mainly very large images, you might want to set the block block size to 16 K or 64 K or even more. This size will be used in all subsequent calls to TTdbTable.CreateTable and TTdbTable.AlterTable.

You may want to experiment with different values to find out the block size for best performance.