Subject | Re: [firebird-support] Odd problem - inconsistent result set |
---|---|
Author | Milan Babuskov |
Post date | 2008-07-09T14:08:51Z |
Sergio H. Gonzalez wrote:
forced-writes OFF.
you start the query that uses it?
example, if you can afford to lose one day's worth of changes in the
database, then do backup once per day.
--
Milan Babuskov
http://www.guacosoft.com
> Sorry about the intromission... but I'd like to ask some questions on thisI've seen it happen about once a year on each of my databases that have
> matter:
>
> 1) How can a FB index be damaged? I didn't know that was a risk in FB...
forced-writes OFF.
> 2) It works in the same way that DBFs ? I mean: a bad index can cause badYes, if the query uses that index.
> resuls?
> 3) It is possibble for the engine to tell if there is a bad index?You can use gfix to find those easily. Or do you mean at run-time when
you start the query that uses it?
>> Does you did backup\restore circle for this database ?I believe he asked you that because backup+restore fixes all broken indexes.
>
> 1) Is there any "correct" way to do this?
> I do it with a .BAT file, and rename the restored database to theIt all depends on the amount of data you can affort to lose. For
> original one. Would you be so kind to show how do you do it? And how often?
example, if you can afford to lose one day's worth of changes in the
database, then do backup once per day.
--
Milan Babuskov
http://www.guacosoft.com