79137944

Date: 2024-10-29 15:45:38
Score: 3.5
Natty:
Report link

When working with a large number of elements in an Array, PostgreSQL uses a bitmap heap scan. To leverage the primary key index instead, provide the values directly rather than using an Array.

For more information read this article:https://www.datadoghq.com/blog/100x-faster-postgres-performance-by-changing-1-line/

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Advaith s