Hi Grigory, Hi Jean-Philippe,

Indeed, robinhood stores resolved user and group names in the DB.

There are pros and cons about that:
Pros:
- They are particularly adapted to implement policies based on 
user/group name matching (owner == "foo*", ...)
- Names allows sites to get human readable per user/group customized 
reports with a single SQL request without any post-processing
Cons:
- numerical ids may optimize DB storage and processing
- they are more adapted to specific configurations with particular uid 
mappings

I know Cray developped a patch to store numerical ids in robinhood DB.
I don't know what is the current status of this patch (if it applies to 
current robinhood version), but it may interest you:
https://github.com/fzago-cray/robinhood/commit/8c156dfb03af906eca27c9ab5245bf1d9546453a

I nice solution in the future would be to make this a parameter in 
robinhood config to give the choice of the storage format of uids/gids 
in the DB.

Thomas.


On 03/17/15 22:00, Jean-Philippe Dionne wrote:
> I also think the
> database should only contain uid and gid.  The name resolution would
> be done afterwards by the query tools.
>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to