using fb2.5

101 views
Skip to first unread message

rcmz

unread,
Oct 18, 2023, 5:32:24 PM10/18/23
to firebird-support
Hi,

I have been using f2 2.5 for some time.

Do I go to fb4.0 or should I wait for fb5.0 ?

TIA
Ramiro

Hugo Eyng | Datamais

unread,
Oct 18, 2023, 6:29:09 PM10/18/23
to firebird...@googlegroups.com
Hi.

FB 5.0 RC1 is already available.

I will migrate from 2.5 to 5.


Atenciosamente,

Hugo


--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/a7ef3ee9-de0d-4fdb-98a6-051262585b68n%40googlegroups.com.

Christian Diercks

unread,
Oct 18, 2023, 6:57:51 PM10/18/23
to firebird...@googlegroups.com
Anything above 2.5 is great… 

Sent from my iPhone

On Oct 18, 2023, at 6:29 PM, Hugo Eyng | Datamais <hugo...@gmail.com> wrote:



Ismael L. Donis Garcia

unread,
Oct 19, 2023, 10:33:06 AM10/19/23
to firebird...@googlegroups.com

Steve Naidamast

unread,
Oct 19, 2023, 11:27:11 AM10/19/23
to firebird-support
I am still using Firebird 2.5.9 for my current development.  However, as soon as I am able, I will be upgrading to either 4.x or 5.x, if the latter is already been released for production purposes.

I agree with the Firebird Team, that we should all get ourselves off of 2.5.9, for those of us who are still using it, when it is possible.

In my case, I have to implement a lot of development so that the transition from 2.5.9 to 4.x or 5.x is as seamless as possible for the users of my project...

Steve Naidamast
Sr. Software Engineer

Yordan Yanakiev

unread,
Oct 19, 2023, 1:53:05 PM10/19/23
to firebird-support
Maybe one of the top priorities should be giving a proper tools for painless migration with just a single click.

James Bond

unread,
Oct 19, 2023, 4:02:17 PM10/19/23
to firebird...@googlegroups.com
Hi,

Maybe a How to 
from 2.5, 3.0, 4.0 to 5.0

Ramiro



Hugo Eyng | Datamais

unread,
Oct 19, 2023, 4:04:09 PM10/19/23
to firebird...@googlegroups.com
Hi.

There is a solution to migrate from 2.5 to 5.0 "with a single click".

Maybe, it is necessary some "tunning" for each case.

Recently Alexey Kovyazin linkedin.com/in/kovyazin  and  Edson Gregorio linkedin.com/in/edsongregorio promoted a meeting
and proposed a good solution in this direction. They also provided some scripts, organized in a way that we can indeed convert a 2.5 DB in a 5.0 DB
using one click or one "ENTER".



Atenciosamente,

Hugo


Yordan Yanakiev

unread,
Oct 19, 2023, 5:37:14 PM10/19/23
to firebird-support
The "some scripts" case is the issue. Nothing usually goes right, and this is not a single click but a endless nightmare.
The thing must be compile into a solid executable which is having just 2 boxes to browse for source and destination, and a single button "Convert", and since it is build from the creators of the FB - I believe all possible scenarious should be checked. Something which is for sure not achievable for someone which is just using the database without any need to know literally everything for it.

Mark Rotteveel

unread,
Oct 20, 2023, 3:07:13 AM10/20/23
to firebird...@googlegroups.com
On 19-10-2023 19:53, Yordan Yanakiev wrote:
> Maybe one of the top priorities should be giving a proper tools for
> painless migration with just a single click.

The problem is that a single-click solution wouldn't work or account for
all case.

In its simplest form, backing up and restoring your database *will*
upgrade it, and you might just continue to work without having to do
*any* work.

However, this will not account for things like the new datatypes
returned by CURRENT_TIME and CURRENT_TIMESTAMP, which you can already
address when you're one Firebird 2.5.9 by switching to LOCALTIME and
LOCALTIMESTAMP. Or as a stopgap measure by setting the
DatatypeCompatibility setting in database.conf.

Other than that, there isn't really a lot a generic migration script
would (or could) need to address IMHO.

And possibly some other changes like built-in functions or aggregates
returning a different type might have an impact, but that wouldn't be
addressable by a migration script anyway, because some applications or
libraries will handle that without problems, and others might need some
work.

The reason it is recommended by some to create a new database and pump
the data, is because likely you'll need to make some changes for the
sake of your application and not for Firebird itself, and in that case
recreating and pumping the data is probably simpler to do.

Mark
--
Mark Rotteveel

Karol Bieniaszewski

unread,
Oct 20, 2023, 6:12:01 AM10/20/23
to firebird...@googlegroups.com

Single click solution can exists only if you use Database by ISQL and work with it from there.

Then simply do backup/restore process, if it successfull, you have single click solution 😉

 

But in real world you use specialized applications which uses such DB.

Consider problems, no single click to resolve:

  1. New Keyword introduced in Firebird and you have Table, Field or other object named like Keyword.
  2. Ambigous field definition in sql, no automatic scripts can resolve it.
  3. Changed query plan which brake some part of application.
  4. …..

 

Regards,

Karol Bieniaszewski

Hugo Eyng | Datamais

unread,
Oct 20, 2023, 8:45:30 AM10/20/23
to firebird...@googlegroups.com
Dear Yordan.

I can not say the script(s) work for every FB DB 2.5 around the world. I never tried...

I can say that it worked for me, without recompiling the software. Of course, it is necessary to adjust some parameters in the firebird.conf, as Mark said.

Alexey and Edson (I mentioned above) are experts in FB and he did a great job. The scripts also recompile SP and triggers,  a process needed for the conversion.

The process: paste the 2.5 DB  in a directory "IN" and you will have 5.0 DB in a directory "OUT". Their solution is worth evaluating.

Again, it is possible that a very specific DB can depend on some extra tratament. 

Even some tool was make available by the FB team, I don´t believe that it would work 100% for every DB around the world without some "tunning". Furthermore, that it would take a lot of time, effort and costs to have almost the same result.

Mark wrote about important aspects which, if observed, reduce headaches.

Atenciosamente,

Hugo


Reply all
Reply to author
Forward
0 new messages