Re: [PERFORM] Slow Query

2007-09-09 Thread Shawn
On Mon, 03 Sep 2007 21:10:06 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: > Shawn <[EMAIL PROTECTED]> writes: > > You weren't kidding, that really made a difference. its .5 sec now > > on the run. I think the vacuuming not running for a few weeks is > > w

Re: [PERFORM] Slow Query

2007-09-03 Thread Shawn
On Mon, 03 Sep 2007 13:07:41 -0500 "Kevin Grittner" <[EMAIL PROTECTED]> wrote: > >>> On Mon, Sep 3, 2007 at 11:15 AM, in message > <[EMAIL PROTECTED]>, Shawn > <[EMAIL PROTECTED]> wrote: > > On Sun, 02 Sep 2007 10:49:09 -0500 "Kevin Grit

Re: [PERFORM] Slow Query

2007-09-03 Thread Shawn
On Sat, 01 Sep 2007 23:00:10 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: > Shawn <[EMAIL PROTECTED]> writes: > > The query just ran and here is the basic output: > > > UPDATE 15445 > > Time: 22121.141 ms > > > and > > &g

Re: [PERFORM] Slow Query

2007-09-03 Thread Shawn
Thanks Kevin, This one initially added about 10sec to the run but I added a HASH index on the alias field and its now about 5 sec average runtime, a net improvement. Shawn On Sun, 02 Sep 2007 10:49:09 -0500 "Kevin Grittner" <[EMAIL PROTECTED]> wrote: > >>> On

Re: [PERFORM] Slow Query

2007-09-01 Thread Shawn
- Seq Scan on shawns_data (cost=0.00..465.45 rows=15445 width=480) (actual time=0.034..67.743 rows=15445 loops=1) Total runtime: 1865.002 ms (2 rows) Shawn On Sat, 1 Sep 2007 13:18:16 -0700 Shawn <[EMAIL PROTECTED]>

Re: [PERFORM] Slow Query

2007-09-01 Thread Shawn
. I will also run a vacuum full analyze on it before the run and have timing on. Shawn On Sat, 01 Sep 2007 14:09:54 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: > Shawn <[EMAIL PROTECTED]> writes: > > update shawns_data set alias = null; > > > Alias is a type varcha

[PERFORM] Slow Query

2007-09-01 Thread Shawn
simple line takes 35 sec to complete. Other more complicated deletes and updates, some of the tables in this database are over 300 million records, take as much time as this simple query. My question: Is there a better, ie. faster, way to do this task? Shawn ---(end of

[PERFORM] Performance tradeoff

2005-03-02 Thread Shawn Chisholm
ld the query planner take advantage of that? Thanks, Shawn ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org