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

Re: log files and recovery



On Thursday 04 June 2009 17:24:48 mukim pathan wrote:
> Hi all,
>
> I am unable to understand the answers for following question which i got on
> net. This might be naive questions but I really need to know the answers.
>
> 1. why does ldap write log files and what are its content?

To ensure that changes aren't lost, while getting decent performance. The same 
reason any database has transaction logs.

> 2. why does ldap go through all log files during recovery?

Most likely because you didn't configure checkpointing,  see the 'checkpoint' 
directive in 'man slapd-bdb' and 'man slapd-hdb'.

Regards,
Buchan