zlacker

[parent] [thread] 2 comments
1. ezekie+(OP)[view] [source] 2023-09-25 06:37:03
>> I simply conducted a small experiment and PG analyze clearly showed a missing index in one of the key tables.

Based on this sentence, I interpreted that part as representing that the engineers did not believe the missing index was causing the problem (until the experiment was run).

replies(1): >>zacksi+C
2. zacksi+C[view] [source] 2023-09-25 06:44:20
>>ezekie+(OP)
Yes, one of the theory was that the index wasn't the problem because there was already a multi column index on that particular column. However the PG analyze tool showed some particular query didn't utilize the index, so there needed to be a separate index just for that particular column.
replies(1): >>sgarla+aI
◧◩
3. sgarla+aI[view] [source] [discussion] 2023-09-25 12:58:53
>>zacksi+C
The number of reasons why an RDBMS - especially Postgres - can choose to not use an index is wide. Sometimes it’s your fault, sometimes it’s the table statistics fault.

Good on you for actually empirically determining reality.

[go to top]