Re: [SQL] Performance issue

2005-09-12 Thread Tim Goodaire
On Tue, Aug 30, 2005 at 03:38:52PM +0700, Ricky Sutanto wrote: > I use Apache Web Server and PostgreSQL 7.3 to collect data everyday. Now it > has been 5 month since I install that server. > > I wonder why now my web very slow to retrieve and display data? > When I check the memory, I found that

Re: [SQL] Performance issue

2005-08-30 Thread Bruno Wolff III
On Tue, Aug 30, 2005 at 15:42:06 +0700, Ricky Sutanto <[EMAIL PROTECTED]> wrote: > > I use Apache Web Server and PostgreSQL 7.3 to collect data everyday. Now it > has been 5 month since I install that server. > > I wonder why now my web very slow to retrieve and display data? > When I check t

Re: [SQL] Performance issue

2005-08-30 Thread Michael Fuhr
On Tue, Aug 30, 2005 at 03:42:06PM +0700, Ricky Sutanto wrote: > I use Apache Web Server and PostgreSQL 7.3 to collect data everyday. Now it > has been 5 month since I install that server. Which release of PostgreSQL 7.3? What operating system and version? > I wonder why now my web very slow to

Re: [SQL] Performance issue

2004-04-30 Thread Tom Lane
"Michael L. Hostbaek" <[EMAIL PROTECTED]> writes: > I cron script is being run every night (while very low db activity), > that deletes all rows from the table, and injects a bunch of new data... You should vacuum in between ... or even better, do the deletion with TRUNCATE.

Re: [SQL] Performance issue

2004-04-27 Thread Paul Thomas
On 27/04/2004 10:12 Michael L. Hostbaek wrote: [snip] Is this normal ? If I run the same select on another table in the same database with ~40.000 rows, it takes approx 820.00ms... You would probably get better answers on the correct list but my guess is that your fsm setting might be too low for

Re: [SQL] performance issue with distance function

2001-07-26 Thread Jeff Hoffmann
Ryan Littrell wrote: > > I am trying to execute the following command: > > SELECT R.*, distance(L1.lat, L1.lon, L2.lat, L2.lon) AS Distance > FROM Restaurants R, Locations L1, Locations L2, FoodTypeRestaurantIDX FTR > WHERE R.Zipcode=L1.Zipcode AND L2.Zipcode = '93705' AND R.Delivery=true AND >