Esquenta FDD (FDD Warm-up)

Sorry, this is only for Portuguese speakers…

No dia 26/setembro (quinta-feira) às 10h (GMT-3 – horário de Brasília) estaremos realizando o Esquenta FDD, com a apresentação de 2 estudos de caso de sucesso envolvendo o Firebird.

O Esquenta é gratuito e aberto a todos que quiserem participar, bastando se cadastrar usando esse link e entrar na data e hora programadas.

Aproveite e se inscreva também no 21º Firebird Developers Day, que será realizado on-line, de 7 a 11 de outubro. As inscrições se encerram dia 27/setembro.

PHP 8.4 Improvements when working with modern Firebird versions

From firebirdsql.org:

PHP 8.4 beta 5 has been released, marking a significant milestone for PHP developers, particularly those working with Firebird databases. This update brings crucial enhancements to the built-in PDO-Firebird driver. Now supporting modern data types, including DECFLOAT, the driver offers substantial benefits for PHP applications using Firebird 4 and 5.

This improved Firebird support in standard PHP will streamline development of Firebird-based PHP applications, making the process more straightforward and transparent. For an in-depth look at these enhancements, check out the new article “PHP 8.4 Improvements when working with modern Firebird versions“.

21st Firebird Developers Day

The official website for the 21st FDD, the largest Firebird event in the world, is now live! The Firebird Developers Day has been held annually in Brazil for 21 consecutive years.

This year, the conference will exceptionally take place online, from October 7th to 11th.

Registrations are now open!

PS: This is a Brazilian conference, so the sessions are in Portuguese.

Firebird-Export

Export a Firebird database to CSV, JSON or other formats is a Open Source project to export a Firebird database, show a summary of the database table names, field names, field data types, and index columns. Optionally extract and save table data to a directory, in CSV/JSON (or potentially in any other format), as well any other binary files from blobs.

A subset of the tables and fields can be specified (in python) and the number of records returned can be limited for testing purposes. Output data can be combined or into one or saved in individual files named after the tables.

libpthread compatibility problem with Firebird 2.5

We’ve identified an issue where the latest libpthread library versions are not compatible with Firebird 2.5 (including the latest available release of vanilla version 2.5.9.27139 and HQbird 2.5 till the version 2.5.9.27173).

This incompatibility may cause Firebird 2.5 to crash during certain operations on newer Linux distributions. The error occurs frequently in architectures SuperServer and SuperClassic, and less frequently, in Classic.

Immediate Action Required:
To prevent any impact on Firebird 2.5, please follow the guidance provided below.

Assessing Your System:
Determining which Linux distributions are impacted is dificult since libpthread updates can be applied to older operating system versions, potentially introducing the issue to Firebird. It means that any update of OS can bring the problem to your system, even if you are running old version. It means that you need to test your instance of OS.

Testing for Compatibility:
We’ve developed a command-line application to test whether libpthread is compatible with Firebird 2.5.

Download Instructions:
•  The binary for the test application can be downloaded from the following link: www.ib-aid.com/download/libpthread/pthr-tst
•  The source code for the test application is also available at this link: www.ib-aid.com/download/libpthread/test.cpp

Execution Guide:
Execute the test application in your terminal as outlined in the instructions below to perform the compatibility check.

For the Operating System with old libptread (i.e., it is compatible with 2.5)  

wget https://ib-aid.com/download/libpthread/pthr-tst
chmod +x pthr-tst
# ./pthr-tst 
Set signals
Sigenv works 

For the Operating System with new libptread (i.e., not compatible with 2.5):

# ./pthr-tst
Set signals
Segmentation fault

What to do next in short-term

For Firebird 2.5 vanilla users:
If you have made the test and found that libpthread is not compatible with Firebird 2.5, change the architecture to Classic (make sure to do not confuse the configuration!), and then plan to reinstall your Linux Operating System to the old version with compatible libpthread, which does not have this problem – as soon as possible.

If you have made the test and did not encounter the problem with libpthread, there is no direct danger at the moment. Make this test after each OS update.

Please note that Firebird 2.5 is discontinued version, and Firebird Project will not release fix for vanilla version of 2.5.

For user of commercial versions
Contact your vendor to receive a fix.

What to do next in long-term? Upgrade!

Take this as a final notice that you need to upgrade to Firebird 5.0. The version 2.5 was good and stable, but it originates from 2010, the majority of products released in that year already retired.

There are enough material to perform upgrade in the smooth and easy way, see for details Practical Migration Guide to Firebird 5.
 

Questions?

Please feel free to ask any questions: ak@firebirdsql.org

Original article: https://firebirdsql.org/en/news/urgent-and-import-message-for-users-of-firebird-2-5-on-linux/

Practical Migration Guide To Firebird 5.0

The “Practical Migration Guide to Firebird 5.0,” authored by D. Simonov, is a free technical manual that describes the main steps for upgrading to Firebird 5 from legacy versions such as 2.5, 3.0, and 4.0.

It encapsulates a wealth of pragmatic advice, troubleshooting methodologies, and resolution techniques for common migration challenges. Despite its brevity (40 pages), the guide comprehensively addresses critical aspects of the migration process, including installation protocols, configuration optimization, user account migration, and data type transition strategies.

Read “Practical Migration Guide to Firebird 5.0” or download it in printable PDF format.

From www.firebirdsql.org

Note from the submitter: For those upgrading to Firebird 5, this practical guide can be considered an “add-on” for my (+200 pages) Migration Guide to Firebird 4 eBook, which contains detailed and very important information specially for those moving from FB 3 (or older versions).

The Backend Ring – 2024/Q1 (Adriano Fernandes)

The Backend Ring is a challenge whose main objective is to share knowledge in the form of a challenge! This is the second edition.

Adriano Santos Fernandes, one of the Firebird Core Developers, published an article about his participation in the 2024/Q1 Backend Ring edition, where he submitted solutions using Firebird, PostgreSQLand LMDB. Here is an excerpt from the article translated to English:

“Today, March 10, 2024, is the deadline for project submissions for the Backend Ring – 2024/Q1, which is the second edition of the Backend Ring. In summary, it was necessary to deliver a project that simulates a banking service with a statement and creation of transactions concurrently, where accounts can never go negative below each customer’s limit. In addition, it was necessary to run in docker, with a load balancer distributing the load to at least two API services, and all services together could use a maximum of 1.5 CPU units and 550MB of memory.

I did not participate in the first edition in 2023 because I only found out after it ended.

After this first edition of the Backend Ring, there was a Compilers Ring (and interpreters) where I was able to participate and my project ranked 9th.”

FBPC 1.0.2 is released

The new version of Performance Comparer for Firebird is available. In this new version, the parsing of huge trace files is much faster, along with some other small changes and fixes which are listed in the changelog.txt. This is the first non-beta version.

FBPC is a free tool that can help people to compare the performance between two Firebird versions, or even between the same Firebird version but with different configurations in firebird.conf

1 2 3 4 101