RE: SQLite and callbacks
From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 8 Feb 2011 10:50:46 +0100
> -----Original Message-----
On NTFS just creating a new 0 byte tempfile requires an fsync (and probably a few in a row), so using the in memory buffers instead of a tempfile improved our SQLite performance significantly (and not only on Windows). Assuming using tempfiles was cheap was one of the major slowdowns of WC-1.0 on Windows.
Please don't suggest 'just making it file backed' as an easy feature if you only measured it on a non journaling filesystem.
With our current query scheme on 'common operations', switching to file based temporary storage will require rewriting almost every sql operation and how we use it to have release acceptable performance on Windows. A simple 'OR' or using a subquery may introduces a temptable.
In this thread we are looking at property storage... which was probably always slower than it is today.
Yes, we can improve that, but please don't suggest introducing a 30% slowdown on the more common code paths like those used in 'svn status' or 'svn update' to improve reading many properties, without measuring the consequences.
Bert
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.