Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 08AFB9FB340 for ; Sat, 13 Jan 2007 11:55:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 38673-04 for ; Sat, 13 Jan 2007 11:55:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id 0D01F9FB33C for ; Sat, 13 Jan 2007 11:55:49 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so949491ugf for ; Sat, 13 Jan 2007 07:55:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U0ADejDxWOKjoPQ7crvrIS6Yjf4GRQ1ogbfZ6jsIh/G7M/5gnLLzwZMrSBVFMZ8XU3AZ0eW2y+5WVNY7xbSKgwoaeYUSK+aasOPFRPfNwY87QpquAkSvQiLzR/Y7LmS7N2HbS0SlX/Ye3Qtaapv0kQTtoGiKSe2guRplGbjCu1M= Received: by 10.78.180.18 with SMTP id c18mr1236818huf.1168703735116; Sat, 13 Jan 2007 07:55:35 -0800 (PST) Received: by 10.78.192.12 with HTTP; Sat, 13 Jan 2007 07:55:35 -0800 (PST) Message-ID: <48d0cacb0701130755i31ef2017m140c9d2647c8fbea@mail.gmail.com> Date: Sat, 13 Jan 2007 13:55:35 -0200 From: "Daniel Cristian Cruz" To: pgsql-performance@postgresql.org Subject: Re: Large table performance In-Reply-To: <20070113013342.GB3133@uio.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <376735.48483.qm@web35309.mail.mud.yahoo.com> <87553E39-54EA-4DE4-BBEF-6FB250EDE651@fastcrypt.com> <20070113013342.GB3133@uio.no> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/213 X-Sequence-Number: 22814 What if we start a project where we define tests for PostgreSQL overall performance and individual points with any database structure? It could be done, throught a SQL logger and statistics, where we can see complete processess and measure then after. We have many things to measure, and something that would help here is pg_buffercache (contrib module). We could define many other tests. I was thinking about something like that, where an aplication reads information (from catalog too) about an production database, and use this information to build a data set of any size, respecting anything measured before. Is it too complicated? I'm trying to make programs with C++ and libpqxx, and successfully used Python with PostgreSQL before (was a database structure comparer). Python could make it easyer, C++ could be a chalenge for someone like me. Someone would like to contribute? When we start the project? :) On 1/12/07, Steinar H. Gunderson wrote: > On Fri, Jan 12, 2007 at 07:40:25PM -0500, Dave Cramer wrote: > > 5000 is pretty low, you need at least 1/4 of memory for an 8.1.x or > > newer server. > > Is this the new "common wisdom"? It looks like at some point, someone here > said "oh, and it looks like you're better off using large values here for > 8.1.x and newer", and now everybody seems to repeat it as if it was always > well-known. > > Are there any real benchmarks out there that we can point to? And, if you set > shared_buffers to half of the available memory, won't the kernel cache > duplicate more or less exactly the same data? (At least that's what people > used to say around here, but I guess the kernel cache gets adapted to the > fact that Postgres won't ask for the most common stuff, ie. the one in the > shared buffer cache.) > > /* Steinar */ > -- > Homepage: http://www.sesse.net/ > > ---------------------------(end of broadcast)--------------------------- > TIP 7: You can help support the PostgreSQL project by donating at > > http://www.postgresql.org/about/donate > -- Daniel Cristian Cruz Analista de Sistemas Especialista postgreSQL e Linux Instrutor Certificado Mandriva