directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Peter <jmr...@iki.fi>
Subject [ApacheDS] groupofnames search is slow
Date Wed, 04 Feb 2015 11:53:16 GMT
Hi,

I'm using apacheds 2.0.0 M_19

ApacheDS has 11 group entries and some of them have 26 000 member
attributes.

I'm using a qucik search via apache directory studio:
(&(member=uid=john,uid=1.2.246.1.1.1111.10.0,ou=users,dc=test,dc=fi)(objectClass=groupOfNames))
Using a stopwatch I can see a 5 second delay before the result is visible.

Some other queries perform instantaneously.
Below is a snipet from the apacheDS log. It shows the search operation took
only 7070312ns or 7ms. After that apacheDS does something and the next log
entry is 5 seconds later.

Any idea's what is happening?

[13:29:19] DEBUG [org.apache.mina.filter.codec.ProtocolCodecFilter] -
Processing a MESSAGE_RECEIVED for session 1
[13:29:19] DEBUG [org.apache.mina.core.filterchain.IoFilterEvent] - Firing
a MESSAGE_RECEIVED event for session 1
[13:29:19] DEBUG [org.apache.directory.server.OPERATION_LOG] - >>
SearchOperation : SearchContext for Dn 'dc=test,dc=fi', filter
:'(&(member=uid=john,uid=1.2.246.1.1.1111.10.0,ou=users,dc=test,dc=fi)(objectClass=groupOfNames))'
[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Creating
ArrayTreeCursor ArrayTreeCursor (absent)
[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Closing
ArrayTreeCursor ArrayTreeCursor (absent)
[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Creating
ArrayTreeCursor ArrayTreeCursor (absent)
[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Closing
ArrayTreeCursor ArrayTreeCursor (absent)
[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor
SetCursor :
    Index : -1

[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Creating
EntryCursorAdaptor EntryCursorAdaptor

[13:29:19] DEBUG [org.apache.directory.CURSOR_LOG] - Creating
BaseEntryFilteringCursor BaseEntryFilteringCursor, no wrapped
No filter
No prefetched
[13:29:19] DEBUG [org.apache.directory.server.OPERATION_LOG] - <<
SearchOperation successful
[13:29:19] DEBUG [org.apache.directory.server.OPERATION_TIME] - Search
operation took 7070312 ns
[13:29:24] DEBUG [org.apache.directory.CURSOR_LOG] - Closing
BaseEntryFilteringCursor BaseEntryFilteringCursor, wrapped :
    EntryCursorAdaptor
        IndexCursor :
            SetCursor :
                Index : 5
                Size : 5
                IndexEntry[ null, 60c9656a-901c-4470-9fae-4676d425c29e ]
                IndexEntry[ null, 2b350745-0eb2-445e-8d21-aa0219903b49 ]
                IndexEntry[ null, 6f38d205-4252-4797-acb4-e71141af2912 ]
                IndexEntry[ null, 683493e6-f53e-4a19-bcd8-b385f09827d7 ]
                IndexEntry[ null, ec63d090-6d69-4b45-8d0a-499fa8c0d7ae ]
        Evaluator :


Thanks,
John

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message