Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 5FF049FB879 for ; Tue, 12 Jun 2007 15:21:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 32989-09 for ; Tue, 12 Jun 2007 15:21:22 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by postgresql.org (Postfix) with ESMTP id 5793B9FB818 for ; Tue, 12 Jun 2007 15:21:23 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so238544uge for ; Tue, 12 Jun 2007 11:21:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=gRxfiCTJ9eH7+U3wNp3lS02dDA9qpU3R2dC4QoFmbk/7Zcezs/RolVYXom08IBjVj7AvhepJwK3fcPwMOJGGMrxkH5Z9mRKJT7ODd/dbGnVZV550mLNlNyLA5dsdG+2ZvFcFg9Zut7nlA9A/vkNIGcx2YT9EpDWpGl/xN8qUZ8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=afQjOXuxF6YajO80/balbNKOwLmrxM0+XBbTHA6dVDbcO/zac5Z8Q2hz0p+MtRGdjuGi3h+0ZS7zcFq1ugJ72/7XITNkpjfvWnBHECV22TGbGq4a85yJtF5by+bYD63LNCmQAvC+NaXiW/NX52zc9bM0+moqD4ykYkQSGplOcrk= Received: by 10.67.100.17 with SMTP id c17mr696877ugm.1181672481592; Tue, 12 Jun 2007 11:21:21 -0700 (PDT) Received: from ?192.168.1.34? ( [82.3.243.4]) by mx.google.com with ESMTP id 32sm1572270ugf.2007.06.12.11.21.18 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Jun 2007 11:21:20 -0700 (PDT) Message-ID: <466EE403.5080200@enterprisedb.com> Date: Tue, 12 Jun 2007 19:20:51 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Vladimir Stankovic CC: PostgreSQL Performance Subject: Re: Variable (degrading) performance References: <466D848F.2010505@city.ac.uk> <466D8BAF.604@enterprisedb.com> <466EBAAD.9030905@city.ac.uk> In-Reply-To: <466EBAAD.9030905@city.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/222 X-Sequence-Number: 25255 Vladimir Stankovic wrote: > What I am hoping to see is NOT the same value for all the executions of > the same type of transaction (after some transient period). Instead, I'd > like to see that if I take appropriately-sized set of transactions I > will see at least steady-growth in transaction average times, if not > exactly the same average. Each chunk would possibly include sudden > performance drop due to the necessary vacuum and checkpoints. The > performance might be influenced by the change in the data set too. > I am unhappy about the fact that durations of experiments can differ > even 30% (having in mind that they are not exactly the same due to the > non-determinism on the client side) . I would like to eliminate this > variability. Are my expectations reasonable? What could be the cause(s) > of this variability? You should see that if you define your "chunk" to be long enough. Long enough is probably hours, not minutes or seconds. As I said earlier, checkpoints and vacuum are a major source of variability. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com