Aligning grants and privileges

From: veem v <veema0000(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Aligning grants and privileges
Date: 2024-02-27 20:40:33
Message-ID: CAB+=1TXd5C8MZ72XCnVLZ9SfaHSWet8CTZeDPw_s5JU6Ps6tFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
We have two different types of DBA group in current on-premise Oracle
databases, one who deploy code in prod and highest level of privileges
(i.e having write access to the database objects, performing backup
recovery, export/import and performing other database maintenance jobs etc).

and other groups, who only have read only privileges (select catalogue role
i.e access to data dictionary views, run time and historical performance
views along) mainly look into the performance issues and more alligns
towards the functional part of the application , understands the database
design working closely with Application Development team and they have read
only access to the databases. They are expert in reading query execution
path and have privilege to run the explain command, reading sqlmonitor
report, creating profiles, baselines , adding hints to the query by
understanding inefficient execution path, fetching AWR report, tracing sql
queries, gathering object statistics, accessing OEM(oracle enterprise
manager ) to monitor performance. Suggesting appropriate indexes and
partitioning strategies for tables etc.

Now that we are moving few of the applications to Postgres on-premise
database and few to aws RDS postgres. What kind of privileges should we
provide to these two groups? Mainly we don't want the performance guys to
have the elevated privileges. I can understand , readonly access to the
table is something we can give to those users. Apart from that, are there
any specific privileges which we should provide, so as to enable look and
debug into all types of performance issues without any obstruction and at
the same time not giving elevated privileges?

Regards
Veem

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-02-27 20:44:42 Re: Aligning grants and privileges
Previous Message Thiemo Kellner 2024-02-27 19:59:11 Re: Me again with an insert trigger problem