[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [Q] Logging to a directory




Alex Zeltser wrote:
> 
> - Is it really a bad, bad idea to log to a directory when the anticipated
> log volume is high?

Most directory servers are optimised for reads, not writes... so generally
your application profile doesn't suit storage in a directory server.

You could boost write performance by using a fancy RAID controller.

> - Can anything be done to improve performance of batch delete's?  (We do
> have to index several attributes in the log entries, but what can we do
> short of not indexing?)

There's no batch update facility in netscape directory 4.x.

> - Are there any calls (or even standalone tools) for compacting the DB
> files?

No.

> - (As an aside question, does anyone know if the space in these DB files is
> reclaimed later when new objects are allocated, and so their size can be
> expected to remain more or less consistent after a certain point?)

Yes.

> - Does anyone have any general words of wisdom when it comes to logging in
> directory-enabled apps?  Log to the directory?  Don't?  Log, but with
> certain constraints?  Tips?

I can't think of anyone who's tried doing this.
Clearly an interesting use of the directory,
but you might be a couple of years ahead of us...

John