<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I just downloaded qgis 3.16.1 (win64) and installed it next to my existing qgis 3.10.4<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I went ahead and did some work in DB manager and immediately notices a slow response. Simple select queries which take about 0.004 sec in qgis3.10.4 now take .4 sec in qgis 3.16.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Also, when viewing data in the table-tab in DB manager something weird happens: data gets repeated. The primary key column (gid) should contain and does contain unique values. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>However, in the table-tab view some rows are repeated, so for instance, row 106 shows gid = 101 and the corresponding values for the other columns. Then, scrolling down row 206 also shows gid = 101 and the corresponding values for the other columns (corresponding tot gid=101)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>This example containing row 106 and 206 is just a coincidence, it is not that it repeats after 100 rows. Multiple rows are copied, just by scrolling up and down I notice several different gid values being copied.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Furthermore the result is consistent  when closing qgis and reopening it. Select the same table and it is again row 106 and row 206 that will show gid = 101<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Doing the same in qgis 3.10.4 does not show this error. In qgis 3.10.4 row 106 shows gid = 101 and row 206 shows gid = 205<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>So there seems to be something going on with db manager and qgis3.16.1, but I have no idea what it could be.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Kind regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Jeroen<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>