Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3whq-0001pm-9l for pgsql-performance@arkaria.postgresql.org; Fri, 08 Feb 2013 22:46:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U3whp-000693-Fq for pgsql-performance@arkaria.postgresql.org; Fri, 08 Feb 2013 22:46:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3who-00068w-Pm for pgsql-performance@postgresql.org; Fri, 08 Feb 2013 22:46:04 +0000 Received: from nm37-vm4.bullet.mail.bf1.yahoo.com ([72.30.238.204]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3whm-0007wD-Be for pgsql-performance@postgresql.org; Fri, 08 Feb 2013 22:46:04 +0000 Received: from [98.139.212.148] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 08 Feb 2013 22:45:59 -0000 Received: from [98.139.212.248] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 08 Feb 2013 22:45:59 -0000 Received: from [127.0.0.1] by omp1057.mail.bf1.yahoo.com with NNFMP; 08 Feb 2013 22:45:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 778352.65729.bm@omp1057.mail.bf1.yahoo.com Received: (qmail 68093 invoked by uid 60001); 8 Feb 2013 22:45:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1360363559; bh=S5cCWGWsu2cfmWCNOVOQH+3ycBN0bIPE7kjJ6XYCW44=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BF7vPNbtLkNKbomaOj8W2/e6ZDGSoCnXP6W5w5nH5S6B0Byuao475FXw3fbYisJGPABHvimqL4WcrzKJ48WIMiuwv8PFyROkGJB8cvjD1sU2gtY/LGWDHDU2ybkz/KBJtJHe+9CCuG2bgP8/gcdrRMfa5U8FkNAeCbMOGNvUvYw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Y7Wh0Qx+v6QycLYo1h6cyZf8jHWa35rWlQRHnxWD/gI4PR16AF4Ir34Lfe3uioOWb98OOGJJV3x7lt9tLuwjNvPZRuriMcAT0WWSUmfaBCf6Qosfqs2xIgE2THwr1akcxBDwnjSuzl0g/aMhZmf+iWuEnQcxlaz7j+feOkLWK6k=; X-YMail-OSG: MNN881cVM1l.U4hf_Cq6DsE1I3k0TM4r4aER0vOG241AD.5 Lw9avHciBf6DzddUDEQCv Received: from [76.255.19.161] by web162904.mail.bf1.yahoo.com via HTTP; Fri, 08 Feb 2013 14:45:59 PST X-Rocket-MIMEInfo: 001.001, IkZvc3RlciwgS3Jpc3RpYW4gQiAoSFNDKSIgPGtyaXN0aWFuLWZvc3RlckBvdWhzYy5lZHU.IHdyb3RlOgoKPiBDdXJyZW50bHkgdGhlIHF1ZXJpZXMgYXJlIHJ1bm5pbmcgYWJvdXQgNHggc2xvd2VyIG9uIHBvc3RncmVzIHRoYW4KPiBzcWwgc2VydmVyLsKgIElzIHRoZXJlIGFueSBzZXR0aW5ncyBJIG5lZWQgdG8gY2hlY2s_CgpZb3VyIGJlc3QgYmV0IHdvdWxkIGJlIHRvIHBpY2sgb25lIHF1ZXJ5IGFuZCBmb2xsb3cgdGhlIHN0ZXBzCnJlY29tbWVuZGVkIGhlcmU6CgpodHRwOi8vd2lraS5wb3N0Z3Jlc3EBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <7DF4C4113E7CAD4D90A978233833EFE803A6180921@TESLA.hsc.net.ou.edu> Message-ID: <1360363559.52467.YahooMailNeo@web162904.mail.bf1.yahoo.com> Date: Fri, 8 Feb 2013 14:45:59 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Query Time is Slow To: "Foster, Kristian B \(HSC\)" , "pgsql-performance@postgresql.org" In-Reply-To: <7DF4C4113E7CAD4D90A978233833EFE803A6180921@TESLA.hsc.net.ou.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org "Foster, Kristian B (HSC)" wrote: > Currently the queries are running about 4x slower on postgres than > sql server.=A0 Is there any settings I need to check? Your best bet would be to pick one query and follow the steps recommended here: http://wiki.postgresql.org/wiki/SlowQueryQuestions That is likely to yield good advice which will help all queries, but if anything remains slow after the first one is sorted out, pick another. -Kevin --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance