🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Ray Banana Mon, 01 Jun 2009 08:33
Understanding OVDB
#81180
Author: Ray Banana
Date: Mon, 01 Jun 2009 08:33
18 lines
1896 bytes
Hi,

on my server inndf -n returns

21315783 overview records stored

whereas 

makehistory -O -x -S > somefile

will only write 18573506 overview records to the output file.
Any idea how this discrepancy can be accounted for? Could those be
expired overview records (I'm using "nocompact 1")?

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: Understanding OVDB
#81183
Author: Julien ÉLIE
Date: Mon, 01 Jun 2009 09:04
26 lines
1959 bytes
Hi Ray,

> on my server inndf -n returns
>
> 21315783 overview records stored
>
> whereas
>
> makehistory -O -x -S > somefile
>
> will only write 18573506 overview records to the output file.
> Any idea how this discrepancy can be accounted for? Could those be
> expired overview records (I'm using "nocompact 1")?

Maybe removed newsgroups?
Their articles eventually disappear from the history file but
the overview data remains...

-- 
Julien ÉLIE

« -- Et souvenez-vous ! La seule chose que nous ayons à craindre,
  c'est que le ciel nous tombe sur la tête !
  -- ...Et souvenez-vous, Romains, la seule chose que nous ayons
  à craindre, c'est les Gaulois ! » (Astérix) 
Re: Understanding OVDB
#81184
Author: Ray Banana
Date: Mon, 01 Jun 2009 09:16
43 lines
2963 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
 
>> on my server inndf -n returns
>> 21315783 overview records stored
>> whereas
>> makehistory -O -x -S > somefile
>> will only write 18573506 overview records to the output file.
>> Any idea how this discrepancy can be accounted for? Could those be
>> expired overview records (I'm using "nocompact 1")?
> Maybe removed newsgroups?
> Their articles eventually disappear from the history file but
> the overview data remains...

inndf -n shouldn't include removed newsgroups, as it reads the active
file and only queries the groups that exist in active:


    /* For the count, we have to troll through the active file and query the
       overview backend for each group. */
    if (ovcount) {
        active = concatpath(innconf->pathdb, INN_PATH_ACTIVE);
        qp = QIOopen(active);
        if (qp == NULL)
            sysdie("can't open %s", active);

        total = 0;
        group = QIOread(qp);
        while (group != NULL) {
            p = strchr(group, ' ');
            if (p != NULL)
                *p = '\0';
            if (overview_group(overview, group, &stats))
                total += stats.count;
            group = QIOread(qp);
        }
        QIOclose(qp);
        printf("%lu overview records stored\n", total);
    }


-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: Understanding OVDB
#81425
Author: Julien ÉLIE
Date: Sat, 20 Jun 2009 13:59
21 lines
1732 bytes
Hi Ray,

> on my server inndf -n returns
>
> 21315783 overview records stored
>
> whereas
>
> makehistory -O -x -S > somefile
>
> will only write 18573506 overview records to the output file.
> Any idea how this discrepancy can be accounted for? Could those be
> expired overview records (I'm using "nocompact 1")?

Does anyone have an idea about that behaviour?

-- 
Julien ÉLIE

« On ne va jamais si loin que lorsque l'on ne sait pas où l'on va. » 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads