| От | Tom Lane |
|---|---|
| Тема | Re: Postgres, tablespaces, and quotas |
| Дата | |
| Msg-id | 23638.1115305806@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Postgres, tablespaces, and quotas (John Browne <jkbrowne@gmail.com>) |
| Список | pgsql-general |
John Browne <jkbrowne@gmail.com> writes:
> I was just curious about what would happen given the following scenario:
> - Unix user has their own tablespace (and corresponding database)
> stored in /home/someuser/mydata
> - Quotas are enabled on /home
> - User reaches their quota, effectively causing only this tablespace
> to run out of disk space.
> How would postgres handle this scenario?
It's not tested very often but I think it should work all right ---
insertions and updates into that tablespace might fail but otherwise
no problem.
What you want to watch out for is running out of space for pg_xlog
or pg_clog. Either one will cause a database panic shutdown. No
data loss, but no service either till you free up some space :-(
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера