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 1jh5zM-0006Nc-Sj for pgsql-general@arkaria.postgresql.org; Fri, 05 Jun 2020 06:38:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jh5zK-0007eI-Hp for pgsql-general@arkaria.postgresql.org; Fri, 05 Jun 2020 06:37:58 +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 1jh5zK-0007eB-7e for pgsql-general@lists.postgresql.org; Fri, 05 Jun 2020 06:37:58 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jh5zD-0000lf-Qm for pgsql-general@postgresql.org; Fri, 05 Jun 2020 06:37:57 +0000 Received: by mail-ed1-x536.google.com with SMTP id e12so6576945eds.2 for ; Thu, 04 Jun 2020 23:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mIEvhcUhIvIQwwBgJW6f7Ueq6yvun+SvWl7vHB+gOsI=; b=b52SpXrVSEKpXC2EKnWu77JuynACv7yZKqf4Rli10kvfcbZI8mtxZBUFT6INHQq5jT InY68DnJl04waEEBoU/En40cvp8DB9l3N0CE+UAzh1psP60v3ZZr5ez7Ojed6qu97IOA RJGNd14M9xclZR6xYsxQZXBs+R5fupG5PyciE7Wl8ID0G/y+iBIA071i6Pt9khZ5LyDc O5+rluCFjRcKTIHBUOPtK05RZAlD+SXgQzrjSzmtzAbrC6r8WOZ75z5sT84ClWXPeQHC hMRDnwQ3bgW5LRuE5UtTpNcLbyIqBUTh45U7OjRx1A7mAeKBPy8qUihfx118GJdqf33c tCHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mIEvhcUhIvIQwwBgJW6f7Ueq6yvun+SvWl7vHB+gOsI=; b=aQQWPii/Cf7cdmT7gQc5tXw+ICTRXa4hWpZ0G871r7jmjlu+cl/NNl+lchK2xntXcL UxrBucHuuxdUHwZRG/R+6Ic7vz78Vz6FAHbkYx37oKAJwDQ2PSnJF6Txg+3hh3lDEuhJ 5kQUHPvCQisnaOoiA1ZNiflTdytqHrkZBiof7BjuA7VysWNTNh9NvCTxwm6IU9g3boec 8HunLZMixrUroRAkosLA2Wq3chZjH0lMVQ9ijopjdY4t07wbpESbg4f053WE9lOPo6LA q8vsAo8ueFOQD37AWArfOOyQ+hb3r0sLpFg0vyqlNUQ32pQG+giBTGp5Y5xZGNfPrsDp kMkQ== X-Gm-Message-State: AOAM530a0MxJRav/kEz++ssGgtj4oI5lEfmv0C5263UdUmzr0iO5VTKi NcUZvLGD9Cv03nSZYbccxIY= X-Google-Smtp-Source: ABdhPJwnXowsgMksBYhwK7uPdco8PD2KehjArNSFHo5gS9dsTSeYIR/4TME14n5s57RjyWIMFUS8GA== X-Received: by 2002:aa7:db47:: with SMTP id n7mr7696331edt.223.1591339070370; Thu, 04 Jun 2020 23:37:50 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id g25sm4121098edq.34.2020.06.04.23.37.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2020 23:37:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Multitenent architecture From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: Date: Fri, 5 Jun 2020 08:37:42 +0200 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Vasu Madhineni X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Vasu, > On 04. Jun, 2020, at 17:52, Vasu Madhineni = wrote: > We are planning a POC on multitenant architecture in Postgres, Could = you please help us with steps for multitenant using schema for each = application model. look up the docs for "create database" and "create schema": https://www.postgresql.org/docs/current/sql-createdatabase.html https://www.postgresql.org/docs/current/sql-createschema.html PostgreSQL is by definition, what Oracle calls "multi tenant". Cheers, Paul