Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3O0J5336260 for ; Mon, 23 Apr 2001 20:19:05 -0400 (EDT) (envelope-from xbdelacour@yahoo.com) Received: from adsl-151-203-6-177.bostma.adsl.bellatlantic.net (HELO slim.yahoo.com) (151.203.6.177) by smtp.mail.vip.sc5.yahoo.com with SMTP; 24 Apr 2001 00:19:01 -0000 X-Apparently-From: Message-Id: <5.0.2.1.0.20010423200655.019bb6c0@pop.mail.yahoo.com> X-Sender: xbdelacour@pop.mail.yahoo.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 23 Apr 2001 20:15:05 -0400 To: Ragnar =?iso-8859-1?Q?Kj=F8rstad?= From: xbdelacour@yahoo.com Subject: Re: Large database help Cc: pgsql-admin@postgresql.org In-Reply-To: <20010424020625.C7572@vestdata.no> References: <5.0.2.1.0.20010423180546.02ad3a40@pop.mail.yahoo.com> <5.0.2.1.0.20010422184417.01972e70@pop.mail.yahoo.com> <5.0.2.1.0.20010422165107.02b46ec0@209.61.155.192> <5.0.2.1.0.20010422165107.02b46ec0@209.61.155.192> <20010423004646.A4724@vestdata.no> <5.0.2.1.0.20010422184417.01972e70@pop.mail.yahoo.com> <20010423181517.B4323@vestdata.no> <5.0.2.1.0.20010423180546.02ad3a40@pop.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200104/114 X-Sequence-Number: 1251 ANote: some disk activety should be expected. Maybe postgresql updates >the log? Or at the very least it will update the atime timestamps for >the files everytime they're read. This shouldn't cause enough disk >activity to become a performance-problem, but if I remember your initial >post correctly, you indicated that one processor was fully saturated. > >Maybe the problem is in fact related to locking and smp, and not related >to shared-memory and disk activity? Then, please correct me if I'm wrong: I should be able to test your hypothesis by creating a small DB (of say 2MB) and setting up at least a dozen backends to tag it. If I get the same symptoms w/ respect to disk activity/performance then we could say that the problem is not related to shared memory/the amount of data/swapping. What log files are output from postgres? I was under the impression that postmaster's stdout/stderr were the only output. I've been postmaster xyz >& log.txt'ing it. I'll check into this. Thanks a lot for your help :-) -Xavier _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com