Re: ANALYZE command question

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Igor Stassiy *EXTERN*" <istassiy(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: ANALYZE command question
Date: 2015-03-03 09:49:01
Message-ID: A737B7A37273E048B164557ADEF4A58B365A257A@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Igor Stassiy wrote:
> Will calling ANALYZE table; twice in a row actually run the command twice ? Or there is some sort of
> check that if the table is not changed since the time of first call the second command will not
> actually be run?

The statistics will be calculated each time you run ANALYZE.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Dizon 2015-03-03 09:59:46 POSTGRES to ORACLE dump
Previous Message Igor Stassiy 2015-03-03 09:01:20 ANALYZE command question