| От | Richard Huxton |
|---|---|
| Тема | Re: Speed up slow select - was gone blind |
| Дата | |
| Msg-id | 424D45FE.3010808@archonet.com обсуждение исходный текст |
| Ответ на | Speed up slow select - was gone blind (Gary Stainburn <gary.stainburn@ringways.co.uk>) |
| Список | pgsql-sql |
Gary Stainburn wrote: > Hi folks. > > I've got my select working now, but I haven't received the speed > increase I'd expected. It replaced an earlier select which combined a > single explicit join with multiple froms. > > The first select is the old one, the second one is the new one (with a > new join). The new one takes 24 seconds to run while the old one took > 29. > > How can I redo the select to improve the speed, or what else can I do to > optimaise the database? You'll want to compare the output of EXPLAIN ANALYSE for each version. Post them here, or on the performance list. Also, make sure your basic PG tuning is ok. http://www.powerpostgresql.com/PerfList -- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера