case for lock_timeout
От | |
---|---|
Тема | case for lock_timeout |
Дата | |
Msg-id | 3840.220.224.18.68.1088640285.squirrel@mail.trade-india.com обсуждение исходный текст |
Ответы |
Re: case for lock_timeout
|
Список | pgsql-general |
Hi, With reference to: http://archives.postgresql.org/pgsql-hackers/2004-06/msg00935.php Consider a case 1. wherein a database dump takes 2 hrs to complete. 2. A cron gets fired which drops a certain table and recreates it. 3. A set of frequently requested web pages depends on reading from the table in 2 Since 2 will wait for 1 till it finishes, and 3 will wait for 2 this means those set of webpages will become inaccessible while the backup is in progress. Whereas if we have something like a lock_timeout 2 will abort within a limited time duration automatically and the sys admin could get notified to reschedule it and this problem can get averted. I feel lock_timeout it will be a nice feature . Lemme know what would be the solution of the above problem from existing set of features. Regds Mallah. ----------------------------------------- Over 1,00,000 exporters are waiting for your order! Click below to get in touch with leading Indian exporters listed in the premier trade directory Exporters Yellow Pages. http://www.trade-india.com/dyn/gdh/eyp/
В списке pgsql-general по дате отправления: