From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Index creation |
Date: | 2000-12-07 17:52:07 |
Message-ID: | 3944.976211527@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> writes:
>>>> dhcp=# create index idx_fqhname on hosts using hash(hostname);
>>>> CREATE
>>>> dhcp=# vacuum analyze;
>>>> NOTICE: Index tmp: NUMBER OF INDEX' TUPLES (61) IS NOT THE SAME AS HEAP'
>>>> (62). Recreate the index.
>>
> [snip]
>> If you see this in an otherwise-idle system, then it might be worth
>> worrying about...
> I retried, this time the system was completely idle, only one backend
> running (me). Same message. What should I do?
Oh, I hadn't noticed before that you were using a hash index. I'll bet
there's one tuple in the table that has a NULL hostname. Hash doesn't
index nulls ... but I don't think vacuum's count cross-check knows that.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Sterling | 2000-12-07 19:35:42 | Uninstall Everything. |
Previous Message | Helge Bahmann | 2000-12-07 17:15:29 | Re: Index creation |