| От | Josh Berkus |
|---|---|
| Тема | Re: Table Partitioning and Rules |
| Дата | |
| Msg-id | 200307171238.42550.josh@agliodbs.com обсуждение |
| Ответ на | Re: Table Partitioning and Rules ("Girish Bajaj" <gbajaj@tietronix.com>) |
| Список | pgsql-sql |
Girish, > I cant possibly index all the cols in the table. Why not? Seriously, what you can do is use query logging to log the columns and combinations of columns that users most frequently ask for. Then you can index for those queries. Your partitioning scheme assumes that users will be searching on the last name most of the time, so I'd start with that. > Im getting a little confused here cause eventually I would want to join in > this 250 million gigantic table as well.. and that would be a real big > problem causing loads of sequential scans wouldn't it? Yes, it would. -- -Josh BerkusAglio Database SolutionsSan Francisco
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера