Sobes.tech
Middle+

Imagine a situation: a heavy analytical query SELECT COUNT(*) FROM large_table is executed in PostgreSQL. Will an index on the primary key help speed up this query? Why?