"=?utf-8?B?56ug5pmo5pumQOaYk+aZr+enkeaKgA==?=" <zhangche...@halodbtech.com> 
writes:
> And after a while, a system error occurred and&nbsp;unfortunately, just 
> caused clog file corrupted.&nbsp;&nbsp;
> So we need to restore the database from backup just because of the tiny clog 
> file corrupted.

I'm not seeing a large difference between this complaint
and whining because Unix doesn't have a way to recover from
"sudo rm -rf /".  clog is critical data: if you mess with
it you will destroy your database.  It is not the only
critical data in the system, either.

> Is there any chance to improve this?

We're not in the business of building doubly- or triply-redundant
storage.  The cost/benefit just isn't attractive for very many people.
If you don't trust your hardware, you can put your storage on RAID,
or replicate the database, etc.  If you have a DBA who thinks it's
cool to remove files they don't understand the purpose of, the answer
is to fire that DBA.

                        regards, tom lane


Reply via email to