Subject | Re: Type 2 vs. Type 4 Performance |
---|---|
Author | sbnspindler |
Post date | 2005-01-27T10:09:02Z |
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
socket communication) to my database.
With jdbc:firebird:local:<my_database> i always get the exception
java.lang.RuntimeException: Failed to initilize jaybird native
library. This is most likley due to a failure to load the firebird
client library.
at
org.firebirdsql.ngds.GDS_Impl.attemptToLoadAClientLibraryFromList(GDS
_Impl.java:135)
...
although i think libfbembed.so and libfbclient.so are correctly
installed.
If I try to connect with jdbc:firebird:native:<my_database> it works.
But then it doesn't use IPC communication, is this right ?
Sabine
<rrokytskyy@a...> wrote:
> > I think that should be FAQ but I didn't find an answer on this.on
>
> That is in release notes, see page 6.
>
> > Is Jaybird faster in Type 2 Mode than Type 4 when running the DB
> > the local Machineotherwise -
>
> If you access the database witl jdbc:firebirdsql:local:..., yes,
> slower.load an
>
> > ? Do I lose/get more Features with one of the two possibilities ?
>
> Featurewise they are the same. The biggest drawback is that you
> external shared library in your JVM process. So, if it is buggy andcrashes,
> your complete JVM crashes. Also check release notes for informationabout
> multithreaded access under Linux.I've firebird 1.5.2 on linux and I want to connect local (without
>
> Roman
socket communication) to my database.
With jdbc:firebird:local:<my_database> i always get the exception
java.lang.RuntimeException: Failed to initilize jaybird native
library. This is most likley due to a failure to load the firebird
client library.
at
org.firebirdsql.ngds.GDS_Impl.attemptToLoadAClientLibraryFromList(GDS
_Impl.java:135)
...
although i think libfbembed.so and libfbclient.so are correctly
installed.
If I try to connect with jdbc:firebird:native:<my_database> it works.
But then it doesn't use IPC communication, is this right ?
Sabine