Re: Time limit for a process to hold Content lock in Buffer Cache

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time limit for a process to hold Content lock in Buffer Cache
Дата
Msg-id 15879.1369321261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Time limit for a process to hold Content lock in Buffer Cache  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Time limit for a process to hold Content lock in Buffer Cache
Re: Time limit for a process to hold Content lock in Buffer Cache
Список pgsql-hackers
Atri Sharma <atri.jiit@gmail.com> writes:
> BTW, what is your opinion on a rogue client's damaging capabilities?
> Theoretically, what can a client which tries to stall the backend
> target?

If you let an uncooperative user issue arbitrary SQL queries, he can
do any number of things to put server performance into the tank.
For instance, take out exclusive locks on all your tables and just
go to sleep (although I think this is limited by table permissions in
recent PG versions).  Or start up an unconstrained join on some giant
tables.  etc. etc.  This isn't an area that people have felt deserved
adding a lot of overhead to control.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: Time limit for a process to hold Content lock in Buffer Cache
Следующее
От: Atri Sharma
Дата:
Сообщение: Re: Time limit for a process to hold Content lock in Buffer Cache