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 1oDPU3-0005Lm-3x for pgsql-general@arkaria.postgresql.org; Mon, 18 Jul 2022 12:04:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDPU1-0001vS-9M for pgsql-general@arkaria.postgresql.org; Mon, 18 Jul 2022 12:04:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDPU0-0001vI-Ry for pgsql-general@lists.postgresql.org; Mon, 18 Jul 2022 12:04:16 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDPTy-0007iX-Ee for pgsql-general@lists.postgresql.org; Mon, 18 Jul 2022 12:04:15 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id m10so4627994qvu.4 for ; Mon, 18 Jul 2022 05:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=3K6j3H7uCkE1Rozga22IyZoJx818BU+MXrSM3gXWfOg=; b=FJXKuVtWDdxKcwVbVqdmZJvggseUbjHW/pxSdJse8zsmCMxAf6XpX8yD77x7k0aELm ruFOvwF2tK15uYnN3hGHlwUa3LNwm7XCo7uRhWlefQrsHJFl7LnI0SZOih4TSg1ircET Pjj4QA3EEmvonoWSfsQPBelV/8g1Abt9VqccIYCAhQtYOlAts0tuplXEQ/GFUZ7oBiR2 EACmLBZFq7Ha7A3qshx0SuFfA4VAk2HbHx7LsoFlBD0UkYKGJTvGRBANE4uaqcWyYsTr y84jr9rUKkxg0E4gz/WcaRa1uaP2DQkkR4kn0tzyaEmxh2MySCkBj6p/wuRGRu7z7pTQ PcNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=3K6j3H7uCkE1Rozga22IyZoJx818BU+MXrSM3gXWfOg=; b=pD0dLhnswA2uJJkoxuztb5jzkN1YajSHz83LuqQGGL07asSNZQw0v+xyvigDytCcjm zECsrXbDc92PLk90FL8BCa5TPrwanp7FsMYlw7ktoB6dZYkirt4BEZXicYlOFkCmPCdv X4gYC/x+yRw6v4CxDv2qTA3dvqUFo2RXWwp/zJST66bzSIo4PUCh1I4K8EWK0qjDYsXy aRxwVXTk3LYGqIzUSqi9bYPZQSfpQGaVotRYwl0CFKoiRKgXi3CYkJoNnl1gpnMInw6x G8++MPatCJi6FkzeSn1tGxeYvS+YPZZnS9icTrvi7R1d+mGf2iheC7Bz9JybE8zKMrtR MIEQ== X-Gm-Message-State: AJIora//ERfmOQ14n8GayToiitjfYppu2UKtIE2ZoqwWBlN17S3cNOjw ZEGUTnXBcPNfoOLul7kdy5cS6ABSh99mug== X-Google-Smtp-Source: AGRyM1uAXiKo5CfyRCLAZI7lA+tDtFIo51jbO8L6rcebPt+Z8XM9GfZiqTY7VuagR/TbGZQGXtT0ow== X-Received: by 2002:a05:6214:e46:b0:473:5ada:7366 with SMTP id o6-20020a0562140e4600b004735ada7366mr20160060qvc.113.1658145853130; Mon, 18 Jul 2022 05:04:13 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id dm53-20020a05620a1d7500b006b4880b08a9sm11724451qkb.88.2022.07.18.05.04.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 05:04:12 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------bJeGwMHlMIv2XrhygpFKFWrg" Message-ID: <52a2a0d6-ce49-afab-bceb-c3cc7f8f8a83@gmail.com> Date: Mon, 18 Jul 2022 08:04:12 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: More than one Cluster on single server (single instance) Content-Language: en-US To: pgsql-general@lists.postgresql.org References: From: Mladen Gogala In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------bJeGwMHlMIv2XrhygpFKFWrg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/18/22 03:55, Daulat wrote: > Please share your thoughts on this approach? > > How can we create multiple clusters under a single postgres version? You can use Docker images. > > How can we identify/allocate the resources to parameters like > shared_buffers, effective_cache_size, work_mem etc in case of multiple > clusters? > > Thanks Each container can be adjusted to have its own memory and parameter file. Personally, I don't like that approach. I think that separating data into separate databases is enough separation even for the most fervent separatists (pun with the name of political movements is purely accidental). -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------bJeGwMHlMIv2XrhygpFKFWrg Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 7/18/22 03:55, Daulat wrote:
Please share your thoughts on this approach? 

How can we create multiple clusters under a single postgres version?
You can use Docker images.

How can we identify/allocate the resources to parameters like shared_buffers, effective_cache_size, work_mem etc in case of multiple clusters?  

Thanks

Each container can be adjusted to have its own memory and parameter file. Personally, I don't like that approach. I think that separating data into separate databases is enough separation even for the most fervent separatists (pun with the name of political movements is purely accidental).

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------bJeGwMHlMIv2XrhygpFKFWrg--