pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Vacuum analyze decreases speed
2+ messages / 2 participants
[nested] [flat]

* Vacuum analyze decreases speed
@ 2001-12-07 15:39 David M. Richter <d.richter@dkfz.de>
  2001-12-07 17:11 ` Re: Vacuum analyze decreases speed Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: David M. Richter @ 2001-12-07 15:39 UTC (permalink / raw)
  To: pgsql-sql

Hello!

We have postgresql 6.5.3
There is running a big database, the biggest table takes 1 Gigabayte
place.
We used vacuum every night, but without analyze.

So we decided, according of the suggestions of all the books , to make a
vacuum analyze.
Now, the speed is down. Not usable!
We recreated all the index. Nothing better!

We cannot update to 7.1x at a short time (means now, but is planed)
because this is a medical radiology database in heavy use. Maybe at a
later time.

What is vacuum analyze exactly doing? 

Where ist the statistic made by analyze stored? So I could just delete
it and make a normal vacuum without analyze to get the old state of the
database?

How can I redo that analyze to get the old state of the database?

I cannot give You an exact query. it doesnt matter, all queries are
slower than before.
#

Did you have experienced the same?
Any suggestions?

Thanks in advance

David

Attachments:

d.richter.vcf (text/x-vcard, 497B) download begin:vcard url;quoted-printable:http://mbi.DKFZ-Heidelberg.de/=0D=0A n:M. Richter;David x-mozilla-html:FALSE org:Deutsches Krebsforschungszentrum/German Cancer Research Center;Division Medizinische und Biologische Informatik version:2.1 email;internet:d.richter@dkfz-heidelberg.de adr;quoted-printable:;;Im Neuenheimer Feld 280 url: http://mbi.DKFZ-Heidelberg.de/=0D=0AD-69120 Heidelberg, Germany ;Heidelberg;Germany;; x-mozilla-cpt:;-17024 fn:David M. Richter end:vcard
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: Vacuum analyze decreases speed
  2001-12-07 15:39 Vacuum analyze decreases speed David M. Richter <d.richter@dkfz.de>
@ 2001-12-07 17:11 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-12-07 17:11 UTC (permalink / raw)
  To: David M. Richter <d.richter@dkfz.de>; +Cc: pgsql-sql

"DELETE FROM pg_statistic" should get you back where you were before
VACUUM ANALYZE.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-12-07 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 15:39 Vacuum analyze decreases speed David M. Richter <d.richter@dkfz.de>
2001-12-07 17:11 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox