X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8F35D3A44FE for ; Thu, 6 Jan 2005 13:46:49 +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 79122-10 for ; Thu, 6 Jan 2005 13:46:37 +0000 (GMT) Received: from webserver.squadra.com.br (webserver.squadra.com.br [200.162.92.46]) by svr1.postgresql.org (Postfix) with ESMTP id 8278C3A445F for ; Thu, 6 Jan 2005 13:46:39 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by webserver.squadra.com.br (Postfix) with ESMTP id 4876B21BC6 for ; Thu, 6 Jan 2005 11:46:37 -0200 (BRST) Received: from proxy.squadra.com.br (proxy.squadra.com.br [192.168.0.1]) by webserver.squadra.com.br (Postfix) with ESMTP id AFB7E11547 for ; Thu, 6 Jan 2005 11:46:36 -0200 (BRST) Received: from [192.168.2.21] (proj11.squadra.com.br [192.168.2.21]) by proxy.squadra.com.br (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id j06Dka522361 for ; Thu, 6 Jan 2005 11:46:36 -0200 Message-ID: <41DD413D.6000009@squadra.com.br> Date: Thu, 06 Jan 2005 11:46:37 -0200 From: Vinicius Caldeira Carvalho User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: first postgrreSQL tunning References: <6EE64EF3AB31D5448D0007DD34EEB3412A7595@Herge.rcsinc.local> In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3412A7595@Herge.rcsinc.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by SQUADRA Anti-virus X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200501/62 X-Sequence-Number: 9752 Merlin Moncure wrote: >>Hi there! I'm doing my first tunning on my postgreSQL, my server is >> >> >for > > >>a small app, largest table shall never exceed 10k rows, and less than >> >> >1k > > >>transactions/day. So I don't think I should run out of resources. The >>machine is a Fedora Core 3.0 with 1gb ran and kernel 2.6. I'm thinking >>in having 50 connections limit, so besides semaphores should I do >>anything special on kernel parameters. The app is so small that during >>late night time almost no one will access so, I'm thinking in full >>vacuuming it every day at 1:00AM. >> >> > >The biggest danger with small databases is it's easy to become >overconfident...writing poor queries and such and not properly indexing. >50 users can hit your system pretty hard if they all decide to do >something at once. Aside from that, just remember to bump up work_mem a >bit for fast joining. > >Your application may be small, but if it is written well and works, it >well inevitably become larger and more complex, so plan for the future >:) > >Merlin > > >---------------------------(end of broadcast)--------------------------- >TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > > Thanks Merlin, besides what I said of tunning anything else I should care looking at?