jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: performance question
Date Sun, 09 Dec 2007 11:41:35 GMT
Hi,

On Nov 29, 2007 9:49 AM, Eugeny N Dzhurinsky <bofh@redwerk.com> wrote:
> May be there is something we can do to relax repository when deletion
> operations occur?

Instead of doing a single large delete operation, you could try
deleting each node or subtree separately.

All nodes that are being deleted are loaded into the transient space
(in memory) of a session and the entire change-set is checked for
violations of referential integrity and other constraints before the
changes are persisted. Currently this operation blocks all other
(uncached) access to the repository, so it's normally better to split
large deletes (or imports, etc.) to smaller parts if you want to keep
concurrently accessing the repository.

BR,

Jukka Zitting

Mime
View raw message