[389-devel] RFC: New Design: Fine Grained ID List Size

Noriko Hosoi nhosoi at redhat.com
Fri Sep 6 23:31:56 UTC 2013


Rich Megginson wrote:
> Please review and comment:
>
> http://port389.org/wiki/Design/Fine_Grained_ID_List_Size
>
> -- 
> 389-devel mailing list
> 389-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-devel
Hi Rich,

A nice design!  It looks promising to solve the sticky problems.

Can I add a request -- a flag or something to the value to switch the 
behaviour?  E.g.,

nsIndexIDListScanLimit: maxsize[:indextype]/[:flags]/[:value[,value...]]

The flags could be KEYWORD_1|KEYWORD_2|...  By default, no flags.

I only have one use case for now, but we may want to apply the scan 
limit only when the specific filter is in AND, i.e., 
(&(objectclass=inetorgperson)(uid=UserA)), but not to the standalone 
filter (objectclass=inetorgperson).  This could be useful when DB stores 
millions of inetorgperson's as well as millions of other objectclasses.  
But not useful at all, if 99% of the entries are inetorgperson.  So, for 
example, the keyword could be ANDONLY...?

Thanks,
--noriko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-devel/attachments/20130906/0f1d39a1/attachment.html>


More information about the 389-devel mailing list