menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Databases

>

PostgreSQL...
source image

Dbi-Services

1M

read

408

img
dot

PostgreSQL: Indexes and casting

  • Casting one data type to another in PostgreSQL queries can affect index access.
  • Adding a cast to a query can disable index access and result in sequential scan.
  • To maintain index access when casting is required, create an index on the casted column.
  • This reminder emphasizes the importance of mindful use of casting in PostgreSQL queries.

Read Full Article

like

24 Likes

For uninterrupted reading, download the app