Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 99472 invoked from network); 1 Jul 2006 01:22:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2006 01:22:13 -0000 Received: (qmail 50345 invoked by uid 500); 1 Jul 2006 01:22:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50294 invoked by uid 500); 1 Jul 2006 01:22:12 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50285 invoked by uid 99); 1 Jul 2006 01:22:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 18:22:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 18:22:11 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2613541034C for ; Sat, 1 Jul 2006 01:20:32 +0000 (GMT) Message-ID: <32840577.1151716832153.JavaMail.jira@brutus> Date: Sat, 1 Jul 2006 01:20:32 +0000 (GMT+00:00) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-888) improve performance of page allocation In-Reply-To: <757651826.1138469913105.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-888?page=all ] Kathey Marsden updated DERBY-888: --------------------------------- Component: Store > improve performance of page allocation > -------------------------------------- > > Key: DERBY-888 > URL: http://issues.apache.org/jira/browse/DERBY-888 > Project: Derby > Type: Improvement > Components: Store > Reporter: Mike Matrigali > Assignee: Mike Matrigali > Priority: Minor > Fix For: 10.2.0.0 > > Improve performance of page allocation by no longer requiring sync of the allocated pages. The reason for the sync > currently is so that during redo recovery we did not have to handle the case of redoing the allocate and finding no space > available on the disk. During tasks like single user load this sync allocation is a significant performance issue - in the > case where one does 1000 insert per transaction the total time aproaches very close to durability=test where no syncing > is done in the whole system. > For instance in a test of loading a 150 meg db with a number of tables and indexes, on a 1.7 ghz laptop with one ide disk, > sun jdk1.4.2, windows XP > i got the following types of results: > default system: 6 minutes > no alloc sync: 1 minute, 43 seconds > no syncing: 1 minute , 1 second > Once syncing is disabled then recovery must be enhanced to handle the possible out of space condition. Recovery already > handles out of space during undo, so this will just handle the error the same as that. It will stop recovery and produce an error > indicating that user must add disk space and rerun recovery before system can be brought online. I actually think on most > JVM's/OS's this won't happen as the system will still be asking the JVM/OS for the space, just not syncing the values in those > pages to disk. Most OS's at this point will reserve the space in the file tables and not let others grab that space. > This project will make sure that out of space recovery path has tests. It will also make sure that redo recovery encountering garbage > in a newly allocated page during redo of an create page is tested. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira