Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sTwYU-003udO-Qn for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 04:46:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sTwYS-006QKv-Pm for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 04:46:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sTwYS-006QKn-BL for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 04:46:16 +0000 Received: from mout.gmx.net ([212.227.17.22]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sTwYK-002S01-HD for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 04:46:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1721191565; x=1721796365; i=imndlf8r@gmx.com; bh=a7uSdumTg9em30akIFBL2Ol1TLGTc5gsOI11fgitA68=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:To:From:Subject: Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=dJLZk3njPKCyKxpWCBfcV0dlV0LESy96FJGMI2i3shf86kpaSqBfRcijwmERsP6J /WNYIXd1OHiRZhnp11Fv7dOUil/EdGUnYcG/DyFWH0Ag6OcQje7e27fn5Hbc5ucJQ iss8BiERKwkYyJw/6E3Th/CgbZXJ9nSayXAUkSecoJiWiByjqNsI+ZQtyOfBKVk1q 898LuCnyl2Wcmqv6D/WO1CzwDqMkiQmcr4+W17c+dEoedfsUdOlsVYsBZCsNg3gIf dT42stvDCNbLV/A4yNZLt4iadYp/CTCVbtU0XwX0LSF2KUGJL2RiBgVy6HV+wax6v WePfFNctjl9JBPaRBg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.102] ([67.212.197.98]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mzyuc-1s6NWk47vC-010mG3 for ; Wed, 17 Jul 2024 06:46:05 +0200 Message-ID: Date: Tue, 16 Jul 2024 21:45:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: pgsql-general@lists.postgresql.org Content-Language: en-US From: Imndlf8r@gmx.com Subject: Qualifying use of separate TABLESPACES (performance/functionality) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:H4IuOyf3ChtmsCKDqGWfNdOoIfMcm4hK4QlErWZbDOvXZnFUX+I ieWuXHQg+Ac6RSMtmBg+YugOHejnkaOce0psjVUzhXOTeRgQ5o2dN7vtKwLNH3OtnTPhbUp Zkyuwt7OOarwoTimibhdRfmLVK15D/4rvAq0ZRGGSJCUdH0nokXZDvkuUSoBR3f4blIcgMw Y6BV9l9tOFZ1FOZOJUyAA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:zN+yicvBzhI=;uWi0VmqMEtv9wc8zdkhTBChmF/L HMw3Kuq0NrtetcD0oJaHh5FmkMXCYrmDBTR6NWt+KlagkvjG5I8O7VVhui6xdAd4FCF2WdPLM oB8Um1B7fawF5X1x1j+VWR/YBnSI/CR85lOb5eW/QQTxUbUjrjcwtgrv+inbHqKM67Kc6Sb2d fiS8C1xuxohz+783OwrtzZKfNgOEO6PfqW7AVj3yeBrZMZMA62J6uZ+pAYKtJeHw6IZRv6brf 30hTiBV+/pt24osRG6NwhMDBsILVHcDek/Aw1M+pfXaEHjbVY1fMGFOmP8wSew+JuqKePZUtV Q60ipTOHsuMKvealQtDtgAZvz+3YJYyG9g4nBjp+q1X26FO8TjQEvTGCgtuYgWnhOyzwDXKJx E4tlnEdIvo1DJewZBquJWCDdf1fkhVkdZktLJQKLIda2zObRQJj2UQDcWPwMiX8PIh/HF8TPD xlPHbDhoDpwP7P8wXnIfkJjMFcpD7eV9bHOPUP6uXs5NDkAF69zwN4EXWuW6JxgbwBbJ4jzn1 QMg/Ie3cBWFHp8z3pFBU3fs122d5jWDzRV8eerGQTB+ZIuESonaL6ijysgacUwrWzu9blURJM CUgOQO4a5R0NMQNCvlZ+yoL4OJTJ+D0yweUwLqOhx+578FAX2Pc1ip+BStj6NKQ8pXF+qlFsH YpY/B1QqRI5ywiy+pQiOCx/2twVy/pALzbutGPFI4sJqUpfVWiomzzzQA5DmeytJY0+RDcpTN F62Ll+bIQ3i6EVw7iKLSwRzi/QHuKPX1UZJsC8GI4uVsR2LrUfLVuHNbPpd9oL6WFhzPjiVom 6di/iGO4kAZ56/jx7UOYrQ1g== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I'm designing an appliance (think: 24/7/365/decades) in which Postgres will act as a "skin" on the sole persistent store. I.e., there is no "filesystem" visible to clients; *all* persistent (and temporary/shared) data is presented through Postgres. There are three different types of data maintained in the RDBMS: - static (firmware images, "reference" data, appliance configuration, etc) - evolving (largely static but slowly evolving) - transient (temp tables/joins, etc. built by cooperating groups of clients) As this is an appliance, cost is important -- along with availability. It's not acceptable to plan on a hardware upgrade in anything less than a decade or more) I would, ideally, like to tailor the media used for each type of (above) data. E.g., QLC SSDs for static data, SLC SSDs (or HDDs) for evolving and RAMdisks for transient. Can I do this? And, would my "expectations" for the types of accesses in each tablespace be intuitive? E.g., could I expect no/few WRITES to the tablespace with the static data if I never call for it to be explicitly updated?? (IIRC, Oracle allows a tablespace to be qualified as "READ-ONLY" and implemented on true R/O media) Or, does Postgres expect to be able to access any media however it wants (i.e., R/w), regardless of the expected access patterns of the data stored there?