Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 256B02E30C6 for ; Wed, 5 Dec 2007 16:43:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 50241-03 for ; Wed, 5 Dec 2007 16:43:47 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by postgresql.org (Postfix) with ESMTP id DEFB12E30B2 for ; Wed, 5 Dec 2007 16:43:46 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so2753136nfh for ; Wed, 05 Dec 2007 12:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lCXZ/LD7cXzefz5kNO8NIBYsyyr0eSF8Eck+vMtvNpY=; b=QdTAza2GzYdx+mtvNOp68IxhgvPRCi/jfy+MrL5hu4QjhEBZx63SO4jGl/hyo4zgWnRX4rEbtnKhfw/g7V3zI9gjG2+25LhzppyN9EjjCWZKw3ZxU0WVnL/kj1LdMD8Q/Gz88AwUnMjfkWrKpcgiXbN9OMMlZJBCmcrhM38K3iM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c0zamPwthd5lAYtspkfy7fUzC0vF0x95E2YuXmSYME2Ht9gEKnn0+YreylQzi0oxLS+XCRwgXsbqX6zvSzWrcEhXsWrUgjo3W7PK6540955vh98whcFClXZ4c/qWzqWIfqR1VVyZ11ChoQTWxFjPeQLYxjlwOZ1HFipkps9A3AY= Received: by 10.78.149.15 with SMTP id w15mr1258624hud.1196887424709; Wed, 05 Dec 2007 12:43:44 -0800 (PST) Received: by 10.78.18.2 with HTTP; Wed, 5 Dec 2007 12:43:44 -0800 (PST) Message-ID: Date: Wed, 5 Dec 2007 15:43:44 -0500 From: "Merlin Moncure" To: "Robert Bernabe" Subject: Re: Evaluation of PG performance vs MSDE/MSSQL 2000 (not 2005) Cc: pgsql-performance@postgresql.org In-Reply-To: <37470.23740.qm@web51601.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <37470.23740.qm@web51601.mail.re2.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/73 X-Sequence-Number: 27889 On Dec 5, 2007 3:13 AM, Robert Bernabe wrote: > Would it also make sense to optimize (as far as possible) everything > (including the code) for windows first? The target here would be a linux OS > but since the discrepancy is so big...the unified Windows OS might be a good > place to start for now. speaking in very general terms, postgresql should be competitive with ms sql in this type of application. there are a few things here and there you have to watch out for...for example select count(*) from table is slower on pg. another common thing is certain query forms that you have to watch out for...but these issues are often addressed with small adjustments. the key here is to isolate specific things in your procedure that are underperforming and to determine the answer why. to get the most benefit from this list, try and post some particulars along with some 'explain analyze' results. merlin