For those who didn’t follow FirebirdNews in the past years, check out the Firebird Band performing a classic Christmas song
I hope the guys will enjoy it!
Drums: Alex “Bonham” Peshkov
Guitar: Vlad “Vai” Khorsun
Guitar: Claudio “Friedman” Valderrama
Bass: Adriano “Harris” Fernandes
Vocal: Dmitry “Plant” Yemanov
Vote for Firebird as Database of the Year 2014 at LinuxQuestions (must be registered user with at least one Linux related post)
Spread the word on all forums and Firebird communities
In the 9th Firebird Developers Day, we collected donations to sponsor the enhancements of the Firebird wire protocol, to optimize the speed of communication in high latency networks (aka. internet). Dmitry Yemanov implemented the optimizations that were finally available for public testing with the release of the Firebird 3 Beta 1, a few days ago.
So, I decided to test the improvements. I set up a Windows remote server running FB 2.5 and 3.0 (beta1 and beta2), and used a database with a single “customers” table containing real life data (7,000 records and 61 fields). For the tests, I also created a second table with the same data, but in this one, the fields containing nulls were filled with random chars and numbers up to its size limit.
The test itself is very simple: retrieve all the fields from the first 5,000 rows from the tables, using isql (directing ther output to disk, since stdout is too “slow” and affects the results in a bad way), and check the time taken to do the fetchall. Each test was run at last twice (in sequence, filling the cache, etc), and the lowest value obtained was used for the comparison.
You can see the results below, and it is very promising! Thanks Dmitry and also Alex Peshkov (who implemented the zlib compression).
PS: There is one weird case where FB 3 was slower than FB 2.5. I already reported this do Dmitry, and he is investigating.
A full article (in portuguese) about the tests is available at FireBase. Thanks for Fernando Pimenta who “donated” the remote server for my use.
Update: Dmitry just sent me more information about the case where FB 2.5 got better performance than FB 3:
Actually, the problem is in the default batch size, not the new code itself. With all fields filled up to their max length, the protocol message size is quite similar between v2.5 and v3, the difference is less than 5%. But v3 always sends 8 packets at once while v2.5 may send 8 to 16 packets at once, depending on the message size. In your particular case, the batch size should be ~12-13 packets. This explains better performance of v2.5.
I need to find a way to adapt the new batching algorithm to better match the old one in such border cases.
Here you can check Firebird 3.0 Debian package progress
Damyan added quite a few changes compared with version from 3 years ago
Firebird Project announces the first Beta release of Firebird 3.0, the next major version of the Firebird relational database, which is now available for testing.
This Beta release demonstrates the features and improvements currently under development by the Firebird development team. Our users are appreciated giving it a try and providing feedback here. Apparent bugs can be reported directly to the bugtracker.
Beta releases are not encouraged for production usage or any other goals that require a stable system. They are, however, recommended for those users who want to help in identifying issues and bottlenecks thus allowing to progress faster through the Beta/RC stages towards the final release.
Please read the Release Notes carefully before installing and testing this Beta release.
There was a recent bug in detection of ppc64el (was mis-detected as powerpc64) but now is fixed in Debian
Also if you use other distros on power8 please verify if Firebird platform is detected correctly.
Only today you have ability to buy any IBSurgeon product for 50% of its regular price.
For example, IBSurgeon Enterprise Pack will cost EUR274.5 instead of EUR 549.
Upgrade to FirstAID for 50 databases – EUR 99.5 instead of EUR 199.
How to buy?
Visit our online Purchase page (http://ib-aid.com/en/purchase-ibsurgeon-firstaid-recovery/), select product, and enter the following coupon code during purchase process:
Have a good weekend!