| От | Tom Lane |
|---|---|
| Тема | Re: Preventing or controlling runaway queries |
| Дата | |
| Msg-id | 1744.1133811345@sss.pgh.pa.us обсуждение |
| Ответ на | Preventing or controlling runaway queries (Eric E <whalesuit@gmail.com>) |
| Ответы |
Re: Preventing or controlling runaway queries
|
| Список | pgsql-general |
Eric E <whalesuit@gmail.com> writes:
> I've recently had a couple worrisome experiences with runaway
> queries in postgres 7.4 and 8.0, and I'm wondering what I can do to
> control or prevent these. When I ran a query against a large table, I
> accidentally omitted mistyped a table name, and a table was
> automatically added, resulting in a massive result set that crash my
> postmaster instance.
If it crashed your backend (as opposed to your client), we'd like to
see more details.
> Is there some way to limit the amount of
> memory a single query process can use?
See ulimit.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера