Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7C9CA1337E53 for ; Thu, 14 Oct 2010 03:46:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 57689-10 for ; Thu, 14 Oct 2010 06:45:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from kuva.firstlight.net (kuva.firstlight.net [216.86.201.22]) by mail.postgresql.org (Postfix) with ESMTP id 4F1601337C9A for ; Wed, 13 Oct 2010 17:08:33 -0300 (ADT) Received: from carbon.firstlight.net (unknown [75.79.180.60]) by kuva.firstlight.net (Postfix) with ESMTPA id 72B7327F38 for ; Wed, 13 Oct 2010 13:08:31 -0700 (PDT) From: Neil Whelchel Organization: Go-Automation To: pgsql-performance@postgresql.org Subject: Re: Slow count(*) again... Date: Wed, 13 Oct 2010 13:08:26 -0700 User-Agent: KMail/1.13.5 (Linux/2.6.35.5; KDE/4.5.1; i686; ; ) References: <201010091626.18636.neil.whelchel@gmail.com> <4CB5A223.4070609@2ndquadrant.com> <4CB5A718.6050206@vmsinfo.com> In-Reply-To: <4CB5A718.6050206@vmsinfo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010131308.27760.neil.whelchel@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201010/222 X-Sequence-Number: 40640 On Wednesday 13 October 2010 05:33:28 Mladen Gogala wrote: > On 10/13/2010 8:12 AM, Greg Smith wrote: > > The work incorporating a more stable XFS into RHEL started with xfsprogs > > 3.0.1-6 going into Fedora 11, and 3.1.X would represent a current > > release. So your Ubuntu kernel is two major improvement releases > > behind, 3.0 and 3.1 were the upgrades to xfsprogs where things really > > got going again making that code modern and solid. Ubuntu Lucid > > switched to 3.1.0, RHEL6 will probably ship 3.1.0 too. > > I am afraid that my management will not let me use anything that doesn't > exist as a RPM package in the current Red Hat distribution. No Ubuntu, > no Fedora, no manual linking. There will always be that ominous > question: how many other companies are using XFS? From the business > perspective, questions like that make perfect sense. XFS sees extensive use in the billing departments of many phone and utility companies. Maybe not the code that you see in Linux, but the on-disk format, which I think is unchanged since its original release. (You can use the modern XFS code in Linux to mount a filesystem from an older SGI machine that used XFS.) The code in Linux is based on the code that SGI released some time in 2000, which worked at that time very well for the SGI machine. At the time that SGI came up with XFS, they had realtime in mind. They added specific features to the filesystem to guarantee IO at a specific rate, this was intended for database and other realtime applications. I have not looked at the Linux version to see if it contains these extensions. I will be doing this soon, however as my next big project will require a true realtime system. -Neil-