Nsd.db size

Hi,

Recently I noticed that size of nsd.db grew up to 7GB. Is it normal if size of all zones is about 500MB?

Hi,

Recently I noticed that size of nsd.db grew up to 7GB. Is it normal if size of all zones is about 500MB?

P.S. I sent the same message some time ago, but it didn’t appear in the list.

Hi Peter,

Hi,

Recently I noticed that size of nsd.db grew up to 7GB. Is it normal
if size of all zones is about 500MB?

Depends on the zone contents. The nsd.db is organised for random
access speed, and not size, and that shows. In the source of nsd you
can do make nsd-mem and nsd-mem can use a config file (with master
zones) and then prints a memory estimate and a disk estimate.

P.S. I sent the same message some time ago, but it didn't appear in
the list.

Yes it has appeared (for me).

Best regards,
   Wouter

Thanks for reply Wouter,

I compiled nsd-mem and tried to use it, but it doesn’t work if zones are configured with use of patterns.
However nsd.db didn’t grow bigger from that time.