Search Postgresql Archives

Re: Preventing or controlling runaway queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric E <whalesuit@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux