Re: How to simulate crashes of PostgreSQL? - Mailing list pgsql-general

From Sergey Samokhin
Subject Re: How to simulate crashes of PostgreSQL?
Date
Msg-id e42595410908241326h5bc5df19pbc9189c91e990ed7@mail.gmail.com
Whole thread Raw
In response to Re: How to simulate crashes of PostgreSQL?  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: How to simulate crashes of PostgreSQL?
Re: How to simulate crashes of PostgreSQL?
Re: How to simulate crashes of PostgreSQL?
List pgsql-general
Hello!

> If, however, you mean a crash of the server machine PostgreSQL is
> runnning on, which is MUCH more likely and will have different
> effects/behaviour, then Ray Stell's advice to bring the interface down
> is probably pretty good.

Sorry for a bit ambiguous usage of both "crash" and "fault" terms. By
those words I meant crash of the server machine PostgreSQL is running
on, not the PostgreSQL itself. Network outages between client and
PostgreSQL are also kind of something I would like to simulate in any
way.

Though I don't think there are any differences between the crash of
PosgreSQL itself and the crash of the machine PostgreSQL is running on
from the client's point of view.

Yet another way to simulate this terrible behaviour I've found is to
stop PostgreSQL by "pg_ctl -m immediate" command.

Thanks to all who has answered in this topic! It was very helpful to read it!

--
Sergey Samokhin

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: R: Field's position in Table
Next
From: John R Pierce
Date:
Subject: Re: R: Field's position in Table