[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1659426 - /subversion/trunk/subversion/libsvn_subr/sqlite.c

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 13 Feb 2015 13:55:46 +0100

On 12.02.2015 23:42, ivan_at_apache.org wrote:
> Author: ivan
> Date: Thu Feb 12 22:42:35 2015
> New Revision: 1659426
>
> URL: http://svn.apache.org/r1659426
> Log:
> Use journal_mode = TRUNCATE for sqlite [1] instead of default DELETE value.
> It makes svn checkout about 10% faster on Windows at expense of one empty
> file in .svn. Create/delete file is relatively expensive operation on
> Windows, especially if indexes/virus scanners are enabled.
>
> The TRUNCATE and DELETE journal modes are compatible, so different
> Subversion clients with different journal mode should just work with same
> working copy without problems.

Good catch. Should be faster on many other platforms, too.

-- Brane
Received on 2015-02-13 13:56:34 CET

This is an archived mail posted to the Subversion Dev mailing list.