| От | Yonatan Goraly |
|---|---|
| Тема | Re: Slow performance with no apparent reason |
| Дата | |
| Msg-id | 3F9BCBF5.2090506@sbcglobal.net обсуждение исходный текст |
| Ответ на | Re: Slow performance with no apparent reason (Hannu Krosing <hannu@tm.ee>) |
| Список | pgsql-performance |
I run ANALYZE and the problem resolved Thanks >Yonatan Goraly kirjutas P, 26.10.2003 kell 00:25: > > >>I am in the process of adding PostgreSQL support for an application, >>in addition to Oracle and MS SQL. >>I am using PostgreSQL version 7.3.2, Red Hat 9.0 on Intel Pentium III >>board. >> >>I have a query that generally looks like this: >> >>SELECT t1.col1, t2.col1 FROM t1, t2 WHERE t1.x=t2.y AND t2.p='string' >>AND t2.q=1 >> >>This query is strikingly slow (about 100 sec when both t1 and t2 has >>about 1,200 records, compare with less than 4 sec with MS SQL and >>Oracle) >> >> > >always send results of EXPLAIN ANALYZE if you ask for help on [PERFORM] > >knowing which indexes you have would also help. > >and you should have run ANALYZE too. > >----------------- >Hannu > > > >
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера