Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1javZF-0003uP-1L for pgsql-docs@arkaria.postgresql.org; Tue, 19 May 2020 06:17:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1javZD-00078o-PA for pgsql-docs@arkaria.postgresql.org; Tue, 19 May 2020 06:17:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1javZD-00078e-JC for pgsql-docs@lists.postgresql.org; Tue, 19 May 2020 06:17:31 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1javZB-0000iC-I8 for pgsql-docs@lists.postgresql.org; Tue, 19 May 2020 06:17:31 +0000 Received: by mail-wm1-x32e.google.com with SMTP id u1so968728wmn.3 for ; Mon, 18 May 2020 23:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Ny0Z7xsQ7nFzzupRUHstLlUXroPEQPsjjVe1JD+8hS0=; b=U7/tfhjCIxIcX2bQ9RkClbt+Eat83QGQZHgYWO8YGk0xh5UEFDDUobLm8ILV0OkqLJ OHxcfGPKfR81TfrbJIPJ9Lq/KCA+fYF0JmkqFN1IW2xNd0KDGI75tNZTN8NXq+Mru0CI aW6ugXexEKATodaG1pERAPiRbrMke+OYwl6fG7ovf2LzntC8tWiQbe2KpmOfPuvuINL4 dtlcwnE8IlP7lRWdgsPuJrSCfWLBD5z+lMmTDhB+cVCXbTLgstO5ChszHwUtZVdPIcu9 yCkk8MyR6wkkSn/bC0JZPOG+eCvFjNy5/+AVoxQa74Kb7kAdUwOp3AlopnYZwfn2kJZH TPwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Ny0Z7xsQ7nFzzupRUHstLlUXroPEQPsjjVe1JD+8hS0=; b=QnoalQErQNxPX5qtkW0c/skuFkOXZjZyREqAtUg6yPstZJsusSpJZbhG8rsSCEClpm QOeEIUsPdUtFnb/psVdsEUG0qPTwufclj7Qr8+7h1dEYIFEZSDb7gnfYLN2iltQMBmtC rtqDTfNf5zffVRZqjWEhcTApAzEUk91I5BuxtNLCeDztpxDpX8Ph6ypCFCY5x6sFmRcg 8Jry6NYae1xKaE1NCLPQYV6aZ2GrDMBrLFknsfjCW80TAit/j3W3yHKVPL1akTMMZIZ8 H0BP/J5LqxtCp+3XS5XidS81SRl1Mx6PXMU8VHch18gMOf5p9gjRqG2ptqKwa3a1AeUW Lo6A== X-Gm-Message-State: AOAM531Qk7JYGe6gUXXvarc/mXGLWjtqTFrU0enUSruKmmmofw4Bi5uY F+RsGIiWDRBCWHIUjA8cPzIipw== X-Google-Smtp-Source: ABdhPJyPeqslXoWWSmsK+FpwBVNhrTbQaq7Fjq02wmvAZ5StfbRw607ZHYNXKf9zjvaUTgmacHDP3A== X-Received: by 2002:a7b:cc84:: with SMTP id p4mr3635021wma.159.1589869048363; Mon, 18 May 2020 23:17:28 -0700 (PDT) Received: from localhost.localdomain (217-149-174-138.nat.highway.telekom.at. [217.149.174.138]) by smtp.gmail.com with ESMTPSA id d6sm20971074wra.63.2020.05.18.23.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2020 23:17:27 -0700 (PDT) Message-ID: <39586b2ad7ee14a50fd3aacdc412b6d826da0039.camel@cybertec.at> Subject: Re: Add A Glossary From: Laurenz Albe To: =?ISO-8859-1?Q?J=FCrgen?= Purtz , pgsql-hackers@postgresql.org, Pg Docs Cc: Erik Rijkers , Fabien COELHO , Corey Huinker , Justin Pryzby , Roger Harkavy Date: Tue, 19 May 2020 08:17:26 +0200 In-Reply-To: References: <20200517152851.GA31376@alvherre.pgsql> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 2020-05-18 at 18:08 +0200, Jürgen Purtz wrote: > cluster/instance: PG (mainly) consists of a group of processes that commonly > act on shared buffers. The processes are very closely related to each other > and with the buffers. They exist altogether or not at all. They use a common > initialization file and are incarnated by one command. Everything exists > solely in RAM and therefor has a fluctuating nature. In summary: they build > a unit and this unit needs to have a name of itself. In some pages we used > to use the term *instance* - sometimes in extended forms: *database instance*, > *PG instance*, *standby instance*, *standby server instance*, *server instance*, > or *remote instance*. For me, the term *instance* makes sense, the extensions > *standby instance* and *remote instance* in their context too. FWIW, I feel somewhat like Alvaro on that point; I use those terms synonymously, perhaps distinguishing between a "started cluster" and a "stopped cluster". After all, "cluster" refers to "a cluster of databases", which are there, regardless if you start the server or not. The term "cluster" is unfortunate, because to most people it suggests a group of machines, so the term "instance" is better, but that ship has sailed long ago. The static part of a cluster to me is the "data directory". > server/host: We need a term to describe the underlying hardware respectively > the virtual machine or container, where PG is running. I suggest to use both > *server* and *host*. In computer science, both have their eligibility and are > widely used. Everybody understands *client/server architecture* or *host* in > TCP/IP configuration. We cannot change such matter of course. I suggest to > use both depending on the context, but with the same meaning: "real hardware, > a container, or a virtual machine". On this I have a strong opinion because of my Unix mindset. "machine" and "host" are synonyms, and it doesn't matter to the database if they are virtualized or not. You can always disambiguate by adding "virtual" or "physical". A "server" is a piece of software that responds to client requests, never a machine. In my book, this is purely Windows jargon. The term "client-server architecture" that you quote emphasized that. Perhaps "machine" would be the preferable term, because "host" is more prone to misunderstandings (except in a networking context). Yours, Laurenz Albe