X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 05F393A5451 for ; Wed, 26 Jan 2005 20:56:29 +0000 (GMT) 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 56893-01 for ; Wed, 26 Jan 2005 20:56:19 +0000 (GMT) Received: from illusions.com (unknown [69.28.129.146]) by svr1.postgresql.org (Postfix) with SMTP id AB63C3A3CBB for ; Wed, 26 Jan 2005 20:56:19 +0000 (GMT) Received: (qmail 26640 invoked from network); 26 Jan 2005 20:56:56 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by illusions.com with SMTP; 26 Jan 2005 20:56:56 -0000 Message-ID: <41F8043C.6080101@illusions.com> Date: Wed, 26 Jan 2005 13:57:32 -0700 From: Dennis Sacks User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Wolff III Cc: Joel Fradkin , pgsql-sql@postgresql.org Subject: Re: same question little different test MSSQL vrs Postgres References: <000901c5035a$3b619cc0$797ba8c0@jfradkin> <41F71AB4.5030208@illusions.com> <20050126210450.GA26734@wolff.to> In-Reply-To: <20050126210450.GA26734@wolff.to> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.329 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/272 X-Sequence-Number: 20060 Bruno Wolff III wrote: >On Tue, Jan 25, 2005 at 21:21:08 -0700, > Dennis Sacks wrote: > > >>One of the things you'll want to do regularly is run a "vacuum analyze". >>You can read up on this in the postgresql docs. This is essential to the >>indexes being used properly. At a bare minimum, after you import a large >>amount of data, you'll want to run vacuum analyze. >> >> > >Note that there is no need to vacuum after inserts (only updates and deletes), >so you can just do an analyze in that case. > > Good point! Analyze after bulk inserts, vacuum analyze after updates/deletes and inserts. :) Dennis Sacks