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 1tB7ZJ-0020Od-Li for pgsql-general@arkaria.postgresql.org; Wed, 13 Nov 2024 07:13:36 +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 1tB7ZG-00BsKp-8A for pgsql-general@arkaria.postgresql.org; Wed, 13 Nov 2024 07:13:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tB7ZF-00BsKh-T8 for pgsql-general@lists.postgresql.org; Wed, 13 Nov 2024 07:13:34 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tB7ZD-001gAH-K4 for pgsql-general@postgresql.org; Wed, 13 Nov 2024 07:13:33 +0000 Received: by mail-ed1-x542.google.com with SMTP id 4fb4d7f45d1cf-5cec8c4e2f6so7670298a12.1 for ; Tue, 12 Nov 2024 23:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731482009; x=1732086809; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=uezyOO+rlmbAOqa2tpDd3BXDwpUDQGMSPRN6gkcpOJ4=; b=FdcChkRikpF5D3gP5YRH3PY2tskt+Vs6qNfV/t0RsBKG5WMPQPJaES47VrLTJ8V1/9 xgzz1bTe5ZiLx9CtGGzyCAY/+VFidlnYGiU2auqB3uwQvCttkepSzuK62nx2HV3P34zO GA8TAAibwTK19Mdw3T3onHZGDda4AMGown5Ia1xR2xzMbgidB3GDNHdds/Dflyti84Si Lp8hX6dUBNAuW7Y0dhxleIPUSGBHicRww2Y4hr58oCXonKPEhs99tTHZ/4ZschbvGhh3 a3jarI+8mJaQT7ixZ861yXM1proTmX85bzyDaFSQv4GrdjL7/R0p9Xv0lrkNEacNObIg P9Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731482009; x=1732086809; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uezyOO+rlmbAOqa2tpDd3BXDwpUDQGMSPRN6gkcpOJ4=; b=eQc0IguwmUHezc+oIs08Ok6+sRwjwDjEt6sK/c4Ln5hX+DhEVdzs8doHK3iekvNc0L ILUYGXUwiCufmLTRJp+Z3iSLvFIvY7PcknV5yMb51YFlbmW4DprBIW7Dxsx+j45NDHRJ C5fnCGPwsh4KlC2Jhh7o5vDdBcrTWqEckIaGU4kix+mO5CFBMdEYxtJCChJVPdZlXZaJ 3PpWH8voWLGRWfk5d1CycNrkmZ1guNHgFMkq4wGtOGmERypnIx3gZz63UQVmqBJ2T+Yk RjfyZPS1P1ibF7g9PWLm9+H/MCts73+1Ykqs4A+O0b7iqvVfmTvgNxD921frHoaUlhJe KxIQ== X-Gm-Message-State: AOJu0Yy6E7kwcQgVeUankns+FsQE9T0903e7Ko7xlDFdtADIbsTGusen C3wj0a1TGd3OEm7tu90hkVkkXkn+392XT2WECwq3fT1XySFUqotFXHXzlekBi+YcAcaIGD3FFHT hfHjK+Kt0dt0+QNIH9FT31+scvNwsC9xj X-Google-Smtp-Source: AGHT+IEo9bgI89OhO050389x/kunWZHr5UHLmRWNAuWW3omNWcvC3kR0XHhseIj2l3wBV36Yo5Gmfk67CRFPHI1p0Zc= X-Received: by 2002:a05:6402:42c3:b0:5cf:3d14:b3e8 with SMTP id 4fb4d7f45d1cf-5cf3d14b483mr9794244a12.25.1731482009021; Tue, 12 Nov 2024 23:13:29 -0800 (PST) MIME-Version: 1.0 References: <1932444f587.1098347f3276523.6403251539793861793@jasonic.dk> In-Reply-To: <1932444f587.1098347f3276523.6403251539793861793@jasonic.dk> From: Vijaykumar Jain Date: Wed, 13 Nov 2024 12:43:20 +0530 Message-ID: Subject: Fwd: A million users To: pgsql-general , "kaare@jasonic.dk" Content-Type: multipart/alternative; boundary="0000000000001535f20626c612de" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001535f20626c612de Content-Type: text/plain; charset="UTF-8" ---------- Forwarded message --------- From: Kaare Rasmussen <> Hi A simple question before design. Would there be performance issues having perhaps a million users, each having several roles? I could imagine a user would have on average 10-20 roles. I tried to grant select permissions to 5000 different roles on one table, It failed with row size too big already at 2443. That said, I am not even talking of catalog bloat. So please test ...I think there might be some doc that will show the limitations or in the source code, I can check later --0000000000001535f20626c612de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


---------- Forwarded message ---------
From: Kaare Rasmussen <>


Hi

A simple question before design.

Would there be performance issues having perhaps a million users, each
having several roles? I could imagine a user would have on average 10-20 roles.

I tried to grant select permissions to 5000 different roles on one tabl= e,
It failed with row size too= big already at 2443.

That said,
I am not even talking of catalog bloat.
So please test ...I think there might be s= ome doc that will show the limitations or in the source code, I can check l= ater=C2=A0



--0000000000001535f20626c612de--