On Wed, 2011-10-26 at 12:52 -0500, Endi Sukma Dewata wrote:
> On 10/26/2011 12:47 PM, Rob Crittenden wrote:
> >> The new option looks good, but it's still bound by the search size limit
> >> so it's not returning the complete set of primary keys. The UI needs to
> >> get the complete set in order to compute the pagination.
> >>
> >> To get the complete set the server probably needs to search the LDAP
> >> backend using simple paged results control. There's also a deferred
> >> ticket #81, but that's seems to be for supporting paged results in IPA's
> >> API.
> 
> > For huge installations there is no way we can do unbound queries. There
> > will always be some limit on the number of entries returned, searched, etc.
> 
> Yes, but the search limit using paged results needs to be reasonably 
> bigger than the standard 100 entries, enough to be used in most deployments.
> 

Btw. this is just our arbitrary limit. The default value is 100, but it
can be modified via ipa config-mod --searchrecordslimit=INT. You can
also use --sizelimit and --timelimit parameters for most of *-find
commands to control the limits.

I tried:
ipa user-find --pkey-only --sizelimit=0

and it returned all 300 records in 5.4 seconds.

Martin

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to