'Dimitry Sibiryakov' via firebird-general a écrit :
Hi there,
For your information, the problem was neither with the dotnet drivers
nor with the format of the SQL query, but with the values in
Firebird.conf, inappropriate for the work requested.
The modified lines in Firebird.conf:
TempDirectories = /ssd4/tmp
TempTableDirectory = /ssd4/tmp
DefaultDbCachePages = 50K
UseFileSystemCache = true
FileSystemCacheThreshold = 2M
TempBlockSize = 2M
TempCacheLimit = 1024M
InlineSortThreshold = 16384
LockMemSize = 30M
LockHashSlots = 40099
the environment variables (default space too small to create the
indexes):
export FIREBIRD_TMP=/ssd4/tmp
export FIREBIRD_LOCK=/ssd4/tmp
I can send blocks of 5 million records in the same transaction without
problems with these values.