6 февр. 2017 г., в 4:57, Peter Geoghegan <pg@bowt.ie> написал(а):
I meant that I find the fact that there were no user reports in all these years to be a good reason to not proceed for now in this instance.
Well, we had some strange situations with indexes (see below for example) but I couldn’t even think that CIC is the problem.
And it is really difficult to give diagnostics for problems of such kind. Because 1. you may see the problem several days after last major change in the database and 2. you don’t even know how to start investigating the problem.
xdb314g/maildb M # show enable_indexscan ;
enable_indexscan
------------------
off
(1 row)
Time: 0.120 ms
xdb314g/maildb M # select * from mail.folders where uid=448300241 and fid=1;
-[ RECORD 1 ]---+------------------------------
uid | 448300241
fid | 1
<...>
Time: 30398.637 ms
xdb314g/maildb M # set enable_indexscan to true;
SET
Time: 0.111 ms
xdb314g/maildb M # select * from mail.folders where uid=448300241 and fid=1;