[
https://issues.apache.org/jira/browse/DIRSERVER-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864946#comment-16864946
]
Emmanuel Lecharny commented on DIRSERVER-2168:
----------------------------------------------
Implementing the {{Add}} the suggested way speeds up the operation a bit (a few
%) :
{noformat}
Delta : 43391( 230 per s ) /61558
Delta search : 2504 for 111 entries
{noformat}
vs
{noformat}
Delta : 44781( 223 per s ) /64139
Delta search : 2472 for 111 entries
{noformat}
Note that the {{Add}} is faster but the {{Search}} is slower in the modified
test: the gain is 3% but could be slightly higher (we should run the test on
longer DNs and many times).
> Possible performance improvement in the Add operation
> -----------------------------------------------------
>
> Key: DIRSERVER-2168
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2168
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 2.0.0-M22
> Reporter: Emmanuel Lecharny
> Priority: Major
> Fix For: 2.0.0.AM26
>
>
> The {{Add}} operation is fetching two ID from the DN index :
> * The entry's ID
> * The parent's ID
> The thing is that when we fetch the entry's ID, we also fetch the parent's
> ID. It would be better to first fetch the parent's ID and the the entry,
> saving quite a lot of index access.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]