Subject | Re: Corrupt GDB - Re Restore Crisis |
---|---|
Author | Alexander V.Nevsky |
Post date | 2002-09-30T16:57:52Z |
--- In ib-support@y..., "rodbracher" <rod@m...> wrote:
index which was broken. This is the reason why I recommended to make
this after dropping constraint/index. Or at least use explicit plan
like
Select key_field, count(key_field) from table
group by key_field
having count(*) > 1
PLAN (TABLE NATURAL)
the copying. Server should be stopped before file copy (shutdown
is'nt enough, it does'nt break connections, just stop them from
making new queries), and we should'nt just ussue command and go, we
should make shure server process really stops and don't makes garbage
collection.
Best regards, Alexander V.Nevsky.
> When I tried to activate the index in IBConsole I got the above sameRod, of course they were, but query you used to find them used the
> error. There were no key duplicates in the orig GDB
index which was broken. This is the reason why I recommended to make
this after dropping constraint/index. Or at least use explicit plan
like
Select key_field, count(key_field) from table
group by key_field
having count(*) > 1
PLAN (TABLE NATURAL)
> The corruption was caused by a transfer of the GDB from 1 server toThere were active server process which accessed gdb file in time of
> another - not good.
the copying. Server should be stopped before file copy (shutdown
is'nt enough, it does'nt break connections, just stop them from
making new queries), and we should'nt just ussue command and go, we
should make shure server process really stops and don't makes garbage
collection.
Best regards, Alexander V.Nevsky.