Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 54854 invoked from network); 22 Apr 2010 19:44:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 19:44:55 -0000 Received: (qmail 30831 invoked by uid 500); 22 Apr 2010 19:44:55 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 30739 invoked by uid 500); 22 Apr 2010 19:44:55 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 30732 invoked by uid 99); 22 Apr 2010 19:44:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 19:44:54 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 19:44:47 +0000 Received: by pwj2 with SMTP id 2so6342406pwj.31 for ; Thu, 22 Apr 2010 12:44:25 -0700 (PDT) Received: by 10.115.132.31 with SMTP id j31mr230803wan.114.1271965465732; Thu, 22 Apr 2010 12:44:25 -0700 (PDT) Received: from [192.168.0.100] ([72.14.240.11]) by mx.google.com with ESMTPS id 22sm246226pzk.9.2010.04.22.12.44.22 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 12:44:24 -0700 (PDT) Message-ID: <4BD0A70A.1030907@absinth.fi> Date: Thu, 22 Apr 2010 22:44:10 +0300 From: Rami Ojares User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: derby-user@db.apache.org Subject: Re: performance: Derby vs H2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think the best authority on this is Thomas Mueller (father of h2) who has actually done some performance comparisons between databases. I remember reading some debate about this on some discussion groups a year or two ago. If you want peer reviewed scientific knowledge then you probably should run those tests yourself. I have seen sometimes Sun employees referring on this list to some sort of benchmarks for derby. But I have not found anything public from google. I think the countless benchmarks published by different database companies have proven that performance is such a complex issue that any type of result can be manufactured. However when done well and extensively they can give some overall understanding. Because H2 has only one developer the code is a bit more straightforward and simpler than Derby that has a rich and long history as a codebase. Therefore I think that H2 is a tad cleaner and faster than Derby in basic operation. Both databases have queries that are very slow. One could call them bugs. - rami On 22.4.2010 19:47, Rayson Ho wrote: > Is it really true that H2 is faster than Derby?? > > http://en.wikipedia.org/wiki/Apache_Derby > > A year ago, I tried to remove the section that says that H2 is faster, > but someone always added it back into the article. And besides me, > seems like no one really care about the "Comparison to other embedded > SQL Java databases" section. > > http://en.wikipedia.org/wiki/Talk:Apache_Derby#Benchmarks > > Is it a well-known fact that H2 is always faster?? > > And there is also H2's benchmark page: > > http://www.h2database.com/html/performance.html > > Is it a fair comparsion?? > > Rayson >