Hi there,
Welcome to the July 2022 issue of our pganalyze newsletter - we hope you've had a good month!
Today, one of our main focus points is Lock Monitoring. Lock Monitoring is an important aspect of operational best practices for Postgres, and you may also be familiar with "blocking sessions" from databases such as Oracle. We recently talked about the importance of lock monitoring and took a closer look at the most important things to know.
Behind the scenes, we've been working on a better way to represent lock information in the Connections view in pganalyze to help you quickly identify the root cause of active queries being blocked by a lock.
In this newsletter you will also find our latest 5mins of Postgres episodes as well as details around the new Enterprise Server release.
- - -
Upcoming Lock Monitoring feature in pganalyze
We've been busy working on new functionality that helps improve the reliability and overall operations of your Postgres database.
To start with, we've been developing a new Lock Monitoring feature that utilizes a combination of the pg_blocking_pids() function and pg_locks view in Postgres to give you details on which active queries are blocking other queries, including following a chain of pending lock requests. Note that this will be most helpful for an active ongoing production incident (or when reviewing such an incident after the fact), where you may have had to resort to complex queries from the Postgres wiki pages before.
We're not ready to share this new feature publicly just yet, but would be happy to hear from you if you have thoughts on this topic, or would like to try an early version.
- - -
New pganalyze Enterprise Server release (v2022.08.0)
We've had many requests for the new pganalyze Index Advisor and pganalyze Indexing Engine to be available for our Enterprise Server customers. The wait is over, and we're excited to share this new release with you. When upgrading, make sure to run the database migrations. You will find per-table index recommendations on the new "Index Advisor" page within 48 hours after upgrading.
Read the full pganalyze Enterprise Server v2022.08.0 release notes→
- - -
We are hiring a Postgres Solutions Engineer at pganalyze - join our team:
Are you or one of your peers interested in helping pganalyze customers make effective use of the Postgres observability and automatic tuning recommendations provided by pganalyze? The work involves having a deep understanding of Postgres itself, and being able to jump into the details to figure out how Postgres behaves in certain situations and to guide customers towards a comprehensive solution. You will also help showcase new functionalities added to the pganalyze product, such as developing demos for the new automatic indexing functionality provided by the pganalyze Indexing Engine. We also welcome referrals to someone you think could be a good fit:
Open position: Postgres Solutions Engineer→
- - -
5mins of Postgres - episodes from July: E25: Postgres lock monitoring, LWLocks and the log_lock_waits setting→ We talk about Postgres locking. When it is concerning, what lightweight locks are, as well as the log_lock_waits setting in Postgres.. (share this episode here)
E26: New in Postgres 15 - NULL handling in UNIQUE constraints & Parallel DISTINCT→ We walk through the new unique constraint NULLS NOT DISTINCT option, and the SELECT DISTINCT performance improvements in Postgres 15. (share this episode here)
E27: Waiting for Postgres 16 - Make subquery alias optional in FROM clause→ We talk about Postgres 16 removing the alias requirement for subqueries in FROM, enabling easier migrations from Oracle to Postgres. (share this episode here)
E28: Row Level Security in Postgres, security invoker views and why LEAKPROOF functions matter→ We're talking about Postgres Row Level Security, the BYPASSRLS attribute, security invoker views, and Postgres performance problems when using LEAKPROOF functions and Row Level Security policies. (share this episode here)
Subscribe to the pganalyze YouTube channel to stay up to date about our weekly videos→
- - -
Product changes in July:
- - -
As always, I'm happy to hear from you and am personally reading all of your responses. Looking forward to your thoughts!
Have a nice day! Lukas & the pganalyze team
PS: If you're interested in giving pganalyze a try you can learn more about it here. Of course, I'd be happy to walk you through a demo on a video call. You can book a 30 minute meeting with me here. Or, if you have general requests, feel free to get in touch with us here.
|