| От | Simon Riggs |
|---|---|
| Тема | Re: [HACKERS] table partioning performance |
| Дата | |
| Msg-id | 1168631454.3990.129.camel@silverbirch.site обсуждение исходный текст |
| Ответ на | Re: [HACKERS] table partioning performance ("Jim C. Nasby" <jim@nasby.net>) |
| Список | pgsql-performance |
On Thu, 2007-01-11 at 15:01 -0600, Jim C. Nasby wrote: > I'm wondering if you see any issues with COPYing into a partitioned > table that's using triggers instead of rules to direct data to the > appropriate tables? The data demographics usually guides you towards what to do. You could COPY into the table that would receive most rows and use before triggers to INSERT into the other tables, rather than the main one. I'd be surprised if that was very fast for an even distribution though. It could well be faster if you have a small number of rows into a large number of targets because that would be quicker than re-scanning a temp table repeatedly just to extract a few rows each time. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера