pg.ddx.io  pgsql-zh-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 张文升 <wensheng.zhang@qunar.com>
To: pgsql-zh-general@postgresql.org
Subject: Re: 回复:[pgsql-zh-general] 不做vacuum是否会影响pg的性能
Date: Wed, 16 Mar 2016 18:01:37 +0800
Message-ID: <56E92F01.1010807@qunar.com> (raw)
In-Reply-To: <56E92EA5.9070501@qunar.com>
References: <15c062bd-125f-445a-afb1-cb83464498fb.shaocong.xsc@alibaba-inc.com>
	<56E92EA5.9070501@qunar.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-zh-general>

......又忘记删除我的邮件签名了。

On 2016年03月16日 18:00, 张文升 wrote:
> 是的,如果已经关掉了,也必须有定时任务执行VACUUM和ANALYZE,否则运行一
> 段时间后性能先是逐步下降,查询计划紊乱后性能会突然 变得 非常遭,那时候
> 就很难处理了。
>
> On 2016年03月16日 17:03, 萧少聪(铁庵) wrote:
>> 会的,特别是如果有大量的UPDATE或DELETE。
>> 你的表会越来越大,性能会逐步下降!建议最少定期进行人工的vacuum,另 外
>> 9.x以后我并不建议关闭autovacuum
>>
>>
>> --
>>
>> ----------------------------
>>
>> 萧少聪(铁庵) Scott Siu
>>
>> Mobile: +86 18600036141
>>
>> AliCloud RDS for PostgreSQL/PPAS PD 产品专家
>>
>>
>>     ------------------------------------------------------------------
>>     发件人:Ming <moonbingbing@gmail.com>
>>     发送时间:2016年3月16日(星期三) 16:57
>>     收件人:pgsql-zh-general@postgresql.org
>>     <pgsql-zh-general@postgresql.org>
>>     主 题:[pgsql-zh-general] 不做vacuum是否会影响pg的性能
>>
>>     请教个问题,postgres数据库关闭了自动vacuum,有一个读写比较频繁的
>>     表,请问是否会影响读和写的性能 呢? 先不考虑磁盘空间的占用。
>>
>>
>> 安全提示:本邮 件非QUNAR内部邮件,请注 意保 护个人及公司信息安全,如
>> 有索取帐号密码等可疑情况请向secteam发送邮件 
>
> -- 
> ----------------------
> 张文升 | PostgreSQL DBA 
>
> 安全提 示:本邮件非QUNAR内部邮件,请注意保护个人及公司信息安全,如有索
> 取帐号密码等可疑情况请向secteam发送邮件
>

-- 
----------------------
张文升 | PostgreSQL DBA 

view thread (3+ messages)

Message-ID: <56E92F01.1010807@qunar.com>
Permalink:  ../56E92F01.1010807@qunar.com/
Also on:    postgresql.org/message-id/56E92F01.1010807@qunar.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-zh-general@postgresql.org
  Cc: wensheng.zhang@qunar.com
  Subject: Re: 回复:[pgsql-zh-general] 不做vacuum是否会影响pg的性能
  In-Reply-To: <56E92F01.1010807@qunar.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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