Re: Apache Derby performance disappointing
- From: GArlington <garlington@xxxxxxxxxxxxx>
- Date: Fri, 17 Aug 2007 04:11:11 -0700
On 16 Aug, 15:02, James Appleby <james.w.appl...@xxxxxxxxx> wrote:
Hello,
I am currently adding Derby support to an application that already has
support for multiple DBMS via JDBC. I have found it to be
significantly slower than SQL Server or MySQL when performing the same
task. To provide this, I have created an exact duplicate database
within both Derby and SQL Server and ran the same query on both,
gathering timings.
The test query returns about 16,000 rows from a table with about
100,000 on it, grouping data using a timestamp that is converted to
the nearest second. This is one of the heaviest queries within the
application and what chosen to put the DBMS under the most strain. To
prevent caching interferring with the result, I made sure to restart
the DBMS before running the query.
SQL Server was at least 4 times quicker returning the results compared
to Derby. I had expected SQL Server to outperform Derby, but not by
such a huge factor. Is this result what is expected?
The initial test was based on a default, untuned installation. I then
followed tuning guidelines for Derby, increasing the page size to 32K
and increasing the maximum page count to far in excess of what should
be needed to return the amount of data I am testing. This gave some
improvements but it is still takes three times that of the same query
time on SQL Server.
As Derby is marketing itself on the same level as MySQL (Apache
provide performance figures comparing it to this) then I anticipated
similiar performance, but instead it is taking twice as long as I
consider reasonable. Is this in line with anyone elses experience?
I presume you created all indexes which exist on SQL server?
.
- Follow-Ups:
- Re: Apache Derby performance disappointing
- From: James Appleby
- Re: Apache Derby performance disappointing
- References:
- Apache Derby performance disappointing
- From: James Appleby
- Apache Derby performance disappointing
- Prev by Date: Apache Derby performance disappointing
- Next by Date: Re: Examples of real usage of outer joins?
- Previous by thread: Apache Derby performance disappointing
- Next by thread: Re: Apache Derby performance disappointing
- Index(es):
Relevant Pages
|
|