Summary
sets the storage data blocksize for new ObjectContainers.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IFileConfiguration
Syntax
int BlockSize { set; }
Remarks
sets the storage data blocksize for new ObjectContainers.
The standard setting is 1 allowing for a maximum database file size of 2GB. This value can be increased to allow larger database files, although some space will be lost to padding because the size of some stored objects will not be an exact multiple of the block size. A recommended setting for large database files is 8, since internal pointers have this length.
This setting is only effective when the database is first created.
The standard setting is 1 allowing for a maximum database file size of 2GB. This value can be increased to allow larger database files, although some space will be lost to padding because the size of some stored objects will not be an exact multiple of the block size. A recommended setting for large database files is 8, since internal pointers have this length.
This setting is only effective when the database is first created.
Value
Type | Description |
---|---|
int | the size in bytes from 1 to 127 |