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 4E5245299A for ; Sat, 16 Jul 2005 18:15:14 -0300 (ADT) 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 43351-09 for ; Sat, 16 Jul 2005 21:15:03 +0000 (GMT) Received: from betsy.gw.rwsoft.ca (S01060080c8fe76dd.ed.shawcable.net [68.150.80.101]) by svr1.postgresql.org (Postfix) with ESMTP id 9AB14529BB for ; Sat, 16 Jul 2005 18:15:00 -0300 (ADT) Received: from deva.gw.rwsoft.ca (unknown [192.168.34.107]) by betsy.gw.rwsoft.ca (Postfix) with ESMTP id 0FA39CDD7 for ; Sat, 16 Jul 2005 15:15:01 -0600 (MDT) Date: Sat, 16 Jul 2005 15:14:55 -0600 Message-ID: <871x5yh2r4.wl%ron@rwsoft.ca> From: Ron Wills To: pgsql-performance@postgresql.org Subject: Re: Really bad diskio In-Reply-To: <8764vbby7r.wl%ron@rwsoft.ca> References: <8764vbby7r.wl%ron@rwsoft.ca> User-Agent: Wanderlust/2.12.2 (99 Luftballons) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i586-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.153 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, RCVD_IN_SORBS_DUL X-Spam-Level: X-Archive-Number: 200507/235 X-Sequence-Number: 13476 At Fri, 15 Jul 2005 14:39:36 -0600, Ron Wills wrote: I just wanted to thank everyone for their help. I believe we found a solution that will help with this problem, with the hardware configuration and caching the larger tables into smaller data sets. A valuable lesson learned from this ;) > Hello all > > I'm running a postgres 7.4.5, on a dual 2.4Ghz Athlon, 1Gig RAM and > an 3Ware SATA raid. Currently the database is only 16G with about 2 > tables with 500000+ row, one table 200000+ row and a few small > tables. The larger tables get updated about every two hours. The > problem I having with this server (which is in production) is the disk > IO. On the larger tables I'm getting disk IO wait averages of > ~70-90%. I've been tweaking the linux kernel as specified in the > PostgreSQL documentations and switched to the deadline > scheduler. Nothing seems to be fixing this. The queries are as > optimized as I can get them. fsync is off in an attempt to help > preformance still nothing. Are there any setting I should be look at > the could improve on this??? > > Thanks for and help in advance. > > Ron > > ---------------------------(end of broadcast)--------------------------- > TIP 1: 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