X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B4C2152C0A for ; Tue, 26 Jul 2005 22:17:23 -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 79866-09 for ; Wed, 27 Jul 2005 01:17:18 +0000 (GMT) Received: from web52709.mail.yahoo.com (web52709.mail.yahoo.com [206.190.48.232]) by svr1.postgresql.org (Postfix) with SMTP id 7F74F52BD2 for ; Tue, 26 Jul 2005 22:17:16 -0300 (ADT) Received: (qmail 64394 invoked by uid 60001); 27 Jul 2005 01:17:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m2+Yt8WNUZBgwHhy8ZVjBFXyMGO5pAZeEfnABMRw6q5bg4BsyS7jkYU325QE/5B4FZZGlSpLUjQ1VHYJjesDaFQ1BsujwqlJFzcTipRBij3rBgTlh8rxUQ+qOOfJo7BymDn6tpef3/3SG4EYHV+uiW8bF0I2w5K6FDRmUYAXurQ= ; Message-ID: <20050727011712.64392.qmail@web52709.mail.yahoo.com> Received: from [201.8.95.31] by web52709.mail.yahoo.com via HTTP; Tue, 26 Jul 2005 22:17:12 ART Date: Tue, 26 Jul 2005 22:17:12 -0300 (ART) From: Halley Pacheco de Oliveira Subject: Re: PostgreSQL 8.0.3 Documentation - Chapter 23. Monitoring Database Activity To: pgsql-docs@postgresql.org Cc: Roman Neuhauser In-Reply-To: <20050726194901.GA56282@isis.sigpipe.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.403 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200507/29 X-Sequence-Number: 3155 The surprise is: Oracle - MTS - Multi-Threaded-Server - MTS allows many user processes to share very few server processes. Without MTS, each user process requires its own dedicated server process; a new server process is created for each client requesting a connection. A dedicated server process remains associated to the user process for the remainder of the connection. With MTS many user processes connect to a dispatcher process. The dispatcher routes client requests to the next available shared server process. The advantage of MTS is that system overhead is reduced, so the number of users that can be supported is increased. Contrasting with this in PostgreSQL a new process is forked just to connect to another database. The PostgreSQL behavior seems similar to old Oracle versions. Regards, Halley --- Roman Neuhauser escreveu: > > Well, there's nothing that would make this model required, but it > surely helps keep things like entropy at reasonable levels. > IOW, this behavior allows for greater stability through simpler code > and limited process lifetime. > > But maybe I'm not understanding the point you're trying to make. > To make things a bit clearer: what is it that you find so disturbing > or surprising in the current PostgreSQL behavior? Why did you expect > it reusing the same process, and what benefits do you expect (or > preferably, have experimentally gained) from the alternative? > _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/