| От | Shridhar Daithankar |
|---|---|
| Тема | Re: table size |
| Дата | |
| Msg-id | 1379.192.168.7.161.1064312645.squirrel@mail4.pspl.co.in обсуждение исходный текст |
| Ответ на | table size (David McLoughlin <dmcloughlin@sherkin.com>) |
| Список | pgsql-general |
Hi, > I have a table in my database which can grow very quickly. Is > there some way to partition the table so that when it reaches a certain > size the > information in it is copied to a temporary table and the > original table is free again. You can create a view and update the view definition periodically to add/remove tables from view definition. Your data insertion should be pointed to a new table after specific period. That way you can achieve table partitioning. Since DDLs in postgresql are transactable, it should be absolutely transparent to the application and other users. HTH Shridhar
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера