Search Postgresql Archives

Re: Trying to figure out why these queries are so slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> I'd still recommend manually running ANALYZE on any involved tables,
> just in case.
>


Just out of curiosity....

Say I did run it. Would it make the query run a few orders of magnitude faster?

If you read my original post you'd see that I let the query run for
over an  hour before I killed it.  It seems to me that a query joining
two tables on primary keys, updating one field on one table with
another field on another table on less than 100K records ought to take
less than three minutes.

Do the database statistics go that far out of whack especially if
autovacuum is on?

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux