Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0553174A8 for ; Tue, 1 Nov 2011 18:30:31 +0000 (UTC) Received: (qmail 59762 invoked by uid 500); 1 Nov 2011 18:30:30 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 59741 invoked by uid 500); 1 Nov 2011 18:30:30 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 59734 invoked by uid 99); 1 Nov 2011 18:30:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:30:30 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.103.221.47] (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:30:23 +0000 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20111101183001.JLFL13501.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Tue, 1 Nov 2011 18:30:01 +0000 Received: from cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com ([86.16.124.205]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20111101183001.EFMA24017.aamtaout03-winn.ispmail.ntl.com@cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com>; Tue, 1 Nov 2011 18:30:01 +0000 Received: by cpc2-farn6-0-0-cust204.6-2.cable.virginmedia.com (Postfix, from userid 1000) id 7B117361A3; Tue, 1 Nov 2011 18:29:59 +0000 (GMT) From: Philip Martin To: michael_rytting@agilent.com Cc: users@subversion.apache.org Subject: Re: Apparent "svn rm" scaling problem in 1.7.x References: <20111031154444.GF14858@ted.stsp.name> <20111101084921.GB32398@ted.stsp.name> <20111101143505.GE32398@ted.stsp.name> <20111101170007.GG32398@ted.stsp.name> <20111101172147.GH32398@ted.stsp.name> <20111101180056.GJ32398@ted.stsp.name> Date: Tue, 01 Nov 2011 18:29:59 +0000 In-Reply-To: <20111101180056.GJ32398@ted.stsp.name> (Stefan Sperling's message of "Tue, 1 Nov 2011 19:00:57 +0100") Message-ID: <8739e7vgpk.fsf@stat.home.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=dmETdrZ3I3YA:10 a=Jkm4nlM4s88A:10 a=sOaj6hhuNKAA:10 a=kj9zAlcOel0A:10 a=6TW8koUxAAAA:8 a=2OJJJaDSPOTMwaRZ1tMA:9 a=QzsiaRo4ohVr_GmbRk4A:7 a=CjuIK1q_8ugA:10 a=fXL8MmT3visA:10 a=yX0XLuJ7PK4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Stefan Sperling writes: > On Tue, Nov 01, 2011 at 11:31:35AM -0600, michael_rytting@agilent.com wrote: > Note that I am not going to commit this as is. > It just tests whether the overhead of sorting paths in sqlite matters > much on NFS. > > Index: subversion/libsvn_wc/wc-queries.sql > =================================================================== > --- subversion/libsvn_wc/wc-queries.sql (revision 1196149) > +++ subversion/libsvn_wc/wc-queries.sql (working copy) > @@ -1208,7 +1208,6 @@ WHERE wc_id = ?1 > > -- STMT_SELECT_DELETE_LIST > SELECT local_relpath FROM delete_list > -ORDER BY local_relpath > > -- STMT_FINALIZE_DELETE > DROP TABLE IF EXISTS delete_list I put in the ORDER BY to preserve the parents before children notification used by 1.6. I wonder if that notification order is important? A patch that we could commit without affecting the order is: Index: subversion/libsvn_wc/wc-queries.sql =================================================================== --- subversion/libsvn_wc/wc-queries.sql (revision 1196106) +++ subversion/libsvn_wc/wc-queries.sql (working copy) @@ -1193,7 +1193,7 @@ CREATE TEMPORARY TABLE delete_list ( /* ### we should put the wc_id in here in case a delete spans multiple ### working copies. queries, etc will need to be adjusted. */ - local_relpath TEXT PRIMARY KEY NOT NULL + local_relpath TEXT PRIMARY KEY NOT NULL UNIQUE ) /* This matches the selection in STMT_INSERT_DELETE_FROM_NODE_RECURSIVE */ -- Philip