Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5108D64FD40 for ; Sat, 23 Aug 2008 21:47:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60980-05 for ; Sat, 23 Aug 2008 21:47:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by postgresql.org (Postfix) with ESMTP id CB4EE64FD20 for ; Sat, 23 Aug 2008 21:47:38 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id i31so452002wxd.28 for ; Sat, 23 Aug 2008 17:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:mime-version:content-type:x-google-sender-auth; bh=9rHLlXjswPBlPgZKNeFC2iMdKdo2duBRmbMTKa5AwuA=; b=AGGU5xPAlFlR8KW9vMBVcMrquyN/n+peae6GvX2wURBcX/NQtzRRo68uTy+Pxy4eWt pi2z1y3G0z6klgjRdpCJPu7uBZk1NQFr7vLj6yYZ5nc4jXHIg7jaJOYjfkFB+c7dWW5E WUhkGxqGG8L9qm9RSaKVP4AyXw5ImIgMQDn7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type :x-google-sender-auth; b=XGBDV91KlwvkY4T2Hs1BCUhZTE24sNS2l82TmmaxWdTDLDfclwLZzJ6nEPcNI8PnFc LRdfysAMlcnaKmNBiIl61wl72F4HI+9aGdBK7VY8xwU9VLLWRs/iYD/Y/v5FrM87I5Pn cxX2IwIorpzHZVR/EBHhR4Ezj/ZCS5BTNUUmg= Received: by 10.70.8.12 with SMTP id 12mr3684932wxh.89.1219538856744; Sat, 23 Aug 2008 17:47:36 -0700 (PDT) Received: by 10.70.22.18 with HTTP; Sat, 23 Aug 2008 17:47:36 -0700 (PDT) Message-ID: <1775c5ea0808231747m71c4e75fn9b5c45ed604edfe8@mail.gmail.com> Date: Sun, 24 Aug 2008 01:47:36 +0100 From: "Loic Petit" To: scott.marlowe@gmail.com Subject: Re: Large number of tables slow insert Cc: max@nts.biz.ua, pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_94019_27950537.1219538856698" X-Google-Sender-Auth: c25758bd8d276d61 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200808/298 X-Sequence-Number: 31179 ------=_Part_94019_27950537.1219538856698 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I was a bit confused about the read and write sorry ! I understand what you mean... But do you think that the IO cost (of only one page) needed to handle the index writing is superior than 300ms ? Because each insert in any of these tables is that slow. NB: between my "small" and my "big" tests the only difference is the number of table (10 and 3000), there is almost the same amount of on-disk data ------=_Part_94019_27950537.1219538856698 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I was a bit confused about the read and write sorry ! I understand what you mean...
But do you think that the IO cost (of only one page) needed to handle the index writing is superior than 300ms ? Because each insert in any of these tables is that slow.
NB: between my "small" and my "big" tests the only difference is the number of table (10 and 3000), there is almost the same amount of on-disk data
------=_Part_94019_27950537.1219538856698--