Firebird 2.1 Release Notes
Firebird 2.1 Release Notes
Firebird 2.1 Release Notes
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Global Improvements in <strong>Firebird</strong> <strong>2.1</strong><br />
Bypass Filesystem Caching on Superserver<br />
V. Khorsun<br />
Feature requests CORE-1381 and CORE-1480<br />
<strong>Firebird</strong> uses and maintains its own cache in memory for page buffers. The operating system, in turn, may recache<br />
<strong>Firebird</strong>'s cache in its own filesystem cache. If <strong>Firebird</strong> is configured to use a cache that is large relative<br />
to the available RAM and Forced Writes is on, this cache duplication drains resources for little or no benefit.<br />
Often, when the operating system tries to cache a big file, it moves the <strong>Firebird</strong> page cache to the swap, causing<br />
intensive, unnecessary paging. In practice, if the <strong>Firebird</strong> page cache size for Superserver is set to more than 80<br />
per cent of the available RAM, resource problems will be extreme.<br />
Note<br />
Filesystem caching is of some benefit on file writes, but only if Forced Writes is OFF, which is not recommended<br />
for most conditions.<br />
Now, Superserver on both Windows and POSIX can be configured by a new configuration parameter, Max-<br />
FileSystemCache, to prevent or enable filesystem caching. It may provide the benefit of freeing more memory<br />
for other operations such as sorting and, where there are multiple databases, reduce the demands made on host<br />
resources.<br />
Note<br />
For Classic, there is no escaping filesystem caching.<br />
For details of the MaxFileSystemCache parameter, see MaxFileSystemCache.<br />
Garbage Collector Rationalisation<br />
V. Khorsun<br />
Feature request CORE-1071<br />
Other Global Improvements<br />
The background garbage collector process was reading all back versions of records on a page, including those<br />
created by active transactions. Since back versions of active records cannot be considered for garbage collection,<br />
it was wasteful to read them.<br />
Immediate <strong>Release</strong> of External Files<br />
V. Khorsun<br />
Feature request CORE- 961<br />
The engine will now release external table files as soon as they are no longer in use by user requests.<br />
31