| От | Matt Mello |
|---|---|
| Тема | Re: Indexing foreign keys |
| Дата | |
| Msg-id | 3E359D06.5020408@spaceship.com обсуждение исходный текст |
| Ответ на | Indexing foreign keys (Matt Mello <alien@spaceship.com>) |
| Ответы |
Re: Indexing foreign keys
|
| Список | pgsql-performance |
Yes, I had not only done a "vacuum full analyze" on the PG db once I stuffed it, but I also compared that with an IFX db that I had run "update statistics high" on. Things are much better with the FK indexes. Did the docs say to index those FK fields (is that standard in the DB industry?), or was I just spoiled by IFX doing it for me? ;) Thanks! Chad Thompson wrote: > Make sure that you've run a vacuum and an analyze. There is also a > performance hit if the types of the fields or values are different. ie int > to int8 -- Matt Mello
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера