public inbox for [email protected]  
help / color / mirror / Atom feed
From: Edson Richter <[email protected]>
To: [email protected] <[email protected]>
Subject: Read-only connectios optimizatios
Date: Sat, 25 Jan 2025 14:55:20 +0000
Message-ID: <CPVP215MB18233EA81EAAD56516064077CFE22@CPVP215MB1823.LAMP215.PROD.OUTLOOK.COM> (raw)

Scenario:
-PostgreSQL 13 latest version;
-I have some reporting users, with "SELECT,REFERENCES" permissions on all tables in the public schema.
-Connections are established using the jdbc "readonly" attribute.

Does PostgreSQL perform any optimization on queries in this scenario to avoid establishing locks? Or are these queries treated like any other?

Thanks 😊



view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Read-only connectios optimizatios
  In-Reply-To: <CPVP215MB18233EA81EAAD56516064077CFE22@CPVP215MB1823.LAMP215.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox