X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6F86D5E46E1 for ; Sun, 22 Aug 2004 07:08:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06695-01 for ; Sun, 22 Aug 2004 10:08:52 +0000 (GMT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id EAD365E46CE for ; Sun, 22 Aug 2004 07:08:50 -0300 (ADT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id i7MA88j32604 for ; Sun, 22 Aug 2004 12:08:08 +0200 Received: from [127.0.0.1] (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id i7MA8qk24222 for ; Sun, 22 Aug 2004 12:08:52 +0200 Message-ID: <412870AF.5050202@bigfoot.com> Date: Sun, 22 Aug 2004 12:08:47 +0200 From: Gaetano Mendola User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-performance@postgresql.org" Subject: Re: using an index worst performances References: <4124ECF3.6040901@archonet.com> <412505F6.6080000@bigfoot.com> <4125565D.3060008@familyhealth.com.au> <4125C657.7000702@bigfoot.com> <1093006549.75942.61.camel@jester> <41261E41.3080204@bigfoot.com> <1093019414.75942.81.camel@jester> In-Reply-To: <1093019414.75942.81.camel@jester> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200408/312 X-Sequence-Number: 7948 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rod Taylor wrote: |>>What are the times without the index, with the index and with the higher |>>statistics value when using a prepared query? |> |>Using a prepared query: |> |>Without index and default stat 10 : 1.12 ms |>Without index and default stat 1000 : 1.25 ms |>With index and default stat 10: 1.35 ms |>With index and default stat 1000: 1.6 ms |> |>that values are the average obtained after the very first one, |>on 20 execution. | | | Most interesting. And the plans chosen with the 2 different default stat | targets are the same? Sorry if I missed the post indicating they were. | | If the plans are the same, it would be interesting to get a profile on | the 2 different cases with that index in place across 100k iterations of | the prepared query. Do you have an advice on the profiler to use ? Regards Gaetano Mendola -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBKHBg7UpzwH2SGd4RAmGCAKDOZ3xXNPFhhGSMN89MssR7UZnY3ACg6sAY mWKo4uAZzv1ZtmBsfQZ2SBc= =NQf/ -----END PGP SIGNATURE-----