dbTalk Databases Forums  

8.0.0beta3 vacuum analyze

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss 8.0.0beta3 vacuum analyze in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ed L.
 
Posts: n/a

Default 8.0.0beta3 vacuum analyze - 10-17-2004 , 11:49 PM







I *think* I'm seeing "vacuum analyze" queries launched automatically on an
8.0.0beta3 (unless I have a rogue autovac running that I haven't spotted).
Is this something new in 8.0 and to be expected?

My settings:

#vacuum_cost_delay = 0 # 0-1000 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
#vacuum_cost_limit = 200 # 0-10000 credits

Ed


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #2  
Old   
Neil Conway
 
Posts: n/a

Default Re: 8.0.0beta3 vacuum analyze - 10-18-2004 , 01:43 AM






On Mon, 2004-10-18 at 14:49, Ed L. wrote:
Quote:
I *think* I'm seeing "vacuum analyze" queries launched automatically on an
8.0.0beta3 (unless I have a rogue autovac running that I haven't spotted).
Is this something new in 8.0 and to be expected?
No.

Quote:
#vacuum_cost_delay = 0 # 0-1000 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
#vacuum_cost_limit = 200 # 0-10000 credits
Vacuum cost delay affects the way that VACUUM behaves, not the frequency
with which it is executed.

-Neil



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



Reply With Quote
  #3  
Old   
Christopher Browne
 
Posts: n/a

Default Re: 8.0.0beta3 vacuum analyze - 10-18-2004 , 07:49 AM



In the last exciting episode, pgsql (AT) bluepolka (DOT) net ("Ed L.") wrote:
Quote:
I *think* I'm seeing "vacuum analyze" queries launched automatically on an
8.0.0beta3 (unless I have a rogue autovac running that I haven't spotted).
Is this something new in 8.0 and to be expected?

My settings:

#vacuum_cost_delay = 0 # 0-1000 milliseconds
#vacuum_cost_page_hit = 1 # 0-10000 credits
#vacuum_cost_page_miss = 10 # 0-10000 credits
#vacuum_cost_page_dirty = 20 # 0-10000 credits
#vacuum_cost_limit = 200 # 0-10000 credits
None of this would cause vacuums to be initiated.

The above configuration settings allow making vacuums "relatively
lazy;" instead of them running full-bore, and killing cache/chewing
I/O, they can do a few blocks worth of work, and then sleep a bit.

They are all commented out, so they won't have _any_ effect.

Note that this "lazier vacuuming" can be run alongside ARC to get some
synergistic benefit:

- ARC prevents vacuums from trashing the shared memory cache;

- "lazy vacuum" / "vacuum delay" prevents vacuums from taking over
all I/O
--
let name="cbbrowne" and tld="linuxfinances.info" in String.concat "@" [name;tld];;
http://www3.sympatico.ca/cbbrowne/
Fatal Error: Found [MS-Windows] System -> Repartitioning Disk for
Linux...
-- <cbbrowne (AT) hex (DOT) net> Christopher Browne


Reply With Quote
  #4  
Old   
Jan Wieck
 
Posts: n/a

Default Re: 8.0.0beta3 vacuum analyze - 10-18-2004 , 03:39 PM



On 10/18/2004 12:49 AM, Ed L. wrote:

Quote:
I *think* I'm seeing "vacuum analyze" queries launched automatically on an
8.0.0beta3 (unless I have a rogue autovac running that I haven't spotted).
Is this something new in 8.0 and to be expected?
Are you running Slony by any chance?


Jan

--
#================================================= =====================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================= = JanWieck (AT) Yahoo (DOT) com #

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
  #5  
Old   
Ed L.
 
Posts: n/a

Default Re: 8.0.0beta3 vacuum analyze - 10-18-2004 , 05:30 PM



On Monday October 18 2004 2:39, Jan Wieck wrote:
Quote:
On 10/18/2004 12:49 AM, Ed L. wrote:
I *think* I'm seeing "vacuum analyze" queries launched automatically on
an 8.0.0beta3 (unless I have a rogue autovac running that I haven't
spotted). Is this something new in 8.0 and to be expected?

Are you running Slony by any chance?
Not on the system in question. Problem has ceased.

Ed


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.