Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception

Поиск
Список
Период
Сортировка
Искать
От
Scott Marlowe
Тема
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception
Дата
Msg-id
dcc563d10808281542u383808bci4874713a31bd1cc6@mail.gmail.com
Ответ на
Список
Дерево обсуждения
select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Mark Lewis <mark.lewis@mir3.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Andrew Sullivan <ajs@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Tom Lane <tgl@sss.pgh.pa.us>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Andrew Sullivan <ajs@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Tom Lane <tgl@sss.pgh.pa.us>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Jeff Davis <pgsql@j-davis.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Jeff Davis <pgsql@j-davis.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception James Mansion <james@mansionfamily.plus.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Valentin Bogdanov <valiouk@yahoo.co.uk>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes"An I/O error occured while sending to the backend." exception "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Steve Atkins <steve@blighty.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Jerry Champlin" <jchamplin@absolute-performance.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Florian Weimer <fweimer@bfk.de>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Craig James <craig_james@emolecules.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Magnus Hagander <magnus@hagander.net>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Matthew Dennis" <mdennis@merfer.net>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Alvaro Herrera <alvherre@commandprompt.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Matthew Wakeling <matthew@flymine.org>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception "Scott Marlowe" <scott.marlowe@gmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception henk de wit <henk53602@hotmail.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Bill Moran <wmoran@collaborativefusion.com>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Shane Ambler <pgsql@Sheeky.Biz>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception DANIEL CRISTIAN CRUZ <daniel.cruz@sc.senai.br>
Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception Greg Smith <gsmith@gregsmith.com>
On Thu, Aug 28, 2008 at 2:29 PM, Matthew Wakeling  wrote:

> Another point is that from a business perspective, a database that has
> stopped responding is equally bad regardless of whether that is because the
> OOM killer has appeared or because the machine is thrashing. In both cases,
> there is a maximum throughput that the machine can handle, and if requests
> appear quicker than that the system will collapse, especially if the
> requests start timing out and being retried.

But there's a HUGE difference between a machine that has bogged down
under load so badly that you have to reset it and a machine that's had
the postmaster slaughtered by the OOM killer.  In the first situation,
while the machine is unresponsive, it should come right back up with a
coherent database after the restart.

OTOH, a machine with a dead postmaster is far more likely to have a
corrupted database when it gets restarted.

> Likewise, I would be all for Postgres managing its memory better. It would
> be very nice to be able to set a maximum amount of work-memory, rather than
> a maximum amount per backend. Each backend could then make do with however
> much is left of the work-memory pool when it actually executes queries. As
> it is, the server admin has no idea how many multiples of work-mem are going
> to be actually used, even knowing the maximum number of backends.

Agreed.  It would be useful to have a cap on all work_mem, but it
might be an issue that causes all the backends to talk to each other,
which can be really slow if you're running a thousand or so
connections.
В списке pgsql-performance по дате отправления
От: Scott Marlowe
Дата:
От: David Rowley
Дата:
FAQ