Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T9jIJ-0005CW-AG for pgsql-bugs@postgresql.org; Thu, 06 Sep 2012 21:07:23 +0000 Received: from smtprelay0081.b.hostedemail.com ([64.98.42.81] helo=smtprelay.b.hostedemail.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T9jIE-0003u6-Nd for pgsql-bugs@postgresql.org; Thu, 06 Sep 2012 21:07:22 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id 1617F8113C; Thu, 6 Sep 2012 21:07:17 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::::::, RULES_HIT:152:355:379:599:601:800:947:960:966:967:973:988:989:1260:1277:1311:1313:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2525:2553:2560:2563:2682:2685:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3869:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4385:4605:4659:5007:6261:7679:9025:9036:9121:10004:10400:10848:10967:11256:11257:11473:11658:11914:12050:12296:12517:12519, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 2026 Received: from perhan.alvh.no-ip.org (unknown [200.85.215.105]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf02.b.hostedemail.com (Postfix) with ESMTPA; Thu, 6 Sep 2012 21:07:16 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7B1276E60C; Thu, 6 Sep 2012 18:07:14 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: hlinnaka , Robert Haas , boy , Pg Bugs Subject: Re: BUG #7521: Cannot disable WAL log while using pg_dump From: Alvaro Herrera To: Tom Lane In-reply-to: <26118.1346962987@sss.pgh.pa.us> References: <25444.1346961307@sss.pgh.pa.us> <504902C7.9030903@iki.fi> <26118.1346962987@sss.pgh.pa.us> Date: Thu, 06 Sep 2012 18:07:14 -0300 Message-Id: <1346964246-sup-5476@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/55 X-Sequence-Number: 34050 Excerpts from Tom Lane's message of jue sep 06 17:23:07 -0300 2012: > Heikki Linnakangas writes: > > On 06.09.2012 13:07, Robert Haas wrote: > >> On Thu, Sep 6, 2012 at 3:55 PM, Tom Lane wrote: > >>> Doesn't hint-bit setting cause WAL traffic these days? >=20 > >> I sure as heck don't think so. >=20 > > It does not. HOT page pruning does, however. It could be that.. >=20 > Sorry, I was thinking of the freeze case, which is also somewhat > unlikely --- but if it were happening, it could easily happen on > most/all pages of a table. How about secondary effects -- say pg_dump reads a lot of data into buffers that were previously dirty and those get evicted. Could page eviction cause lots of WAL to be emitted? --=20 =C3=81lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services