pg_autovacuum is nice ... but ...
От | Marc G. Fournier |
---|---|
Тема | pg_autovacuum is nice ... but ... |
Дата | |
Msg-id | 20041103155855.O82047@ganymede.hub.org обсуждение исходный текст |
Ответы |
Re: pg_autovacuum is nice ... but ...
|
Список | pgsql-www |
Dave and I have been spending today trying to narrow down why things are so slow ... using the current index.php as a test bed, since its simple enough to debug, we removed the (require) that was at the top, and pulled the file in directly, so that there was no 'reading from the file system' issue involved ... still slow as molasses ... comment out the database connections, zippy as can be ... of course, no data, since the queries failed ... but ... Do a vacuum full analyze on the two databases being called, and load time went from 2.4sec to .46sec: www# time fetch http://www.postgresql.org/index.php fetch: http://www.postgresql.org/index.php: size of remote file is not known index.php 24 kB 2737 kBps 0.000u 0.077s 0:00.46 15.2% I've been able to drop Alexey's down by about half, from 5sec to 2.5sec (based on multiple loads, the lowest I've seen is 1.91sec) ... but, at least now when I go to look at the site in the browser, it isn't abysmally slow, only slow ... Random samplings on index.php for the current site, I'm getting as low as .19sec ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
В списке pgsql-www по дате отправления: