Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: auto-vacuum...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 15490 of 16953
Post > Topic >>

Re: auto-vacuum questions

by scott.marlowe@[EMAIL PROTECTED] ("Scott Marlowe") May 9, 2008 at 01:17 AM

On Thu, May 8, 2008 at 12:10 PM, John Gateley <gateley@[EMAIL PROTECTED]
> wrote:
>
> On Thu, 8 May 2008 10:58:47 -0700
>  Alan Hodgson <ahodgson@[EMAIL PROTECTED]
> wrote:
>
>  > On Thursday 08 May 2008, John Gateley <gateley@[EMAIL PROTECTED]
> wrote:
>  > > But the new database, mydbtest, always has slow queries.
>  > > I run an analyze and they speed up.
>  >
>  > Do the query plans actually change, or are you just seeing caching
effects
>  > from running the analyze?
>
>  The query plans actually change. I'm pretty sure that the auto-vacuum
>  wasn't happening, I'm going to test this tomorrow morning with
>  a fresh copy.

Well, if you're testing on different values, then it should change
based on changes in selectivity and range.  But if the where clause is
the same, the query plan probably isn't changing between runs.

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




 6 Posts in Topic:
auto-vacuum questions
gateley@[EMAIL PROTECTED]  2008-05-08 09:43:02 
Re: auto-vacuum questions
alvherre@[EMAIL PROTECTED  2008-05-08 10:54:32 
Re: auto-vacuum questions
gateley@[EMAIL PROTECTED]  2008-05-08 10:04:20 
Re: auto-vacuum questions
ahodgson@[EMAIL PROTECTED  2008-05-08 10:58:47 
Re: auto-vacuum questions
gateley@[EMAIL PROTECTED]  2008-05-08 13:10:12 
Re: auto-vacuum questions
scott.marlowe@[EMAIL PROT  2008-05-09 01:17:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 9:56:14 CDT 2008.