Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4D1845F9CEB; Tue, 24 Jul 2012 06:34:40 -0300 (ADT) Received: from mx5.framestore.com ([193.203.83.15]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1StbVl-0004nO-4q; Tue, 24 Jul 2012 09:34:40 +0000 Received: from vm-zimbra.ldn.framestore.com ([172.16.73.68] helo=zimbra.framestore.com) by mx5.framestore.com with esmtp (Exim 4.72) (envelope-from ) id 1StbVR-0006nH-CA; Tue, 24 Jul 2012 10:34:22 +0100 Received: from [172.16.84.176] (sys367.ldn.framestore.com [172.16.84.176]) by zimbra.framestore.com (Postfix) with ESMTPA id 257B01E86207; Tue, 24 Jul 2012 10:34:04 +0100 (BST) Subject: Re: Odd blocking (or massively latent) issue - even with EXPLAIN From: Jim Vanns To: Martin French Cc: Jim Vanns , pgsql-performance@postgresql.org, pgsql-performance-owner@postgresql.org In-Reply-To: References: <1343032905.12579.3.camel@sys367.ldn.framestore.com> <1343054763.12579.110.camel@sys367.ldn.framestore.com> <1343119691.12579.151.camel@sys367.ldn.framestore.com> Content-Type: text/plain; charset="UTF-8" Organization: Framestore Date: Tue, 24 Jul 2012 10:34:11 +0100 Message-ID: <1343122451.12579.155.camel@sys367.ldn.framestore.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/287 X-Sequence-Number: 47468 > > That latter test - won't that pretty much just read from the page > cache? > > 'sync' may well have forced dirty pages to disk but does it actually > > evict them to? > > Basically, the cache is avoided because of the size of the file. > 6000000 blocks at 8k exceeds the size of RAM in the machine, so it > *should* miss the cache and hit the disk directly. :) Doh! > > > > Anyway, that is off topic... perhaps ;) > > > > Thanks again, > > > > Jim > > > > Cheers > > Martin ============================================= Romax Technology > Limited Rutherford House Nottingham Science & Technology Park > Nottingham, NG7 2PZ England Telephone numbers: +44 (0)115 951 88 00 > (main) For other office locations see: > http://www.romaxtech.com/Contact ================================= > =============== E-mail: info@romaxtech.com Website: www.romaxtech.com > ================================= ================ Confidentiality > Statement This transmission is for the addressee only and contains > information that is confidential and privileged. Unless you are the > named addressee, or authorised to receive it on behalf of the > addressee you may not copy or use it, or disclose it to anyone else. > If you have received this transmission in error please delete from > your system and contact the sender. Thank you for your cooperation. > ================================================= > -- Jim Vanns Systems Programmer Framestore