Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

I'm trying to make my Firebird embedded database increment by 128MB at a time - scoped around the web I found "Firebird.config" is what i needed
<br />
# ----------------------------<br />
# Disk space preallocation<br />
#<br />
# Sets the amount of preallocated disk space in bytes. Disk space<br />
# preallocation allows to reduce physical file fragmentation and to make <br />
# database work in out of disk space condition. With preallocation enabled,<br />
# engine allocates 1/16nth of already allocated disk space at a time but <br />
# not less than 128KB and no more than DatabaseGrowthIncrement (128MB by <br />
# default). To disable preallocation set DatabaseGrowthIncrement to zero.<br />
# Shadow database files are not preallocated.<br />
#<br />
# Type: integer<br />
#<br />
DatabaseGrowthIncrement = 134217728<br />


DatabaseGrowthIncrement = 134217728 = 128MB x 1024 x 1024 ("DatabaseGrowthIncrement" is in bytes)

I put it in same folder as my exe, and also in same folder as my Firebird database "FDB" file - when I refresh from Windows File Explorer, it doesn't "look like" Firebird is incrementing 128MB a time - anybody knows where to put "Firebird.conf" and how to know if my fdb database file really is incrementing 128MB a time?

Thanks in advance.

http://www.firebirdmanual.com/firebird/en/firebird-manual/2/advanced-settings-firebird/43[^]
Posted

1 solution

fbembed.dll --> Version using is 2.5.1 (So should support auto-increment)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900