#postgresmarathon search results

#PostgresMarathon is back! Make sure you follow me so we could learn some good stuff about @PostgreSQL together. This time, I'll be doing it a bit differently: - I'll choose one big @PostgreSQL topic that I'll be covering over a week or two - Every day, I'll be posting bits of…


#PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement) 🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇 After 2-003, @ninjouz asked: > If fast-path locks are stored…

samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…

#PostgresMarathon 2-002 // I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…
samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

#PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18 In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments. At that…

samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…

(is this useful? continue?) #PostgresMarathon 093 # How to troubleshoot streaming replication lag Streaming replication in Postgres allows for continuous data replication from a primary server to standby servers, to ensure high availability and balance read-only workloads.…

samokhvalov's tweet image. (is this useful? continue?) #PostgresMarathon 093

# How to troubleshoot streaming replication lag
Streaming replication in Postgres allows for continuous data replication from a primary server to standby servers, to ensure high availability and balance read-only workloads.…

X doesn't let me post #PostgresMarathon 2-006 -- some bug blocks the piece I wrote. Going to post somehow else.


#PostgresMarathon 2-001 To warm up, let's talk about lightweight and heavyweight locks (or "regular locks" or just "locks"). I'm using these materials: - PG docs (first of all, postgresql.org/docs/current/e…) - LockManager source code – src/backend/storage/lmgr (and first of all,…


#PostgresMarathon day 91: How to format text output in psql scripts // catching up; happy holidays! For psql's "\echo" command, using colors and basic text formatting such as bold or underlined can be done through the use of ANSI color codes. This can be useful when building…

samokhvalov's tweet image. #PostgresMarathon day 91: How to format text output in psql scripts

// catching up; happy holidays!

For psql's "\echo" command, using colors and basic text formatting such as bold or underlined can be done through the use of ANSI color codes. This can be useful when building…

#PostgresMarathon 2-003: The roots of LWLock:LockManager As we discussed, Lock Manager manages heavyweight locks – various kinds of them (various modes, various levels of granularity). These locks are released only at the end of the transaction. In the most trivial case, when…


@samokhvalov #PostgresMarathon has filled my timeline with PostgreSQL and other db stuff, and I'm definitely not complaining!


#PostgresMarathon day 92: How to tune work_mem work_mem is used for sorting and hashing operations during query execution. By default it's 4MB. Due to its nature, the tuning of work_mem is quite tricky. One of the possible approaches is explained here. ## Rough tuning and…


#PostgresMarathon day 90: // catching up; happy holidays!


#PostgresMarathon day 89: Rough configuration tuning (80/20 rule; OLTP) The 80/20 rule (a.k.a. Pareto principle, en.wikipedia.org/wiki/Pareto_pr…) is often enough to achieve a good level of performance for OLTP workloads – it is recommended, in most cases, to start with this approach and…


Definitely have a look at the #PostgresMarathon series of tweets by: x.com/samokhvalov?t=…


X doesn't let me post #PostgresMarathon 2-006 -- some bug blocks the piece I wrote. Going to post somehow else.


#PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18 In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments. At that…

samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…

#PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement) 🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇 After 2-003, @ninjouz asked: > If fast-path locks are stored…

samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…

#PostgresMarathon 2-003: The roots of LWLock:LockManager As we discussed, Lock Manager manages heavyweight locks – various kinds of them (various modes, various levels of granularity). These locks are released only at the end of the transaction. In the most trivial case, when…


#PostgresMarathon 2-002 // I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…
samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

#PostgresMarathon 2-001 To warm up, let's talk about lightweight and heavyweight locks (or "regular locks" or just "locks"). I'm using these materials: - PG docs (first of all, postgresql.org/docs/current/e…) - LockManager source code – src/backend/storage/lmgr (and first of all,…


No results for "#postgresmarathon"

#PostgresMarathon 2-002 // I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…
samokhvalov's tweet image. #PostgresMarathon 2-002

// I'm in a very grumpy mood this Sunday evening, so expect me to be rattling about inconsistencies and docs confusion today – perhaps, I blame myself for pulling me to this marathon again, but I won't give up because something does tell me that marathon…

#PostgresMarathon day 81: How to plot graphs right in psql on macOS (iTerm2) If you, like me, work with Postgres mostly in psql, you might want to be able to plot a simple graph not leaving psql. The recipe below was originally described by Alexander Korotkov…

samokhvalov's tweet image. #PostgresMarathon day 81: How to plot graphs right in psql on macOS (iTerm2)

If you, like me, work with Postgres mostly in psql, you might want to be able to plot a simple graph not leaving psql.

The recipe below was originally described by Alexander Korotkov…

#PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement) 🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇 After 2-003, @ninjouz asked: > If fast-path locks are stored…

samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…
samokhvalov's tweet image. #PostgresMarathon 2-004: Fast-path locks explained (and the PG 18 improvement)

🖖 don't forget to subscribe & share! we'll be diving into various dark corners of Postgres and learn how to make it ludicrously fast 🎇

After 2-003, @ninjouz asked:
> If fast-path locks are stored…

(is this useful? continue?) #PostgresMarathon 093 # How to troubleshoot streaming replication lag Streaming replication in Postgres allows for continuous data replication from a primary server to standby servers, to ensure high availability and balance read-only workloads.…

samokhvalov's tweet image. (is this useful? continue?) #PostgresMarathon 093

# How to troubleshoot streaming replication lag
Streaming replication in Postgres allows for continuous data replication from a primary server to standby servers, to ensure high availability and balance read-only workloads.…

#PostgresMarathon day 67: Autovacuum "queue" and progress We know that in some cases, autovacuum settings (especially if they are default) need to be adjusted to keep up with the updates. One of the ways to understand that the existing settings are "not enough" is to compare…

samokhvalov's tweet image. #PostgresMarathon day 67: Autovacuum "queue" and progress

We know that in some cases, autovacuum settings (especially if they are default) need to be adjusted to keep up with the updates. One of the ways to understand that the existing settings are "not enough" is to compare…

📈 #PostgresMarathon tweets have impressed people 1M times already

samokhvalov's tweet image. 📈 #PostgresMarathon tweets have impressed people 1M times already

#PostgresMarathon day 73: How to analyze heavyweight locks, part 3. Persistent monitoring If a spike of active sessions ("pg_stat_activity", state='active') occurs along with a spike of exclusive locks ("pg_locks", mode ~* 'exclusive'), we need to analyze the blocked and…

samokhvalov's tweet image. #PostgresMarathon day 73: How to analyze heavyweight locks, part 3. Persistent monitoring

If a spike of active sessions ("pg_stat_activity", state='active') occurs along with a spike of exclusive locks ("pg_locks", mode ~* 'exclusive'), we need to analyze the blocked and…
samokhvalov's tweet image. #PostgresMarathon day 73: How to analyze heavyweight locks, part 3. Persistent monitoring

If a spike of active sessions ("pg_stat_activity", state='active') occurs along with a spike of exclusive locks ("pg_locks", mode ~* 'exclusive'), we need to analyze the blocked and…
samokhvalov's tweet image. #PostgresMarathon day 73: How to analyze heavyweight locks, part 3. Persistent monitoring

If a spike of active sessions ("pg_stat_activity", state='active') occurs along with a spike of exclusive locks ("pg_locks", mode ~* 'exclusive'), we need to analyze the blocked and…

#PostgresMarathon day 91: How to format text output in psql scripts // catching up; happy holidays! For psql's "\echo" command, using colors and basic text formatting such as bold or underlined can be done through the use of ANSI color codes. This can be useful when building…

samokhvalov's tweet image. #PostgresMarathon day 91: How to format text output in psql scripts

// catching up; happy holidays!

For psql's "\echo" command, using colors and basic text formatting such as bold or underlined can be done through the use of ANSI color codes. This can be useful when building…

#PostgresMarathon day 82: How to draw frost patterns using SQL ❄️ This original idea and implementation was done by Kirill Borovikov (kilor) – I just reformatted and slightly tuned it, extending the character set. Here is the query: with recursive t as ( select 0…

samokhvalov's tweet image. #PostgresMarathon day 82: How to draw frost patterns using SQL ❄️

This original idea and implementation was done by Kirill Borovikov (kilor) – I just reformatted and slightly tuned it, extending the character set.

Here is the query:

  with recursive t as (
    select
      0…
samokhvalov's tweet image. #PostgresMarathon day 82: How to draw frost patterns using SQL ❄️

This original idea and implementation was done by Kirill Borovikov (kilor) – I just reformatted and slightly tuned it, extending the character set.

Here is the query:

  with recursive t as (
    select
      0…
samokhvalov's tweet image. #PostgresMarathon day 82: How to draw frost patterns using SQL ❄️

This original idea and implementation was done by Kirill Borovikov (kilor) – I just reformatted and slightly tuned it, extending the character set.

Here is the query:

  with recursive t as (
    select
      0…

#PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18 In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments. At that…

samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…
samokhvalov's tweet image. #PostgresMarathon 2-005 More LWLock:LockManager benchmarks for Postgres 18

In 2023-2024, after incidents that multiple customers of PostgresAI experienced, when production nodes were down because of LWLock:LockManager contention, we studied it in synthetic environments.

At that…

Loading...

Something went wrong.


Something went wrong.


United States Trends