![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi I've been trying to compare Berkeley and eXist performance. Im doing this through PHP and specific queries because thats what I need for my project, but even though the odds are against it eXist seems faster!? eXist (java, no JIT) is running on Apache Tomcat and PHP 5 communicates using SOAP (all on same machine) using a very beta 3rd party PHP module. Berkeley is called using their own PHP module. A typical result from my test script might look something like this: (A) Berkely DBXML. returned 18 articles query:let $con := collection("test.dbxml") for $x in $con/metadata where $x/labels/s="bob" return $x/id (B) eXist XML DB. returned 18 articles query:for $x in /metadata where $x/labels/s="bob" return $x/id Timings: A:0.2554 sec, B:0.245 sec, Total:0.5004 Looking for <s>bob<b> in a <labels> tag which may have several other s>, Im using indexing, does anyone have any ideas whats going on and if I can improve speeds? |
![]() |
| Thread Tools | |
| Display Modes | |
| |