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 1jZOkt-0000QY-AI for pgsql-hackers@arkaria.postgresql.org; Fri, 15 May 2020 01:03:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZOkp-0003Nb-W6 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 May 2020 01:03:11 +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 1jZOkp-0003NA-Jg for pgsql-hackers@lists.postgresql.org; Fri, 15 May 2020 01:03:11 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jZOkm-0005VX-J0 for pgsql-hackers@postgresql.org; Fri, 15 May 2020 01:03:10 +0000 Received: by mail-qk1-x744.google.com with SMTP id y22so950416qki.3 for ; Thu, 14 May 2020 18:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xlUpv7YeyHjgafF52N2uCSA32Hf6+suguPdEcmo6Nrg=; b=JIG/d7Tzz2WXhOEeIsgm4FspJhXSsurlvy8mTprnWudzIs3F16MgOeu/obyJ5/dPBs jPjRbRVVGTYt5mLaD4ZvJO4xMEM9EnN0o2a7KsXgA7AHmpeYdyfVlKMjC4WMfFi3+Hc6 LndSS0O1ZRwMhC5UOTuVGpjKmQylk4ImTw/ilHSUNc+81kx7/aYeKmVEmY5c3jsXb2xA IZliO/TgdxKeK0iVCJsAlnPQdS+nq+NpAKahJT0+tJ9CUpJ5k6ou5MHcSUOgEzCdy0FS DZbNFwSihP0z32hMa0kWCsWwBofIlMe/eC2s3+bWIeeCOrrNXhOjW6t4y5BdHCUKlZqQ udlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xlUpv7YeyHjgafF52N2uCSA32Hf6+suguPdEcmo6Nrg=; b=nuSRGqc00xew5603K1bbyIXiD6dWY+yZxEqJ+FQb+qbrPN06/MmEm50S9z35/K0qAH 8nqywU7D3tMSgBgwr6cu2emvFRFvmrtIIUtH3e+nKIm5TOGN+3XpUbUZN7ZQtcbWcZmt 4vO0pexURqPGXQqd1PyaO3Poj05V2tEihFWO/rb+/Gmp/l1f4TWcM/W8JCOWoaLNX/cD NHDs4EA9QorRw/RSjkjQVHAoN+Xm1VBehQyeRr44JGte/AbVLr6N8Ye4FR/nEzLBLNvP 1XxNEk4syPrPk/FFMGA18p8AH4iWfBibfqAc6khHECLL5txi2pSPaGCoG251NvaxIYDg /GfQ== X-Gm-Message-State: AOAM5330hjcPAwRFBXePT7pxGM1y78alxMu4brFNuDMLCV6P76u+bmUq DDVDeBnXQBBYwp/mv0NCpTSyHA== X-Google-Smtp-Source: ABdhPJyXBvIlr5BKu+LglMX556KHAy717VS3P/TXIM37+hlJlqebGwfzuOWFk3TVQoMlKlusRvIUug== X-Received: by 2002:a37:5846:: with SMTP id m67mr1048131qkb.78.1589504587015; Thu, 14 May 2020 18:03:07 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id w14sm687796qtt.82.2020.05.14.18.03.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2020 18:03:06 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 51CD78009F4; Thu, 14 May 2020 20:03:04 -0500 (CDT) Date: Thu, 14 May 2020 20:03:04 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: Erik Rijkers , Laurenz Albe , Fabien COELHO , =?iso-8859-1?Q?J=FCrgen?= Purtz , Peter Eisentraut , Corey Huinker , Roger Harkavy , pgsql-hackers@postgresql.org, Michael Paquier Subject: Re: Add A Glossary Message-ID: <20200515010304.GN18456@telsasoft.com> References: <280f7b1e-2e81-5d0e-2589-b5ea6313ad74@purtz.de> <20200405220715.GA20664@alvherre.pgsql> <686e65ba48801791816771e993ff5eebe571fac9.camel@cybertec.at> <7b9b469e804777ac9df4d37716db935e@xs4all.nl> <20200515000017.GA12687@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200515000017.GA12687@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, May 14, 2020 at 08:00:17PM -0400, Alvaro Herrera wrote: > + ACID > + > + > + Atomicity, > + consistency, > + isolation, and > + durability. > + A set of properties of database transactions intended to guarantee validity > + in concurrent operation and even in event of errors, power failures, etc. I would capitalize Consistency, Isolation, Durability, and say "These four properties" or "This set of four properties" (althought that makes this sounds more like a fun game of DBA jeopardy). > + Background writer (process) > > > - A process that continuously writes dirty pages from > + A process that continuously writes dirty I don't like "continuously" > + data pages from > > + > + Bloat > + > + > + Space in data pages which does not contain relevant data, > + such as unused (free) space or outdated row versions. "current row versions" instead of relevant ? > + > + Data page > + > + > + The basic structure used to store relation data. > + All pages are of the same size. > + Data pages are typically stored on disk, each in a specific file, > + and can be read to shared buffers > + where they can be modified, becoming > + dirty. They get clean by being written down say "They become clean when written to disk" > + to disk. New pages, which initially exist in memory only, are also > + dirty until written. > + > + Fork > + > + > + Each of the separate segmented file sets that a relation stores its > + data in. There exist a main fork and two secondary "in which a relation's data is stored" > + forks: the free space map > + visibility map. missing "and" ? > + > + Free space map (fork) > + > + > + A storage structure that keeps metadata about each data page in a table's > + main storage space. s/in/of/ just say "main fork"? > The free space map entry for each space stores the for each page ? > + amount of free space that's available for future tuples, and is structured > + so it is efficient to search for available space for a new tuple of a given > + size. ..to be efficiently searched to find free space.. > The heap is realized within > - segment files. > + segmented files > + in the relation's main fork. Hm, the files aren't segmented. Say "one or more file segments per relation" > + There also exist local objects that do not belong to schemas; some examples are > + extensions, > + data type casts, and > + foreign data wrappers. Don't extensions have schemas ? > + > + Transaction ID > + > + > + The numerical, unique, sequentially-assigned identifier that each > + transaction receives when it first causes a database modification. > + Frequently abbreviated xid. abbreviated *as* xid > + approximately four billion write transactions IDs can be generated; > + to permit the system to run for longer than that would allow, remove "would allow" > > The process of removing outdated tuple > versions from tables, and other closely related actually tables or materialized views.. > + > + Visibility map (fork) > + > + > + A storage structure that keeps metadata about each data page > + in a table's main storage space. The visibility map entry for s/in/of/ main fork? -- Justin