Subject | Corrupted primary key |
---|---|
Author | Alec Swan |
Post date | 2010-07-21T16:29:54Z |
Hello,
We just ran into a problem (in production) where a corrupted primary key
caused the query to return incorrect results. We rebuilt statistics on all
indexes in the database, but that didn't fix the problem. We had to drop and
re-create the primary key to fix the problem.
Our maintenance plans "set statistics" as Ann suggested in this thread (
http://tech.groups.yahoo.com/group/firebird-support/message/106971).
However, this new problem requires us to drop and recreate primary keys.
My understanding is that the original problem reported in (
http://tech.groups.yahoo.com/group/firebird-support/message/106971) was
caused by "bad memory chip" or maybe some other hardware failure. Has there
been any work done in the recent Firebird releases to protect or recover
from this kind of problems? If not, how can we reduce the likelihood of
these problems occurring in the future, e.g. flush to disk more often?
Thanks,
Alec
[Non-text portions of this message have been removed]
We just ran into a problem (in production) where a corrupted primary key
caused the query to return incorrect results. We rebuilt statistics on all
indexes in the database, but that didn't fix the problem. We had to drop and
re-create the primary key to fix the problem.
Our maintenance plans "set statistics" as Ann suggested in this thread (
http://tech.groups.yahoo.com/group/firebird-support/message/106971).
However, this new problem requires us to drop and recreate primary keys.
My understanding is that the original problem reported in (
http://tech.groups.yahoo.com/group/firebird-support/message/106971) was
caused by "bad memory chip" or maybe some other hardware failure. Has there
been any work done in the recent Firebird releases to protect or recover
from this kind of problems? If not, how can we reduce the likelihood of
these problems occurring in the future, e.g. flush to disk more often?
Thanks,
Alec
[Non-text portions of this message have been removed]