Very Slow Connection with Firebird

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
eelias
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 11.07.2013, 00:36

Very Slow Connection with Firebird

Post by eelias »

Hi there!

I am using Zeos 7.0.3 + Delphi XE2 32 bits + Firebird 1.0 (!!!)

Zeos app running in Windows XP SP3

Firebird 1.0 running on Windows 7 64bits

Connection takes at least 30 seconds. After that everything is just fine. That is a big problem for me because it is a threaded application and each thread use its own connection to provide data to a webservice. The long time of wait sometimes makes the client to disconnect.

Same scenario with Firebird 2.1 work just fine.

It seems to be something related to Firebird 1.0. I know it an old DB, however it is a legacy system used by hundreds and still need to be kept.

Is this related to Zeos or Firebird, what can I do?

Thank you

Eduardo
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Post by marsupilami »

Hello eelias,

hmmm - I have to admit I have no good Idea what might be the problem. What happens if you use some external tool like isql to connect to the same database? Did you try to see what happens on the network using WireShark? Although I did not try that yet.
Is it possible to migreate the databases to Firebird 2.1? Or maybe you get better resulty by simply using the 2.1 client to connect to the old database?
Best regards,

Jan
eelias
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 11.07.2013, 00:36

Post by eelias »

Thanks for the answer,

THe best thing would be upgrading, however it is not under my control, I am writing a software for a company that use this ancient version.

So I need to stick with fb 1.0 for while.

How can I use a newer version of the client to access the fb 1? you mean using the DLLs?

Can you give me little more detailed information so i can give a try?

Many thanks !

Eduardo
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

eelias,
you mean using the DLLs?
i think he means exactly that.. Can't help you here FB1 is really to old.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
eelias
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 11.07.2013, 00:36

Post by eelias »

Thansk replying Michael

But I was wondering what means:

"Or maybe you get better resulty by simply using the 2.1 client to connect to the old database? "

I wanted to give a try on that. What are the steps for that.

Thanks

Eduardo
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Post by marsupilami »

Hello eelias,

you could do this by simply installing Firebird 2.1 on the client machine, for example. Or you could use the embedded Firebird server, which is also a client library. Simply download the zip file, extract the contents to your aplication directory and rename fbembed.dll to fbclient.dll for a first test.
Best regards,

Jan
Post Reply