| От | lars |
|---|---|
| Тема | Re: Statistics and Multi-Column indexes |
| Дата | |
| Msg-id | 4E20B3E5.6070507@yahoo.com обсуждение исходный текст |
| Ответ на | Re: Statistics and Multi-Column indexes (Samuel Gendler <sgendler@ideasculptor.com>) |
| Список | pgsql-performance |
On 07/10/2011 02:31 PM, Samuel Gendler wrote: > What about partitioning tables by tenant id and then maintaining > indexes on each partition independent of tenant id, since constraint > exclusion should handle filtering by tenant id for you. That seems > like a potentially more tolerable variant of #5 How many tenants are > we talking about? I gather partitioning starts to become problematic > when the number of partitions gets large. > I thought I had replied... Apparently I didn't. The database can grow in two dimensions: The number of tenants and the number of rows per tenant. We have many tenants with relatively little data and a few with a lot of data. So the number of tenants is known ahead of time and might be 1000's. -- Lars
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера