You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new database to check what happens when transaction count limit exceeds, after i was working on a customer database where next transaction was around 1bln.
On a fast machine with firebird 2.5.2 sc and 8 parallel running scripts running only a "select current_timestamp from rdb§database" and doing a commit in an endless loop, the server was able to handle aproximatly 11000 transactions per second, which is in my point of view a good value.
Since a typical day has 86400 seconds, it took only 2 and a half day to reach the transaction limit 2^31-?
The almost empty database reached a size of about 600MB, which represents the TIP Pages required for this database.
C:\firebird\fb25sc\bin>isql d:\db\DB1.FDB
Database: d:\db\DB1.FDB
Statement failed, SQLSTATE = 54000
Implementation limit exceeded
-Transactions count exceeded. Perform backup and restore to make database operab
le again
Statement failed, SQLSTATE = 54000
Implementation limit exceeded
-Transactions count exceeded. Perform backup and restore to make database operab
le again
Ok, let´s try it
C:\firebird\fb25sc\bin>gbak d:\db\DB1.FDB D:\db\db1.fbk -v
gbak:readied database d:\db\DB1.FDB for backup
gbak:creating file D:\db\db1.fbk
gbak:starting transaction
gbak: ERROR:invalid transaction handle (expecting explicit transaction start)
gbak:Exiting before completion due to errors
:-( Very bad, i tried several gbak params, none resulted in a usable database
It sems that the database is lost for future use. This is defintly a good reason to make the transaction counter a 64 bit version in the future, but also perhaps perform an automatic shutdown of the database when 99,9% of the available transactions are reached for new releases of old versions
If anyone wants to test it with my database, it is availble here for download htt.<//www.ibexpert.com/firebird/db1.7z> (packed only 220kb)
The text was updated successfully, but these errors were encountered:
is there some reason the transaction counter cannot be reset when any time there are no transactions, possibly triggered by the last one completing or the first one starting
Submitted by: Holger Klemt (klemmo)
I created a new database to check what happens when transaction count limit exceeds, after i was working on a customer database where next transaction was around 1bln.
On a fast machine with firebird 2.5.2 sc and 8 parallel running scripts running only a "select current_timestamp from rdb§database" and doing a commit in an endless loop, the server was able to handle aproximatly 11000 transactions per second, which is in my point of view a good value.
Since a typical day has 86400 seconds, it took only 2 and a half day to reach the transaction limit 2^31-?
The almost empty database reached a size of about 600MB, which represents the TIP Pages required for this database.
What happens now is very ugly
C:\firebird\fb25sc\bin>set isc_user=sysdba
C:\firebird\fb25sc\bin>set isc_password=masterkey
C:\firebird\fb25sc\bin>isql d:\db\DB1.FDB
Database: d:\db\DB1.FDB
Statement failed, SQLSTATE = 54000
Implementation limit exceeded
-Transactions count exceeded. Perform backup and restore to make database operab
le again
Statement failed, SQLSTATE = 54000
Implementation limit exceeded
-Transactions count exceeded. Perform backup and restore to make database operab
le again
Ok, let´s try it
C:\firebird\fb25sc\bin>gbak d:\db\DB1.FDB D:\db\db1.fbk -v
gbak:readied database d:\db\DB1.FDB for backup
gbak:creating file D:\db\db1.fbk
gbak:starting transaction
gbak: ERROR:invalid transaction handle (expecting explicit transaction start)
gbak:Exiting before completion due to errors
:-( Very bad, i tried several gbak params, none resulted in a usable database
It sems that the database is lost for future use. This is defintly a good reason to make the transaction counter a 64 bit version in the future, but also perhaps perform an automatic shutdown of the database when 99,9% of the available transactions are reached for new releases of old versions
If anyone wants to test it with my database, it is availble here for download htt.<//www.ibexpert.com/firebird/db1.7z> (packed only 220kb)
The text was updated successfully, but these errors were encountered: