Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3RDAJ388627 for ; Fri, 27 Apr 2001 09:10:19 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3QGu1348402 for ; Thu, 26 Apr 2001 12:56:01 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f3QGnc995242 for pgsql-admin@postgresql.org; Thu, 26 Apr 2001 12:49:38 -0400 (EDT) (envelope-from news) From: "Thomas Heller" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: 7.1 performance Date: Thu, 26 Apr 2001 18:55:46 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 48 Message-ID: <9c9jj1$2t07$1@news.tht.net> References: <16586.988301897@sss.pgh.pa.us> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: pgsql-admin@postgresql.org X-Archive-Number: 200104/165 X-Sequence-Number: 1305 Hi, > > i use the same > > settings for sort_mem, buffers, etc. just no fsync. I thought 7.1 wouldn't > > need that anymore. > > Does the behavior change if you turn off fsync again? No. The Database is loaded with up to 25req/s ... most of them are just simple SELECTS (no ORDER BY, no JOINS) ... i use indexes on all important fields. Some queries just return 1 row ... some even 1.000 ... when i run these queries in psql they seem fast and not problematic. (i did no query optimizing yet) Note: its a backend database to a webpage (php). There are arround 8 postgres processes running on the machine. Through the mass of Queries i can't really say WHO is causing the load to the machine. As the load raised to about 17 after 1 hour online, i switched back to 7.0.3 ... now the machine is at load 0,3 again and everything is fine. Here are some setting from my postgresql.conf log_connections = off fsync = on (also off tested) tcpip_socket = true max_connections = 32 sort_mem = 4096 shared_buffers = 128 wal_buffers = 8 wal_files = 8 wal_sync_method = fsync wal_debug = 0 commit_delay = 0 commit_siblings = 5 checkpoint_segments = 3 checkpoint_timeout = 300 i would really be interested in using 7.1 cause i set it up for a new project (running a dual-p3-1ghz + 2 gig ram) and this machine really needs good performance and i use (binary &|) which wheren't available in <7.1 afaik. thanks, thomas